priority

package
v0.0.0-...-a9ddef7 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func New

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

Types

type Priority

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

func (*Priority) Ready

func (p *Priority) Ready() (bool, error)

Ready ensures that - All nodes have the revered cni-priority-cilium label

func (*Priority) Run

func (p *Priority) Run(dryrun bool) error

Jump to

Keyboard shortcuts

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