release

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 27 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(*action.Install) error

type Manager

type Manager interface {
	ReleaseName() string
	IsInstalled() bool
	IsUpgradeRequired() bool
	Sync(context.Context) error
	InstallRelease(context.Context, ...InstallOption) (*rpb.Release, error)
}

Manager manages a Helm release. It can install, upgrade, reconcile, and uninstall a release.

type ManagerFactory

type ManagerFactory interface {
	NewManager(namespace string, overrideValues map[string]string) (Manager, error)
}

ManagerFactory creates Managers that are specific to custom resources. It is used by the HelmOperatorReconciler during resource reconciliation, and it improves decoupling between reconciliation logic and the Helm backend components used to manage releases.

func NewMemecachedManagerFactory

func NewMemecachedManagerFactory(mgr crmanager.Manager) ManagerFactory

NewMemecachedManagerFactory returns a new Helm manager factory capable of installing and uninstalling Memcached releases.

func NewRedisManagerFactory

func NewRedisManagerFactory(mgr crmanager.Manager) ManagerFactory

NewRedisManagerFactory returns a new Helm manager factory capable of installing and uninstalling Redis releases.

Jump to

Keyboard shortcuts

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