controllers

package
v2.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 License: Apache-2.0 Imports: 35 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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterPairController

type ClusterPairController struct {
	Driver   volume.Driver
	Recorder record.EventRecorder
}

ClusterPairController controller to watch over ClusterPair

func (*ClusterPairController) Handle

func (c *ClusterPairController) Handle(ctx context.Context, event sdk.Event) error

Handle updates for ClusterPair objects

func (*ClusterPairController) Init

func (c *ClusterPairController) Init() error

Init initialize the cluster pair controller

type MigrationController

type MigrationController struct {
	Driver   volume.Driver
	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

MigrationController reconciles migration objects

func (*MigrationController) Handle

func (m *MigrationController) Handle(ctx context.Context, event sdk.Event) error

Handle updates for Migration objects

func (*MigrationController) Init

func (m *MigrationController) Init(migrationAdminNamespace string) error

Init Initialize the migration controller

type MigrationScheduleController

type MigrationScheduleController struct {
	Recorder record.EventRecorder
}

MigrationScheduleController reconciles MigrationSchedule objects

func (*MigrationScheduleController) Handle

func (m *MigrationScheduleController) Handle(ctx context.Context, event sdk.Event) error

Handle updates for MigrationSchedule objects

func (*MigrationScheduleController) Init

Init Initialize the migration schedule controller

Jump to

Keyboard shortcuts

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