Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNamespaceSelector ¶
ParseNamespaceSelector parses a namespace selector string into a labels.Selector. Returns nil if the selector is empty, which means all namespaces will be watched.
Types ¶
type Config ¶
type Config struct {
Address string
Authentication bool
BearerToken string
TenantId string
// SilenceSelector is used to filter silences based on label selectors.
SilenceSelector labels.Selector
// NamespaceSelector is used to restrict which namespaces the v2 controller watches.
// If nil, the controller will watch all namespaces.
NamespaceSelector labels.Selector
}
Config struct holds all the configuration for the operator.
Click to show internal directories.
Click to hide internal directories.