Documentation ¶
Index ¶
- func New(mgr manager.Manager) error
- func NewAddonController(mgr manager.Manager, dynClient dynamic.Interface, ...) (controller.Controller, error)
- func NewWFController(mgr manager.Manager, dynClient dynamic.Interface, ...) error
- func ObserveCronJob(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- func ObserveDaemonSet(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- func ObserveDeployment(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- func ObserveJob(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- func ObserveNamespace(cli client.Client, name string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- func ObserveReplicaSet(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- func ObserveService(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- func ObserveStatefulSet(cli client.Client, name string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
- type AddonReconciler
- func (r *AddonReconciler) Finalize(ctx context.Context, addon *addonmgrv1alpha1.Addon, ...) error
- func (r *AddonReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *AddonReconciler) SetFinalizer(ctx context.Context, addon *addonmgrv1alpha1.Addon, finalizerName string) error
- type WorkflowReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAddonController ¶ added in v0.5.2
func NewAddonController(mgr manager.Manager, dynClient dynamic.Interface, wfInf cache.SharedIndexInformer, versionCache addon.VersionCacheClient, addonUpdater *addon.AddonUpdater) (controller.Controller, error)
func NewWFController ¶ added in v0.5.1
func ObserveCronJob ¶ added in v0.5.0
func ObserveCronJob(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
func ObserveDaemonSet ¶ added in v0.5.0
func ObserveDaemonSet(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
func ObserveDeployment ¶ added in v0.5.0
func ObserveDeployment(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
func ObserveJob ¶ added in v0.5.0
func ObserveJob(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
func ObserveNamespace ¶ added in v0.5.0
func ObserveNamespace(cli client.Client, name string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
func ObserveReplicaSet ¶ added in v0.5.0
func ObserveReplicaSet(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
func ObserveService ¶ added in v0.5.0
func ObserveService(cli client.Client, namespace string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
func ObserveStatefulSet ¶ added in v0.5.0
func ObserveStatefulSet(cli client.Client, name string, selector labels.Selector) ([]addonmgrv1alpha1.ObjectStatus, error)
Types ¶
type AddonReconciler ¶
type AddonReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme // contains filtered or unexported fields }
AddonReconciler reconciles a Addon object
func NewAddonReconciler ¶
func NewAddonReconciler(mgr manager.Manager, dynClient dynamic.Interface, wfInf cache.SharedIndexInformer, versionCache addon.VersionCacheClient, addonUpdater *addon.AddonUpdater) *AddonReconciler
NewAddonReconciler returns an instance of AddonReconciler
func (*AddonReconciler) Finalize ¶
func (r *AddonReconciler) Finalize(ctx context.Context, addon *addonmgrv1alpha1.Addon, wfl workflows.AddonLifecycle, finalizerName string) error
Finalize runs finalizer for addon
func (*AddonReconciler) SetFinalizer ¶
func (r *AddonReconciler) SetFinalizer(ctx context.Context, addon *addonmgrv1alpha1.Addon, finalizerName string) error
SetFinalizer adds finalizer to addon instances
Click to show internal directories.
Click to hide internal directories.