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
Click to show internal directories.
Click to hide internal directories.