Documentation
¶
Overview ¶
Package controller contains the cluster stack controllers.
Index ¶
- type ClusterAddonCreateReconciler
- type ClusterAddonReconciler
- type ClusterStackReconciler
- func (*ClusterStackReconciler) ClusterStackReleaseToClusterStack(ctx context.Context) handler.MapFunc
- func (r *ClusterStackReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)
- func (r *ClusterStackReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
- type ClusterStackReleaseReconciler
- type RestConfigSettings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterAddonCreateReconciler ¶
ClusterAddonCreateReconciler reconciles a Cluster object.
func (*ClusterAddonCreateReconciler) Reconcile ¶
func (r *ClusterAddonCreateReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)
Reconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ClusterAddonCreateReconciler) SetupWithManager ¶
func (r *ClusterAddonCreateReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ClusterAddonReconciler ¶
type ClusterAddonReconciler struct { client.Client RestConfigSettings ReleaseDirectory string KubeClientFactory kube.Factory AssetsClientFactory assetsclient.Factory WatchFilterValue string WorkloadClusterFactory workloadcluster.Factory // contains filtered or unexported fields }
ClusterAddonReconciler reconciles a ClusterAddon object.
func (*ClusterAddonReconciler) Reconcile ¶
func (r *ClusterAddonReconciler) Reconcile(ctx context.Context, req reconcile.Request) (res reconcile.Result, reterr error)
Reconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ClusterAddonReconciler) SetupWithManager ¶
func (r *ClusterAddonReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ClusterStackReconciler ¶
type ClusterStackReconciler struct { client.Client AssetsClientFactory assetsclient.Factory ReleaseDirectory string WatchFilterValue string }
ClusterStackReconciler reconciles a ClusterStack object.
func (*ClusterStackReconciler) ClusterStackReleaseToClusterStack ¶
func (*ClusterStackReconciler) ClusterStackReleaseToClusterStack(ctx context.Context) handler.MapFunc
ClusterStackReleaseToClusterStack is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation for ClusterStacks that might get updated by changes in ClusterStackReleases.
func (*ClusterStackReconciler) Reconcile ¶
func (r *ClusterStackReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the ClusterStack closer to the desired state.
func (*ClusterStackReconciler) SetupWithManager ¶
func (r *ClusterStackReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type ClusterStackReleaseReconciler ¶
type ClusterStackReleaseReconciler struct { client.Client RESTConfig *rest.Config ReleaseDirectory string KubeClientFactory kube.Factory AssetsClientFactory assetsclient.Factory WatchFilterValue string // contains filtered or unexported fields }
ClusterStackReleaseReconciler reconciles a ClusterStackRelease object.
func (*ClusterStackReleaseReconciler) Reconcile ¶
func (r *ClusterStackReleaseReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
func (*ClusterStackReleaseReconciler) SetupWithManager ¶
func (r *ClusterStackReleaseReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error
SetupWithManager sets up the controller with the Manager.
type RestConfigSettings ¶
RestConfigSettings contains Kubernetes rest config settings.