Documentation ¶
Index ¶
Constants ¶
View Source
const (
Finalizer = "unleasherator.nais.io/finalizer"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiTokenReconciler ¶
type ApiTokenReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder OperatorNamespace string // ApiTokenNameSuffix is the suffix used for the ApiToken names // in order to avoid name collisions when multiple clusters are // using the same Unleash instance. ApiTokenNameSuffix string // ApiTokenUpdateEnabled enables updating tokens in Unleash since // tokens in Unleash are immutable. This is a feature flag that // can be enabled in the operator config. ApiTokenUpdateEnabled bool Tracer trace.Tracer }
ApiTokenReconciler reconciles a ApiToken object
func (*ApiTokenReconciler) SetupWithManager ¶
func (r *ApiTokenReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RemoteUnleashFederation ¶
type RemoteUnleashFederation struct { Enabled bool ClusterName string Subscriber federation.Subscriber }
type RemoteUnleashReconciler ¶
type RemoteUnleashReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder OperatorNamespace string Timeout config.TimeoutConfig Federation RemoteUnleashFederation Tracer trace.Tracer }
RemoteUnleashReconciler reconciles a RemoteUnleash object
func (*RemoteUnleashReconciler) FederationSubscribe ¶
func (r *RemoteUnleashReconciler) FederationSubscribe(ctx context.Context) error
func (*RemoteUnleashReconciler) SetupWithManager ¶
func (r *RemoteUnleashReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UnleashFederation ¶
type UnleashFederation struct { Enabled bool Publisher federation.Publisher }
type UnleashReconciler ¶
type UnleashReconciler struct { client.Client Scheme *runtime.Scheme Recorder record.EventRecorder OperatorNamespace string Federation UnleashFederation Tracer trace.Tracer }
UnleashReconciler reconciles a Unleash object
func (*UnleashReconciler) SetupWithManager ¶
func (r *UnleashReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.