agent

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Targets []Target
}

func NewFromCRD added in v0.10.0

func NewFromCRD(ctx context.Context) Config

until we watch targets at runtime, we can already load them from objects at startup

func (Config) GetKnownFinalizers added in v0.15.0

func (c Config) GetKnownFinalizers() []string

func (Config) GetKnownFinalizersByNamespace added in v0.15.0

func (c Config) GetKnownFinalizersByNamespace() map[string][]string

type Target added in v0.10.0

type Target struct {
	Name                 string
	ClientConfig         *rest.Config
	Self                 bool // optimization to re-use clients, informers, etc.
	Namespace            string
	ExcludedLabelsRegexp *string
	VirtualNodeName      string
	Finalizer            string
}

Jump to

Keyboard shortcuts

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