Documentation ¶ Index ¶ type Config func NewFromCRD(ctx context.Context) Config type Target func (t Target) GetKey() string 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 ExcludedLabelsRegexp *string } func (Target) GetKey ¶ added in v0.10.0 func (t Target) GetKey() string Source Files ¶ View all Source files agent.go Click to show internal directories. Click to hide internal directories.