component-basek8s.io/component-base/logs/datapol Index | Files

package datapol

import "k8s.io/component-base/logs/datapol"

Package datapol contains functions to determine if objects contain sensitive data to e.g. make decisions on whether to log them or not.

Index

Functions

func GlobalDatapolicyMapping

func GlobalDatapolicyMapping(v interface{}) []string

GlobalDatapolicyMapping returns the list of sensitive datatypes are embedded in types not native to Kubernetes.

func Verify

func Verify(value interface{}) []string

Verify returns a list of the datatypes contained in the argument that can be considered sensitive w.r.t. to logging

Source Files

datapol.go externaltypes.go

Version
v0.33.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
57 minutes ago

Tools for package owners.