configuration

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeConsoleLogger

func InitializeConsoleLogger() *zap.Logger

Types

type Parameters

type Parameters struct {
	K8sClient     client.Client
	ClientSet     *kubernetes.Clientset
	Logger        *zap.Logger
	Namespaces    sets.Set[string]
	ClusterScope  bool
	AllNamespaces bool
}

func NewParams

func NewParams(ctx context.Context, kubeconfigPath string, namespaces []string, allNamespaces,
	clusterScope bool,
) (*Parameters, error)

func (*Parameters) ValidateNamespaces

func (p *Parameters) ValidateNamespaces(ctx context.Context, namespaces []string) error

Jump to

Keyboard shortcuts

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