helm

package
v0.0.0-...-68599ce Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeClient

func NewFakeClient(getRelease helm.GetReleaseFunc, getList helm.GetListFunc, getValues helm.GetValuesFunc, releases []*release.Release) (helm.Client, error)

NewFakeClient returns a new Helm client with the provided configuration

Types

type FakeClient

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

FakeClient

func (*FakeClient) GetList

func (c *FakeClient) GetList() ([]*release.Release, error)

GetList returns a list of all helm releases

Cannot return an error

func (*FakeClient) GetRelease

func (c *FakeClient) GetRelease(name string) (*release.Release, error)

GetRelease returns a helm release matching the given name

Returns an error if no release matches the given name

func (*FakeClient) GetValues

func (c *FakeClient) GetValues(name string) (map[string]interface{}, error)

GetValues returns the values.yaml values used to deploy the helm release matching the given name

Returns an error if no release matches the given name

Jump to

Keyboard shortcuts

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