setup

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyExistingInstallation added in v0.17.0

func VerifyExistingInstallation(v kudoinit.InstallVerifier, client *kube.Client, out io.Writer) (bool, error)

verifyExistingInstallation checks if the current installation is valid and as expected

func WatchKUDOUntilReady

func WatchKUDOUntilReady(v kudoinit.InstallVerifier, client *kube.Client, timeout int64) error

WatchKUDOUntilReady waits for the KUDO installation to become available.

Returns no error if it exists. If the timeout was reached and it could not find the pod, it returns error.

Types

type Installer added in v0.14.0

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

func NewInstaller added in v0.14.0

func NewInstaller(options kudoinit.Options, crdOnly bool) *Installer

func (*Installer) Install added in v0.14.0

func (i *Installer) Install(client *kube.Client) error

Install uses Kubernetes client to install KUDO.

func (*Installer) PreInstallVerify added in v0.14.0

func (i *Installer) PreInstallVerify(client *kube.Client, result *verifier.Result) error

Verifies that the installation is possible. Returns an error if any part of KUDO is already installed

func (*Installer) PreUpgradeVerify added in v0.16.0

func (i *Installer) PreUpgradeVerify(client *kube.Client, result *verifier.Result) error

func (*Installer) Resources added in v0.16.0

func (i *Installer) Resources() []runtime.Object

func (*Installer) Upgrade added in v0.16.0

func (i *Installer) Upgrade(client *kube.Client) error

Upgrade an existing KUDO installation

func (*Installer) VerifyInstallation added in v0.16.0

func (i *Installer) VerifyInstallation(client *kube.Client, result *verifier.Result) error

Validate checks that the current KUDO installation is correct

Jump to

Keyboard shortcuts

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