Documentation ¶
Index ¶
Constants ¶
const ( // ApplicationBackupScheduleNameAnnotation Annotation used to specify the name of schedule that // created the backup ApplicationBackupScheduleNameAnnotation = annotationPrefix + "applicationBackupScheduleName" // ApplicationBackupSchedulePolicyTypeAnnotation Annotation used to specify the type of the // policy that triggered the backup ApplicationBackupSchedulePolicyTypeAnnotation = annotationPrefix + "applicationBackupSchedulePolicyType" )
const ( // IBMApp registration name IBMApp = "ibm" // CouchBaseApp registration name CouchBaseApp = "couchbase" // RedisClusterApp registration name RedisClusterApp = "redis" // CassandraApp registration name CassandraApp = "cassandra" // WeblogicDomainApp registration name WeblogicDomainApp = "weblogic" // RabbitMQApp registration name RabbitMQApp = "rabbitmq" // PerconaDBApp registration name PerconaDBApp = "perconadb" // PrometheusApp registration name PrometheusApp = "prometheus" // KafkaApp registration name KafkaApp = "kafka" // PostgressApp registration name PostgressApp = "postgress" )
Variables ¶
This section is empty.
Functions ¶
func GetObjectPath ¶
func GetObjectPath( backup *stork_api.ApplicationBackup, ) string
GetObjectPath construct the full base path for a given backup The format is "namespace/backupName/backupUID" which will be unique for each backup
func RegisterDefaultCRDs ¶
func RegisterDefaultCRDs() error
RegisterDefaultCRDs registered already supported CRDs
Types ¶
type ApplicationBackupController ¶
type ApplicationBackupController struct {
// contains filtered or unexported fields
}
ApplicationBackupController reconciles applicationbackup objects
func NewApplicationBackup ¶
func NewApplicationBackup(mgr manager.Manager, r record.EventRecorder, rc resourcecollector.ResourceCollector) *ApplicationBackupController
NewApplicationBackup creates a new instance of ApplicationBackupController.
type ApplicationBackupScheduleController ¶
type ApplicationBackupScheduleController struct {
// contains filtered or unexported fields
}
ApplicationBackupScheduleController reconciles ApplicationBackupSchedule objects
func NewApplicationBackupSchedule ¶
func NewApplicationBackupSchedule(mgr manager.Manager, r record.EventRecorder) *ApplicationBackupScheduleController
NewApplicationBackupSchedule creates a new instance of ApplicationBackupScheduleController.
type ApplicationCloneController ¶
type ApplicationCloneController struct {
// contains filtered or unexported fields
}
ApplicationCloneController reconciles applicationclone objects
func NewApplicationClone ¶
func NewApplicationClone(mgr manager.Manager, d volume.Driver, r record.EventRecorder, rc resourcecollector.ResourceCollector) *ApplicationCloneController
NewApplicationClone create a new instance of ApplicationCloneController.
type ApplicationRestoreController ¶
type ApplicationRestoreController struct {
// contains filtered or unexported fields
}
ApplicationRestoreController reconciles applicationrestore objects
func NewApplicationRestore ¶
func NewApplicationRestore(mgr manager.Manager, r record.EventRecorder, rc resourcecollector.ResourceCollector) *ApplicationRestoreController
NewApplicationRestore creates a new instance of ApplicationRestoreController.
type BackupSyncController ¶
type BackupSyncController struct { Recorder record.EventRecorder SyncInterval time.Duration // contains filtered or unexported fields }
BackupSyncController reconciles applicationbackup objects