helm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetComputedValues

func GetComputedValues(release string, revision int64, options ...OptionFunc) ([]byte, error)

func GetManifests

func GetManifests(release string, revision int64, options ...OptionFunc) ([]byte, error)

func GetNotes

func GetNotes(release string, revision int64, options ...OptionFunc) ([]byte, error)

func GetSuppliedValues

func GetSuppliedValues(release string, revision int64, options ...OptionFunc) ([]byte, error)

Types

type Option

type Option struct {
	Namespace     string
	AllNamespaces bool
}

type OptionFunc

type OptionFunc func(*Option) error

func OnAnyNamespace

func OnAnyNamespace() OptionFunc

func OnNamespace

func OnNamespace(namespace string) OptionFunc

type Release

type Release struct {
	Name       string `json:"name"`
	Namespace  string `json:"namespace"`
	Revision   string `json:"revision"`
	Updated    string `json:"updated"`
	Status     string `json:"status"`
	Chart      string `json:"chart"`
	AppVersion string `json:"app_version"`
}

type Releases

type Releases []*Release

func ListReleases

func ListReleases(options ...OptionFunc) (Releases, error)

func (Releases) Get

func (r Releases) Get(id string) *Release

func (Releases) IDs

func (r Releases) IDs() []string

func (Releases) SelectOne

func (r Releases) SelectOne() (*Release, error)

type Revision

type Revision struct {
	Number      int64  `json:"revision"`
	Updated     string `json:"updated"`
	Status      string `json:"status"`
	Chart       string `json:"chart"`
	AppVersion  string `json:"app_version"`
	Description string `json:"description"`
}

type Revisions

type Revisions []*Revision

func GetHistory

func GetHistory(release string, options ...OptionFunc) (Revisions, error)

func UnmarshalHistory

func UnmarshalHistory(data []byte) (Revisions, error)

func (Revisions) Get

func (r Revisions) Get(number string) *Revision

func (*Revisions) Marshal

func (r *Revisions) Marshal() ([]byte, error)

func (Revisions) Numbers

func (r Revisions) Numbers() []string

func (Revisions) SelectMany

func (r Revisions) SelectMany() (Revisions, error)

Jump to

Keyboard shortcuts

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