install

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2018 License: Apache-2.0 Imports: 10 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CRDs

CRDs returns a list of the CRD types for all of the required Ark CRDs

func ClusterRoleBinding

func ClusterRoleBinding(namespace string) *rbacv1beta1.ClusterRoleBinding

func Config

func Config(
	namespace string,
	pvCloudProviderName string,
	pvCloudProviderConfig map[string]string,
	backupCloudProviderName string,
	backupCloudProviderConfig map[string]string,
	bucket string,
	opts ...arkConfigOption,
) *arkv1.Config

func DaemonSet

func DaemonSet(namespace string, opts ...podTemplateOption) *appsv1.DaemonSet

func Deployment

func Deployment(namespace string, opts ...podTemplateOption) *appsv1beta1.Deployment

func Namespace

func Namespace(namespace string) *corev1.Namespace

func ServiceAccount

func ServiceAccount(namespace string) *corev1.ServiceAccount

func WithBackupSyncPeriod

func WithBackupSyncPeriod(t time.Duration) arkConfigOption

func WithEnvFromSecretKey

func WithEnvFromSecretKey(varName, secret, key string) podTemplateOption

func WithGCSyncPeriod

func WithGCSyncPeriod(t time.Duration) arkConfigOption

func WithImage

func WithImage(image string) podTemplateOption

func WithPodVolumeOperationTimeout

func WithPodVolumeOperationTimeout(t time.Duration) arkConfigOption

func WithResticLocation

func WithResticLocation(location string) arkConfigOption

func WithRestoreOnly

func WithRestoreOnly() arkConfigOption

func WithoutCredentialsVolume

func WithoutCredentialsVolume() podTemplateOption

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL