upgrade

package
v0.0.0-...-9c8d8c7 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Basic

type Basic struct {
	RepoURL string
}

type ChangeKey

type ChangeKey struct {
	Old string
	New string
}

type Metadata

type Metadata struct {
	Name string
}

type SetKey

type SetKey struct {
	Name  string
	Value string
	Input utils.Input
}

type Spec

type Spec struct {
	Basic     Basic
	Install   []*resource.Release
	Uninstall []*Uninstall
	Upgrade   []*Upgrade
}

type Uninstall

type Uninstall struct {
	Kind string
	Name string
}

type Upgrade

type Upgrade struct {
	Name              string
	Chart             string
	Version           string
	InstalledVersion  string
	Namespace         string
	ConstraintVersion string
	Values            []byte
	SetKey            []*SetKey
	ChangeKey         []*ChangeKey
	DeleteKey         []string
}

type Upgrader

type Upgrader struct {
	// HelmClient *c7n_helm.HelmClient
	Version  string
	Metadata Metadata
	Spec     Spec
}

func (*Upgrader) GetReleaseValues

func (u *Upgrader) GetReleaseValues(upgrade *Upgrade) error

func (*Upgrader) Init

func (u *Upgrader) Init()

func (*Upgrader) Install

func (u *Upgrader) Install() error

func (*Upgrader) Run

func (u *Upgrader) Run(args ...string) error

func (*Upgrader) Uninstall

func (u *Upgrader) Uninstall() error

func (*Upgrader) UpgradeReleases

func (u *Upgrader) UpgradeReleases() error

Jump to

Keyboard shortcuts

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