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.29.7
- Published
- Jul 17, 2024
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 21 minutes ago –
Tools for package owners.