Documentation
¶
Index ¶
Constants ¶
View Source
const ( DataMigrateLockName = "DataMigrate" DataMigrateFinalizer = "fluid-datamigrate-controller-finalizer" DataMigrateChart = "fluid-datamigrate" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataMigrateInfo ¶
type DataMigrateInfo struct {
// BackoffLimit specifies the upper limit times when the DataMigrate job fails
BackoffLimit int32 `json:"backoffLimit,omitempty"`
// TargetDataset specifies the dataset that the DataLoad targets
TargetDataset string `json:"targetDataset,omitempty"`
// MigrateFrom specifies the data that the DataMigrate migrate from
MigrateFrom string `json:"migrateFrom,omitempty"`
// MigrateTo specifies the data that the DataMigrate migrate to
MigrateTo string `json:"migrateTo,omitempty"`
// EncryptOptions specifies the encrypt options that the DataMigrate job uses
EncryptOptions []v1alpha1.EncryptOption `json:"encryptOptions,omitempty"`
// Image specifies the image that the DataMigrate job uses
Image string `json:"image,omitempty"`
// Options specifies the extra dataMigrate properties for runtime
Options map[string]string `json:"options,omitempty"`
// Labels defines labels in DataMigrate's pod metadata
Labels map[string]string `json:"labels,omitempty"`
// Annotations defines annotations in DataMigrate's pod metadata
Annotations map[string]string `json:"annotations,omitempty"`
// image pull secrets
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
// specifies local:// and pvc:// volume
NativeVolumes []corev1.Volume `json:"nativeVolumes,omitempty"`
// specifies local:// and pvc:// volume mount
NativeVolumeMounts []corev1.VolumeMount `json:"nativeVolumeMounts,omitempty"`
// specifies pod affinity
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// specifies node selector
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// specifies pod tolerations
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// specifies scheduler name
SchedulerName string `json:"schedulerName,omitempty"`
}
type DataMigrateValue ¶
type DataMigrateValue struct {
DataMigrateInfo DataMigrateInfo `json:"datamigrate"`
}
Click to show internal directories.
Click to hide internal directories.