Versions in this module Expand all Collapse all v1 v1.3.1 Mar 10, 2020 Changes in this version + var DefaultImage = "velero/velero:" + imageVersion() + var DefaultResticPodCPULimit = "0" + var DefaultResticPodCPURequest = "0" + var DefaultResticPodMemLimit = "0" + var DefaultResticPodMemRequest = "0" + var DefaultVeleroPodCPULimit = "1000m" + var DefaultVeleroPodCPURequest = "500m" + var DefaultVeleroPodMemLimit = "256Mi" + var DefaultVeleroPodMemRequest = "128Mi" + func AllCRDs() *unstructured.UnstructuredList + func AllResources(o *VeleroOptions) (*unstructured.UnstructuredList, error) + func BackupStorageLocation(namespace, provider, bucket, prefix string, config map[string]string) *v1.BackupStorageLocation + func ClusterRoleBinding(namespace string) *rbacv1beta1.ClusterRoleBinding + func DaemonSet(namespace string, opts ...podTemplateOption) *appsv1.DaemonSet + func DaemonSetIsReady(factory client.DynamicFactory, namespace string) (bool, error) + func Deployment(namespace string, opts ...podTemplateOption) *appsv1.Deployment + func DeploymentIsReady(factory client.DynamicFactory, namespace string) (bool, error) + func Install(factory client.DynamicFactory, resources *unstructured.UnstructuredList, ...) error + func Namespace(namespace string) *corev1.Namespace + func Secret(namespace string, data []byte) *corev1.Secret + func ServiceAccount(namespace string, annotations map[string]string) *corev1.ServiceAccount + func VolumeSnapshotLocation(namespace, provider string, config map[string]string) *v1.VolumeSnapshotLocation + func WithAnnotations(annotations map[string]string) podTemplateOption + func WithDefaultResticMaintenanceFrequency(val time.Duration) podTemplateOption + func WithEnvFromSecretKey(varName, secret, key string) podTemplateOption + func WithImage(image string) podTemplateOption + func WithPlugins(plugins []string) podTemplateOption + func WithResources(resources corev1.ResourceRequirements) podTemplateOption + func WithRestoreOnly() podTemplateOption + func WithSecret(secretPresent bool) podTemplateOption + type ResourceGroup struct + CRDResources []*unstructured.Unstructured + OtherResources []*unstructured.Unstructured + func GroupResources(resources *unstructured.UnstructuredList) *ResourceGroup + type VeleroOptions struct + BSLConfig map[string]string + Bucket string + DefaultResticMaintenanceFrequency time.Duration + Image string + Namespace string + NoDefaultBackupLocation bool + Plugins []string + PodAnnotations map[string]string + Prefix string + ProviderName string + ResticPodResources corev1.ResourceRequirements + RestoreOnly bool + SecretData []byte + ServiceAccountAnnotations map[string]string + UseRestic bool + UseVolumeSnapshots bool + VSLConfig map[string]string + VeleroPodResources corev1.ResourceRequirements