install

package
v0.0.0-...-8798885 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstallOption

type InstallOption func(*chart.Chart) error

InstallOption customizes the behavior of an install.

type Manager

type Manager interface {
	GetCurrentVersion() (string, error)
	GetRelease() (*release.Release, error)
	Install(version string, parameters map[string]any, opts ...InstallOption) error
	Upgrade(version string, parameters map[string]any, opts ...UpgradeOption) 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]any, error)
}

ParameterParser parses install and upgrade parameters.

type UpgradeOption

type UpgradeOption func(oldVersion string, ch *chart.Chart) error

UpgradeOption customizes the behavior of an upgrade.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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