controllers

package
v2.4.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 34 Imported by: 6

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

NewClusterPair creates a new instance of ClusterPairController.

func (*ClusterPairController) Init

Init initialize the cluster pair controller

func (*ClusterPairController) Reconcile

func (c *ClusterPairController) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile manages ClusterPair resources.

type MigrationController

type MigrationController struct {
	// contains filtered or unexported fields
}

MigrationController reconciles migration objects

func NewMigration

NewMigration creates a new instance of MigrationController.

func (*MigrationController) Init

func (m *MigrationController) Init(mgr manager.Manager, migrationAdminNamespace string) error

Init Initialize the migration controller

func (*MigrationController) Reconcile

func (m *MigrationController) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile manages Migration resources.

type MigrationScheduleController

type MigrationScheduleController struct {
	// contains filtered or unexported fields
}

MigrationScheduleController reconciles MigrationSchedule objects

func NewMigrationSchedule

NewMigrationSchedule creates a new instance of MigrationScheduleController.

func (*MigrationScheduleController) Init

Init Initialize the migration schedule controller

func (*MigrationScheduleController) Reconcile

Reconcile manages MigrationSchedule resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL