deliver

package
v0.0.0-...-5425248 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

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

func NewInstaller

func NewInstaller(workDir string) *Installer

NewInstaller returns an instance of Installer with the given config

func (*Installer) Cleanup

func (in *Installer) Cleanup() error

Cleanup remove CNI's config, kubeconfig file, and binaries.

func (*Installer) Run

func (in *Installer) Run(ctx context.Context, cniReady chan struct{}) error

Run starts the installation process, verifies the configuration, then sleeps. If an invalid configuration is detected, the installation process will restart to restore a valid state.

Jump to

Keyboard shortcuts

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