Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultKeepLatestMaintenanceJobs = 3 DefaultMaintenanceJobCPURequest = "0" DefaultMaintenanceJobCPULimit = "0" DefaultMaintenanceJobMemRequest = "0" DefaultMaintenanceJobMemLimit = "0" )
Variables ¶
View Source
var ( // DisableableControllers is a list of controllers that can be disabled DisableableControllers = []string{ constant.ControllerBackup, constant.ControllerBackupOperations, constant.ControllerBackupDeletion, constant.ControllerBackupFinalizer, constant.ControllerBackupSync, constant.ControllerDownloadRequest, constant.ControllerGarbageCollection, constant.ControllerBackupRepo, constant.ControllerRestore, constant.ControllerRestoreOperations, constant.ControllerSchedule, constant.ControllerServerStatusRequest, constant.ControllerRestoreFinalizer, } )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PluginDir string MetricsAddress string DefaultBackupLocation string // TODO(2.0) Deprecate defaultBackupLocation BackupSyncPeriod time.Duration PodVolumeOperationTimeout time.Duration ResourceTerminatingTimeout time.Duration DefaultBackupTTL time.Duration StoreValidationFrequency time.Duration DefaultCSISnapshotTimeout time.Duration DefaultItemOperationTimeout time.Duration ResourceTimeout time.Duration RestoreResourcePriorities types.Priorities DefaultVolumeSnapshotLocations flag.Map RestoreOnly bool DisabledControllers []string ClientQPS float32 ClientBurst int ClientPageSize int ProfilerAddress string LogLevel *logging.LevelFlag LogFormat *logging.FormatFlag RepoMaintenanceFrequency time.Duration GarbageCollectionFrequency time.Duration ItemOperationSyncFrequency time.Duration DefaultVolumesToFsBackup bool UploaderType string MaxConcurrentK8SConnections int DefaultSnapshotMoveData bool DisableInformerCache bool ScheduleSkipImmediately bool CredentialsDirectory string BackupRepoConfig string RepoMaintenanceJobConfig string PodResources kube.PodResources KeepLatestMaintenanceJobs int }
func GetDefaultConfig ¶
func GetDefaultConfig() *Config
Click to show internal directories.
Click to hide internal directories.