migrate

package
v0.0.0-...-3881267 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContextNodesKey = "cni-migration-migrate-nodes"
)

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, config *config.Config) pkg.Step

Types

type Migrate

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

func (*Migrate) Ready

func (m *Migrate) Ready() (bool, error)

Ready ensures that - All nodes have the 'migrated' label

func (*Migrate) Run

func (m *Migrate) Run(dryrun bool) error

Jump to

Keyboard shortcuts

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