...

Package datapol

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

Overview ▾

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

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