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, reqLogger logr.Logger) error
- func DeleteSyncSet(name string, namespace string, client client.Client, reqLogger logr.Logger) error
- func GetHashOfPullSecret(data string) string
- func HasFinalizer(object metav1.Object, finalizer string) bool
- func LoadSecretData(c client.Client, secretName, namespace, dataKey string) (string, error)
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 ¶
func DeleteRefSecret(name string, namespace string, client client.Client, reqLogger logr.Logger) error
DeleteRefSecret deletes Secret which referenced by SyncSet
func DeleteSyncSet ¶
func DeleteSyncSet(name string, namespace string, client client.Client, reqLogger logr.Logger) error
DeleteSyncSet deletes a SyncSet
func GetHashOfPullSecret ¶
GetHashOfPullSecret returns md5 sum of a string
func HasFinalizer ¶
HasFinalizer returns true if the given object has the given finalizer
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.