Documentation ¶
Index ¶
- func AddFinalizer(object metav1.Object, finalizer string)
- func CheckClusterDeployment(request reconcile.Request, client client.Client, reqLogger logr.Logger) (bool, *hivev1.ClusterDeployment, error)
- func DeleteFinalizer(object metav1.Object, finalizer string)
- func DeleteRefSecret(name string, namespace string, client client.Client) error
- func DeleteSyncSet(name string, namespace string, client client.Client) error
- func HasFinalizer(object metav1.Object, finalizer string) bool
- func LoadSecretData(c client.Client, secretName, namespace, dataKey string) (string, error)
- func SecretName(clusterName, optionalPostFix string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFinalizer ¶
AddFinalizer adds a finalizer to the given object
func CheckClusterDeployment ¶
func CheckClusterDeployment(request reconcile.Request, client client.Client, reqLogger logr.Logger) (bool, *hivev1.ClusterDeployment, error)
CheckClusterDeployment returns true if the ClusterDeployment is watched by this operator
func DeleteFinalizer ¶
DeleteFinalizer removes a finalizer from the given object
func DeleteRefSecret ¶
DeleteRefSecret deletes Secret which referenced by SyncSet
func DeleteSyncSet ¶
DeleteSyncSet deletes a SyncSet
func HasFinalizer ¶
HasFinalizer returns true if the given object has the given finalizer
func LoadSecretData ¶
LoadSecretData loads a given secret key and returns its data as a string.
func SecretName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.