legacyresource

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsReleaseNotFound

func IsReleaseNotFound(err error) bool

IsReleaseNotFound asserts releaseNotFoundError.

func IsReleaseStatusNotMatching

func IsReleaseStatusNotMatching(err error) bool

IsReleaseStatusNotMatching asserts releaseStatusNotMatchingError

func IsReleaseVersionNotMatching

func IsReleaseVersionNotMatching(err error) bool

IsReleaseVersionNotMatching asserts releaseVersionNotMatchingError

func IsTillerNotFound

func IsTillerNotFound(err error) bool

IsTillerNotFound asserts tillerNotFoundError.

Types

type Config

type Config struct {
	HelmClient *helmclient.Client
	Logger     micrologger.Logger

	Namespace string
}

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Resource, error)

func (*Resource) Delete

func (r *Resource) Delete(name string) error

func (*Resource) EnsureDeleted

func (r *Resource) EnsureDeleted(ctx context.Context, name string) error

func (*Resource) Install

func (r *Resource) Install(name, url, values string, conditions ...func() error) error

func (*Resource) Update

func (r *Resource) Update(name, url, values string, conditions ...func() error) error

func (*Resource) WaitForStatus

func (r *Resource) WaitForStatus(release string, status string) error

func (*Resource) WaitForVersion

func (r *Resource) WaitForVersion(release string, version string) error

Jump to

Keyboard shortcuts

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