install

package
v0.0.0-...-aeb416a Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 26 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(cfg *config.InstallConfig, isReady *atomic.Value) *Installer

NewInstaller returns an instance of Installer with the given config

func (*Installer) Cleanup

func (in *Installer) Cleanup() error

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

func (*Installer) Run

func (in *Installer) Run(ctx context.Context) error

Run starts the installation process, verifies the configuration, then sleeps. If the configuration is invalid, a full redeployal of config, binaries, and svcAcct credentials to the shared node CNI dir will be attempted.

If changes occurred but the config is still valid, only the binaries and (optionally) svcAcct credentials will be redeployed.

Jump to

Keyboard shortcuts

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