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.21.0
Published
Apr 8, 2021
Platform
js/wasm
Imports
4 packages
Last checked
33 minutes ago

Tools for package owners.