agent

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 12 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

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
}

func (Target) GetKey added in v0.10.0

func (t Target) GetKey() string

Jump to

Keyboard shortcuts

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