chartops

package
v15.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartValues added in v15.7.0

type ChartValues map[string]interface{}

type Factory

type Factory struct {
}

func (*Factory) Name

func (f *Factory) Name() string

func (*Factory) New

func (f *Factory) New(config *modagent.Config) (modagent.Module, error)

func (*Factory) StartStopPhase added in v15.8.0

func (f *Factory) StartStopPhase() modshared.ModuleStartStopPhase

type Helm added in v15.7.0

type Helm interface {
	History(name string) ([]*release.Release, error)
	Upgrade(ctx context.Context, name string, chart *chart.Chart, vals ChartValues, cfg UpgradeConfig) (*release.Release, error)
	Install(ctx context.Context, chart *chart.Chart, vals ChartValues, cfg InstallConfig) (*release.Release, error)
}

type HelmActions added in v15.7.0

type HelmActions struct {
	ActionCfg *action.Configuration
}

func (*HelmActions) History added in v15.7.0

func (h *HelmActions) History(name string) ([]*release.Release, error)

func (*HelmActions) Install added in v15.7.0

func (h *HelmActions) Install(ctx context.Context, chart *chart.Chart, vals ChartValues, cfg InstallConfig) (*release.Release, error)

func (*HelmActions) Upgrade added in v15.7.0

func (h *HelmActions) Upgrade(ctx context.Context, name string, chart *chart.Chart, vals ChartValues, cfg UpgradeConfig) (*release.Release, error)

type InstallConfig added in v15.7.0

type InstallConfig struct {
	// Namespace is the namespace in which this operation should be performed.
	Namespace   string
	ReleaseName string
}

type UpgradeConfig added in v15.7.0

type UpgradeConfig struct {
	// Namespace is the namespace in which this operation should be performed.
	Namespace string
	// MaxHistory limits the maximum number of revisions saved per release
	MaxHistory int
}

Jump to

Keyboard shortcuts

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