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.29.0-alpha.0
Published
Jul 26, 2023
Platform
js/wasm
Imports
4 packages
Last checked
1 hour ago

Tools for package owners.