app

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 42 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Complete

func Complete(o *options.ProxyRunOptions) (*completedProxyRunOptions, error)

func NewKubeRBACProxyCommand

func NewKubeRBACProxyCommand() *cobra.Command

func Run

func Run(cfg *completedProxyRunOptions) error

Types

type SanitizingFilter added in v0.18.2

type SanitizingFilter struct{}

SanitizingFilter implements the LogFilter interface from klog with custom functions to detect and mask tokens.

func (*SanitizingFilter) Filter added in v0.18.2

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

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

func (*SanitizingFilter) FilterF added in v0.18.2

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

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

func (*SanitizingFilter) FilterS added in v0.18.2

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL