{"modulePath":"github.com/SovereignCloudStack/cluster-stack-operator","version":"v0.2.0-alpha.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package controller\n\nPackage controller contains the cluster stack controllers.\n\n## Types\n\n```go\ntype ClusterAddonCreateReconciler struct {\n\tclient.Client\n\tWatchFilterValue string\n}\n```\nClusterAddonCreateReconciler reconciles a Cluster object.\n\n```go\nfunc (r *ClusterAddonCreateReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)\n```\nReconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.\n\n```go\nfunc (r *ClusterAddonCreateReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\nSetupWithManager sets up the controller with the Manager.\n\n```go\ntype ClusterAddonReconciler struct {\n\tclient.Client\n\tRestConfigSettings\n\tReleaseDirectory       string\n\tKubeClientFactory      kube.Factory\n\tAssetsClientFactory    assetsclient.Factory\n\tWatchFilterValue       string\n\tWorkloadClusterFactory workloadcluster.Factory\n\t// contains filtered or unexported fields\n}\n```\nClusterAddonReconciler reconciles a ClusterAddon object.\n\n```go\nfunc (r *ClusterAddonReconciler) Reconcile(ctx context.Context, req reconcile.Request) (res reconcile.Result, reterr error)\n```\nReconcile is part of the main Kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.\n\n```go\nfunc (r *ClusterAddonReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\nSetupWithManager sets up the controller with the Manager.\n\n```go\ntype ClusterStackReconciler struct {\n\tclient.Client\n\tAssetsClientFactory assetsclient.Factory\n\tReleaseDirectory    string\n\tWatchFilterValue    string\n}\n```\nClusterStackReconciler reconciles a ClusterStack object.\n\n```go\nfunc (*ClusterStackReconciler) ClusterStackReleaseToClusterStack(ctx context.Context) handler.MapFunc\n```\nClusterStackReleaseToClusterStack is a handler.ToRequestsFunc to be used to enqueue requests for reconciliation for ClusterStacks that might get updated by changes in ClusterStackReleases.\n\n```go\nfunc (r *ClusterStackReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)\n```\nReconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the ClusterStack closer to the desired state.\n\n```go\nfunc (r *ClusterStackReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\nSetupWithManager sets up the controller with the Manager.\n\n```go\ntype ClusterStackReleaseReconciler struct {\n\tclient.Client\n\tRESTConfig          *rest.Config\n\tReleaseDirectory    string\n\tKubeClientFactory   kube.Factory\n\tAssetsClientFactory assetsclient.Factory\n\n\tWatchFilterValue string\n\t// contains filtered or unexported fields\n}\n```\nClusterStackReleaseReconciler reconciles a ClusterStackRelease object.\n\n```go\nfunc (r *ClusterStackReleaseReconciler) Reconcile(ctx context.Context, req reconcile.Request) (_ reconcile.Result, reterr error)\n```\nReconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.\n\n```go\nfunc (r *ClusterStackReleaseReconciler) SetupWithManager(ctx context.Context, mgr ctrl.Manager, options controller.Options) error\n```\nSetupWithManager sets up the controller with the Manager.\n\n```go\ntype RestConfigSettings struct {\n\tQPS   float32\n\tBurst int\n}\n```\nRestConfigSettings contains Kubernetes rest config settings.\n\n","path":"github.com/SovereignCloudStack/cluster-stack-operator/internal/controller","name":"controller","synopsis":"Package controller contains the cluster stack controllers.","isRedistributable":true}
