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

package sanitization

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

Index

Types

type SanitizingFilter

type SanitizingFilter struct{}

SanitizingFilter implements the LogFilter interface from klog with a set of functions that inspects the arguments with the datapol library

func (*SanitizingFilter) Filter

func (sf *SanitizingFilter) Filter(args []interface{}) []interface{}

Filter is the filter function for the non-formatting logging functions of klog.

func (*SanitizingFilter) FilterF

func (sf *SanitizingFilter) FilterF(fmt string, args []interface{}) (string, []interface{})

FilterF is the filter function for the formatting logging functions of klog

func (*SanitizingFilter) FilterS

func (sf *SanitizingFilter) FilterS(msg string, keysAndValues []interface{}) (string, []interface{})

FilterS is the filter for the structured logging functions of klog.

Source Files

sanitization.go

Version
v0.20.0-rc.0
Published
Dec 2, 2020
Platform
js/wasm
Imports
2 packages
Last checked
5 minutes ago

Tools for package owners.