Documentation ¶
Index ¶
- Variables
- type ClusterResourceSetBindingReconciler
- type ClusterResourceSetReconciler
- func (r *ClusterResourceSetReconciler) ApplyClusterResourceSet(ctx context.Context, cluster *clusterv1.Cluster, ...) error
- func (r *ClusterResourceSetReconciler) Reconcile(req ctrl.Request) (_ ctrl.Result, reterr error)
- func (r *ClusterResourceSetReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
Constants ¶
This section is empty.
Variables ¶
var (
ErrSecretTypeNotSupported = errors.New("unsupported secret type")
)
Functions ¶
This section is empty.
Types ¶
type ClusterResourceSetBindingReconciler ¶ added in v0.3.8
ClusterResourceSetBindingReconciler reconciles a ClusterResourceSetBinding object
func (*ClusterResourceSetBindingReconciler) SetupWithManager ¶ added in v0.3.8
func (r *ClusterResourceSetBindingReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error
type ClusterResourceSetReconciler ¶
type ClusterResourceSetReconciler struct { Client client.Client Log logr.Logger Tracker *remote.ClusterCacheTracker // contains filtered or unexported fields }
ClusterResourceSetReconciler reconciles a ClusterResourceSet object
func (*ClusterResourceSetReconciler) ApplyClusterResourceSet ¶
func (r *ClusterResourceSetReconciler) ApplyClusterResourceSet(ctx context.Context, cluster *clusterv1.Cluster, clusterResourceSet *addonsv1.ClusterResourceSet) error
ApplyClusterResourceSet applies resources in a ClusterResourceSet to a Cluster. Once applied, a record will be added to the cluster's ClusterResourceSetBinding. In ApplyOnce strategy, resources are applied only once to a particular cluster. ClusterResourceSetBinding is used to check if a resource is applied before. It applies resources best effort and continue on scenarios like: unsupported resource types, failure during creation, missing resources. TODO: If a resource already exists in the cluster but not applied by ClusterResourceSet, the resource will be updated ?
func (*ClusterResourceSetReconciler) SetupWithManager ¶
func (r *ClusterResourceSetReconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error