controller

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusIndex     = "Status"
	StatusRunning   = "Running"
	StatusPending   = "Pending"
	StatusCompleted = "Completed"

	ResourceIndex = "Resource"
)

Variables

This section is empty.

Functions

Types

type KubeMigrator

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

KubeMigrator monitors storageVersionMigraiton objects, fulfills the migration, and updates the status of the storageVersionMigration objects.

func NewKubeMigrator

func NewKubeMigrator(dynamic dynamic.Interface, migrationClient migrationclient.Interface) *KubeMigrator

NewKubeMigrator creates KubeMigrator.

func (*KubeMigrator) Run

func (km *KubeMigrator) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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