Documentation
¶
Index ¶
- Constants
- func AkoAddonSecretDataYaml(cluster *clusterv1.Cluster, obj *akoov1alpha1.AKODeploymentConfig, ...) (string, error)
- func GetFakeRemoteClient(_ context.Context, _ string, _ client.Client, _ client.ObjectKey) (client.Client, error)
- func ValidateClusterIpFamily(cluster *clusterv1.Cluster, adc *akoov1alpha1.AKODeploymentConfig, ...) 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 ¶
View Source
const ( IPv4IpFamily = "V4" IPv6IpFamily = "V6" DualStackIPv6Primary = "V6,V4" DualStackIPv4Primary = "V4,V6" )
Variables ¶
This section is empty.
Functions ¶
func AkoAddonSecretDataYaml ¶
func AkoAddonSecretDataYaml(cluster *clusterv1.Cluster, obj *akoov1alpha1.AKODeploymentConfig, aviUsersecret *corev1.Secret) (string, error)
func GetFakeRemoteClient ¶
func ValidateClusterIpFamily ¶
func ValidateClusterIpFamily(cluster *clusterv1.Cluster, adc *akoov1alpha1.AKODeploymentConfig, isVIPProvider bool, log logr.Logger) 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 ¶
func (r *ClusterReconciler) GetAKOPackageRefName(ctx context.Context, log logr.Logger, cb *runv1alpha3.ClusterBootstrap) (string, error)
func (*ClusterReconciler) GetAKOPackageRefNameFromTKR ¶
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.