Versions in this module Expand all Collapse all v5 v5.0.0 May 25, 2021 Changes in this version + const DefaultResyncPeriod + const DisableMetricsServing + const PrometheusNamespace + const PrometheusSubsystem + func IsExecutionFailed(err error) bool + func IsInvalidConfig(err error) bool + func IsNoResourceSet(err error) bool + func IsPortforward(err error) bool + func IsStatusForbidden(err error) bool + func IsTooManyResourceSets(err error) bool + type Config struct + InitCtx func(ctx context.Context, obj interface{}) (context.Context, error) + K8sClient k8sclient.Interface + Logger micrologger.Logger + Name string + Namespace string + NewRuntimeObjectFunc func() pkgruntime.Object + Pause map[string]string + Resources []resource.Interface + ResyncPeriod time.Duration + Selector labels.Selector + SentryDSN string + SentryTags map[string]string + type Controller struct + func New(config Config) (*Controller, error) + func (c *Controller) Boot(ctx context.Context) + func (c *Controller) Booted() chan struct{} + func (c *Controller) Reconcile(req reconcile.Request) (reconcile.Result, error) + func (c *Controller) Stop(ctx context.Context) Other modules containing this package github.com/giantswarm/operatorkit/v2 github.com/giantswarm/operatorkit/v4 github.com/giantswarm/operatorkit/v6 github.com/giantswarm/operatorkit/v7 github.com/giantswarm/operatorkit/v8