Documentation
¶
Overview ¶
Package controller contains the cluster stack controllers.
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterStackReconciler ¶
type ClusterStackReconciler struct {
client.Client
GitHubClientFactory githubclient.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
GitHubClientFactory githubclient.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.