Documentation
¶
Overview ¶
Package rssgenerator contains generation of resources required to start a db-backup runner through the Kubernetes API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opts ¶
type Opts struct { Backup *v1.DatabaseBackup ControllerClient versioned.Interface TargetNamespace string ImagePrefix string K8sClient kubernetes.Interface LogLevel string ResourceName string }
Opts contains the options given to any generator function
type Result ¶
type Result struct { Secret *corev1.Secret Service *corev1.Service STS *appsv1.StatefulSet Hash string `hash:"-"` }
Result contains the result from the generator function
func FromKubernetesResources ¶
FromKubernetesResources generates the required resources to start a database backup runner
Click to show internal directories.
Click to hide internal directories.