executor

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJob

func NewJob() *cobra.Command

NewJob will setup a new migrate job

func NewMigrateCStorVolumeJob

func NewMigrateCStorVolumeJob() *cobra.Command

NewMigrateCStorVolumeJob migrates all the cStor Pools associated with a given Storage Pool Claim

func NewMigratePoolJob

func NewMigratePoolJob() *cobra.Command

NewMigratePoolJob migrates all the cStor Pools associated with a given Storage Pool Claim

func PreRun

func PreRun(cmd *cobra.Command, args []string)

PreRun will check for environement variables to be read and intialized.

Types

type MigrateOptions

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

MigrateOptions stores information required for migration of OpenEBS resources

func (*MigrateOptions) RunCStorSPCMigrate

func (m *MigrateOptions) RunCStorSPCMigrate() error

RunCStorSPCMigrate migrates the given spc.

func (*MigrateOptions) RunCStorSPCMigrateChecks

func (m *MigrateOptions) RunCStorSPCMigrateChecks() error

RunCStorSPCMigrateChecks will ensure the sanity of the cstor SPC migrate options

func (*MigrateOptions) RunCStorVolumeMigrate

func (m *MigrateOptions) RunCStorVolumeMigrate() error

RunCStorVolumeMigrate migrates the given pv.

func (*MigrateOptions) RunCStorVolumeMigrateChecks

func (m *MigrateOptions) RunCStorVolumeMigrateChecks() error

RunCStorVolumeMigrateChecks will ensure the sanity of the cstor Volume migrate options

func (*MigrateOptions) RunPreFlightChecks

func (m *MigrateOptions) RunPreFlightChecks() error

RunPreFlightChecks will ensure the sanity of the common migrate options

Jump to

Keyboard shortcuts

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