prepare

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

This section is empty.

Variables

This section is empty.

Functions

func New

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

Types

type Prepare

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

func (*Prepare) Ready

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

Ready ensures that - Nodes have correct labels - The required resources exist - Canal DaemonSet has been patched

func (*Prepare) Run

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

Run will ensure that - Node have correct labels - The required resources exist - Canal DaemonSet has been patched

Jump to

Keyboard shortcuts

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