Documentation ¶
Index ¶
- Constants
- func AppendTTMapAsCopy[T comparable](add ...map[T]T) map[T]T
- func AppendUniqueEnvVars(userEnvVars ...[]corev1.EnvVar) []corev1.EnvVar
- func AppendUniqueKeyTOfTMaps[T comparable](userLabels ...map[T]T) (map[T]T, error)
- func AppendUniqueValues[T comparable](slice []T, values ...T) []T
- func DefaultModePtr() *int32
- func RemoveDuplicateValues[T comparable](slice []T) []T
Constants ¶
View Source
const ( Velero = "velero" NodeAgent = "node-agent" VeleroNamespace = "oadp-operator" OADPOperator = "oadp-operator" OADPOperatorVelero = "oadp-operator-velero" DataMover = "volume-snapshot-mover" DataMoverController = "data-mover-controller" DataMoverControllerContainer = "data-mover-controller-container" OADPOperatorServiceAccount = "openshift-adp-controller-manager" VolSyncDeploymentName = "volsync-controller-manager" VolSyncDeploymentNamespace = "openshift-operators" VolsyncPrivilegedAnnotation = "volsync.backube/privileged-movers" )
View Source
const ( VeleroImage = "quay.io/konveyor/velero:oadp-1.2" OpenshiftPluginImage = "quay.io/konveyor/openshift-velero-plugin:oadp-1.2" AWSPluginImage = "quay.io/konveyor/velero-plugin-for-aws:oadp-1.2" AzurePluginImage = "quay.io/konveyor/velero-plugin-for-microsoft-azure:oadp-1.2" GCPPluginImage = "quay.io/konveyor/velero-plugin-for-gcp:oadp-1.2" CSIPluginImage = "quay.io/konveyor/velero-plugin-for-csi:oadp-1.2" VSMPluginImage = "quay.io/konveyor/velero-plugin-for-vsm:oadp-1.2" // DataMoverImage is the data mover controller for data mover CRs - VolumeSnapshotBackup and VolumeSnapshotRestore DataMoverImage = "quay.io/konveyor/volume-snapshot-mover:oadp-1.2" DummyPodImage = "quay.io/konveyor/rsync-transfer:latest" RegistryImage = "quay.io/konveyor/registry:latest" KubeVirtPluginImage = "quay.io/konveyor/kubevirt-velero-plugin:v0.2.0" )
Images
View Source
const ( VeleroPluginForAWS = "velero-plugin-for-aws" VeleroPluginForAzure = "velero-plugin-for-microsoft-azure" VeleroPluginForGCP = "velero-plugin-for-gcp" VeleroPluginForCSI = "velero-plugin-for-csi" VeleroPluginForVSM = "velero-plugin-for-vsm" VeleroPluginForOpenshift = "openshift-velero-plugin" KubeVirtPlugin = "kubevirt-velero-plugin" )
Plugin names
View Source
const ( LDLibraryPathEnvKey = "LD_LIBRARY_PATH" VeleroNamespaceEnvKey = "VELERO_NAMESPACE" VeleroScratchDirEnvKey = "VELERO_SCRATCH_DIR" AzureCredentialsFileEnvKey = "AZURE_CREDENTIALS_FILE" GCPCredentialsEnvKey = "GOOGLE_APPLICATION_CREDENTIALS" HTTPProxyEnvVar = "HTTP_PROXY" HTTPSProxyEnvVar = "HTTPS_PROXY" NoProxyEnvVar = "NO_PROXY" )
Environment Vars keys
Variables ¶
This section is empty.
Functions ¶
func AppendTTMapAsCopy ¶ added in v1.2.0
func AppendTTMapAsCopy[T comparable](add ...map[T]T) map[T]T
func AppendUniqueEnvVars ¶ added in v1.1.2
append env vars together where the first one wins
func AppendUniqueKeyTOfTMaps ¶ added in v1.2.0
func AppendUniqueKeyTOfTMaps[T comparable](userLabels ...map[T]T) (map[T]T, error)
func AppendUniqueValues ¶ added in v1.2.0
func AppendUniqueValues[T comparable](slice []T, values ...T) []T
func DefaultModePtr ¶ added in v1.0.5
func DefaultModePtr() *int32
func RemoveDuplicateValues ¶ added in v1.2.0
func RemoveDuplicateValues[T comparable](slice []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.