Documentation ¶
Index ¶
- func CRDs() []*apiextv1beta1.CustomResourceDefinition
- func ClusterRoleBinding(namespace string) *rbacv1beta1.ClusterRoleBinding
- func Config(namespace string, pvCloudProviderName string, ...) *arkv1.Config
- func DaemonSet(namespace string, opts ...podTemplateOption) *appsv1.DaemonSet
- func Deployment(namespace string, opts ...podTemplateOption) *appsv1beta1.Deployment
- func Namespace(namespace string) *corev1.Namespace
- func ServiceAccount(namespace string) *corev1.ServiceAccount
- func WithBackupSyncPeriod(t time.Duration) arkConfigOption
- func WithEnvFromSecretKey(varName, secret, key string) podTemplateOption
- func WithGCSyncPeriod(t time.Duration) arkConfigOption
- func WithImage(image string) podTemplateOption
- func WithPodVolumeOperationTimeout(t time.Duration) arkConfigOption
- func WithResticLocation(location string) arkConfigOption
- func WithRestoreOnly() arkConfigOption
- func WithoutCredentialsVolume() podTemplateOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CRDs ¶
func CRDs() []*apiextv1beta1.CustomResourceDefinition
CRDs returns a list of the CRD types for all of the required Ark CRDs
func ClusterRoleBinding ¶
func ClusterRoleBinding(namespace string) *rbacv1beta1.ClusterRoleBinding
func Deployment ¶
func Deployment(namespace string, opts ...podTemplateOption) *appsv1beta1.Deployment
func ServiceAccount ¶
func ServiceAccount(namespace string) *corev1.ServiceAccount
func WithBackupSyncPeriod ¶
func WithEnvFromSecretKey ¶
func WithEnvFromSecretKey(varName, secret, key string) podTemplateOption
func WithGCSyncPeriod ¶
func WithResticLocation ¶
func WithResticLocation(location string) arkConfigOption
func WithRestoreOnly ¶
func WithRestoreOnly() arkConfigOption
func WithoutCredentialsVolume ¶
func WithoutCredentialsVolume() podTemplateOption
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.