Documentation
¶
Index ¶
- Constants
- type Reconciler
- func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *Reconciler) ReconcileClusterRoleBinding(ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request) error
- func (r *Reconciler) ReconcileConfigMap(ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request) error
- func (r *Reconciler) ReconcileDeployment(ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request) error
- func (r *Reconciler) ReconcileServiceAccount(ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request) error
- func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
View Source
const ( CreatedByLabel = "app.kubernetes.io/created-by" CreatedByControllerLabelValue = "kube-trigger-manager" ComponentLabel = "app.kubernetes.io/component" ComponentLabelValue = "kube-trigger" // VersionLabel is controller version that created this pod. VersionLabel = "app.kubernetes.io/version" // NameLabel is to store name of the crd. NameLabel = "app.kubernetes.io/name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
Reconciler reconciles a TriggerInstance object.
func (*Reconciler) ReconcileClusterRoleBinding ¶
func (r *Reconciler) ReconcileClusterRoleBinding( ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request, ) error
func (*Reconciler) ReconcileConfigMap ¶
func (r *Reconciler) ReconcileConfigMap( ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request, ) error
func (*Reconciler) ReconcileDeployment ¶
func (r *Reconciler) ReconcileDeployment( ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request, ) error
func (*Reconciler) ReconcileServiceAccount ¶
func (r *Reconciler) ReconcileServiceAccount( ctx context.Context, ki *standardv1alpha1.TriggerInstance, req ctrl.Request, ) error
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.