Documentation ¶
Index ¶
- func FetchBackupCR(name, namespace string, client client.Client) (*v1alpha1.Backup, error)
- func FetchConfigMap(name, namespace string, client client.Client) (*corev1.ConfigMap, error)
- func FetchCronJob(name, namespace string, client client.Client) (*v1beta1.CronJob, error)
- func FetchDatabaseCR(name, namespace string, client client.Client) (*v1alpha1.Database, error)
- func FetchDatabasePod(bkp *v1alpha1.Backup, db *v1alpha1.Database, client client.Client) (*corev1.Pod, error)
- func FetchDatabaseService(bkp *v1alpha1.Backup, db *v1alpha1.Database, client client.Client) (*corev1.Service, error)
- func FetchDeployment(name, namespace string, client client.Client) (*appsv1.Deployment, error)
- func FetchPersistentVolumeClaim(name, namespace string, client client.Client) (*corev1.PersistentVolumeClaim, error)
- func FetchSecret(namespace, name string, client client.Client) (*corev1.Secret, error)
- func FetchService(name, namespace string, client client.Client) (*corev1.Service, error)
- func Watch(c controller.Controller, obj runtime.Object, isConttroller bool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchBackupCR ¶
func FetchConfigMap ¶
FetchSecret returns the ConfigMap resource with the name in the namespace
func FetchCronJob ¶
FetchCronJob returns the CronJob resource with the name in the namespace
func FetchDatabaseCR ¶
Request object not found, could have been deleted after reconcile request. Owned objects are automatically garbage collected. For additional cleanup logic use finalizers.
func FetchDatabasePod ¶
func FetchDatabasePod(bkp *v1alpha1.Backup, db *v1alpha1.Database, client client.Client) (*corev1.Pod, error)
FetchDatabasePod search in the cluster for 1 Pod managed by the Database Controller
func FetchDatabaseService ¶
func FetchDatabaseService(bkp *v1alpha1.Backup, db *v1alpha1.Database, client client.Client) (*corev1.Service, error)
FetchDatabaseService search in the cluster for 1 Service managed by the Database Controller
func FetchDeployment ¶
FetchService returns the Deployment resource with the name in the namespace
func FetchPersistentVolumeClaim ¶
func FetchPersistentVolumeClaim(name, namespace string, client client.Client) (*corev1.PersistentVolumeClaim, error)
FetchPersistentVolumeClaim returns the PersistentVolumeClaim resource with the name in the namespace
func FetchSecret ¶
FetchSecret returns the Secret resource with the name in the namespace
func FetchService ¶
FetchService returns the Service resource with the name in the namespace
func Watch ¶
func Watch(c controller.Controller, obj runtime.Object, isConttroller bool, owner runtime.Object) error
Types ¶
This section is empty.