Documentation ¶
Index ¶
- func AkoAddonSecretDataYaml(cluster *clusterv1.Cluster, obj *akoov1alpha1.AKODeploymentConfig, ...) (string, error)
- func GetFakeRemoteClient(_ context.Context, _ string, _ client.Client, _ client.ObjectKey) (client.Client, error)
- type ClusterReconciler
- func (r *ClusterReconciler) GetAKOPackageRefName(ctx context.Context, log logr.Logger, cb *runv1alpha3.ClusterBootstrap) (string, error)
- func (r *ClusterReconciler) GetAKOPackageRefNameFromTKR(log logr.Logger, tkr *runv1alpha3.TanzuKubernetesRelease) (string, error)
- func (r *ClusterReconciler) ReconcileAddonSecret(ctx context.Context, log logr.Logger, cluster *clusterv1.Cluster, ...) (ctrl.Result, error)
- func (r *ClusterReconciler) ReconcileAddonSecretDelete(ctx context.Context, log logr.Logger, cluster *clusterv1.Cluster, ...) (ctrl.Result, error)
- func (r *ClusterReconciler) ReconcileDelete(ctx context.Context, log logr.Logger, cluster *clusterv1.Cluster, ...) (ctrl.Result, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AkoAddonSecretDataYaml ¶
func AkoAddonSecretDataYaml(cluster *clusterv1.Cluster, obj *akoov1alpha1.AKODeploymentConfig, aviUsersecret *corev1.Secret) (string, error)
Types ¶
type ClusterReconciler ¶
type ClusterReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme GetRemoteClient remote.ClusterClientGetter }
func NewReconciler ¶
NewReconciler initializes a ClusterReconciler
func (*ClusterReconciler) GetAKOPackageRefName ¶ added in v1.7.0
func (r *ClusterReconciler) GetAKOPackageRefName(ctx context.Context, log logr.Logger, cb *runv1alpha3.ClusterBootstrap) (string, error)
func (*ClusterReconciler) GetAKOPackageRefNameFromTKR ¶ added in v1.7.0
func (r *ClusterReconciler) GetAKOPackageRefNameFromTKR(log logr.Logger, tkr *runv1alpha3.TanzuKubernetesRelease) (string, error)
func (*ClusterReconciler) ReconcileAddonSecret ¶
func (r *ClusterReconciler) ReconcileAddonSecret( ctx context.Context, log logr.Logger, cluster *clusterv1.Cluster, obj *akoov1alpha1.AKODeploymentConfig, ) (ctrl.Result, error)
func (*ClusterReconciler) ReconcileAddonSecretDelete ¶
func (r *ClusterReconciler) ReconcileAddonSecretDelete( ctx context.Context, log logr.Logger, cluster *clusterv1.Cluster, _ *akoov1alpha1.AKODeploymentConfig, ) (ctrl.Result, error)
func (*ClusterReconciler) ReconcileDelete ¶
func (r *ClusterReconciler) ReconcileDelete( ctx context.Context, log logr.Logger, cluster *clusterv1.Cluster, _ *akoov1alpha1.AKODeploymentConfig, ) (ctrl.Result, error)
ReconcileDelete removes the finalizer on Cluster once AKO finishes its cleanup work
Click to show internal directories.
Click to hide internal directories.