Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StorkMigrationReplicasAnnotation is the annotation used to keep track of // the number of replicas for an application when it was migrated StorkMigrationReplicasAnnotation = "stork.libopenstorage.org/migrationReplicas" // StorkMigrationAnnotation is the annotation used to keep track of resources // migrated by stork StorkMigrationAnnotation = "stork.libopenstorage.org/migrated" // StorkMigrationName is the annotation used to identify resource migrated by // migration CRD name StorkMigrationName = "stork.libopenstorage.org/migrationName" // StorkMigrationTime is the annotation used to specify time of migration StorkMigrationTime = "stork.libopenstorage.org/migrationTime" // StorkMigrationCRDActivateAnnotation is the annotation used to keep track of // the value to be set for activating crds StorkMigrationCRDActivateAnnotation = "stork.libopenstorage.org/migrationCRDActivate" // StorkMigrationCRDDeactivateAnnotation is the annotation used to keep track of // the value to be set for deactivating crds StorkMigrationCRDDeactivateAnnotation = "stork.libopenstorage.org/migrationCRDDeactivate" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterPairController ¶
type ClusterPairController struct {
// contains filtered or unexported fields
}
ClusterPairController controller to watch over ClusterPair
func NewClusterPair ¶
func NewClusterPair(mgr manager.Manager, d volume.Driver, r record.EventRecorder) *ClusterPairController
NewClusterPair creates a new instance of ClusterPairController.
type MigrationController ¶
type MigrationController struct {
// contains filtered or unexported fields
}
MigrationController reconciles migration objects
func NewMigration ¶
func NewMigration(mgr manager.Manager, d volume.Driver, r record.EventRecorder, rc resourcecollector.ResourceCollector) *MigrationController
NewMigration creates a new instance of MigrationController.
type MigrationScheduleController ¶
type MigrationScheduleController struct {
// contains filtered or unexported fields
}
MigrationScheduleController reconciles MigrationSchedule objects
func NewMigrationSchedule ¶
func NewMigrationSchedule(mgr manager.Manager, d volume.Driver, r record.EventRecorder) *MigrationScheduleController
NewMigrationSchedule creates a new instance of MigrationScheduleController.
Click to show internal directories.
Click to hide internal directories.