test

package
v0.0.0-...-83b2bd0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 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(releases []*release.Release) (helm.Client, error)

NewFakeClient - returns a new Fale Helm client with the provided options

Types

type FakeClient

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

FakeClient - fake client

func (*FakeClient) GetList

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

GetList - returns a list of releases

func (*FakeClient) GetRelease

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

GetRelease - returns a release specified by name.

func (*FakeClient) GetValues

func (c *FakeClient) GetValues(name string, allValues bool) (interface{}, error)

GetValues - returns a list of releases

Jump to

Keyboard shortcuts

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