install

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonParams

type CommonParams struct {
	Set    map[string]string `help:"Set parameters."`
	File   *os.File          `short:"f" help:"Parameters file."`
	Bundle *os.File          `help:"Local bundle path."`
}

CommonParams are common parameters for installing and upgrading.

type Context

type Context struct {
	Kubeconfig *rest.Config
	Namespace  string
}

Context includes common data that installer consumers may utilize.

type Manager

type Manager interface {
	GetCurrentVersion() (string, error)
	Install(version string, parameters map[string]interface{}) error
	Upgrade(version string, parameters map[string]interface{}) error
	Uninstall() error
}

Manager can install and manage Upbound software in a Kubernetes cluster. TODO(hasheddan): support custom error types, such as AlreadyExists.

type ParameterParser

type ParameterParser interface {
	Parse() (map[string]interface{}, error)
}

ParameterParser parses install and upgrade parameters.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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