config

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enabled

func Enabled() bool

Enabled get the singleton config instance's enabled

func Get

func Get() *config

Get get the singleton config instance

func GetExcludeNamespaces

func GetExcludeNamespaces() []string

GetExcludeNamespaces get the singleton config instance's excludeNamespaces

func GetIncludeNamespaces

func GetIncludeNamespaces() []string

GetIncludeNamespaces get the singleton config instance's includeNamespaces

func GetProxies

func GetProxies() map[string]string

GetProxies get the singleton config instance's proxies

func NamespaceSelector added in v1.2.1

func NamespaceSelector() labels.Set

NamespaceSelector get the singleton config instance's namespace selector

func PodSelector added in v1.2.1

func PodSelector() labels.Set

PodSelector get the singleton config instance's pod selector

func Reset

func Reset(in []byte)

Reset reset the singleton config instance. If in is empty, reset to default config

Types

This section is empty.

Jump to

Keyboard shortcuts

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