Documentation ¶
Index ¶
- Constants
- func Ignore(is ErrorIs, err error) error
- func IgnoreNotFound(err error) error
- func SetupConfigurePort(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, ...) (string, chan cevent.GenericEvent, error)
- func SetupRegistration(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, ...) error
- type ErrorIs
Constants ¶
View Source
const (
// RegistrationFinalizer defines the finalizer for Registration
RegistrationFinalizer = "Registration.srosndd.yndd.io"
)
Variables ¶
This section is empty.
Functions ¶
func Ignore ¶
Ignore any errors that satisfy the supplied ErrorIs function by returning nil. Errors that do not satisfy the supplied function are returned unmodified.
func IgnoreNotFound ¶
IgnoreNotFound returns the supplied error, or nil if the error indicates a Kubernetes resource was not found.
func SetupConfigurePort ¶
func SetupConfigurePort(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string) (string, chan cevent.GenericEvent, error)
SetupConfigurePort adds a controller that reconciles ConfigurePorts.
func SetupRegistration ¶
func SetupRegistration(mgr ctrl.Manager, o controller.Options, l logging.Logger, poll time.Duration, namespace string, subChan chan collector.TargetUpdate) error
SetupRegistration adds a controller that reconciles Registrations.
Types ¶
Click to show internal directories.
Click to hide internal directories.