mock

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientFactory

func NewClientFactory(cl client.HelmClient) *helm.ClientFactory

Types

type Client

type Client struct {
	client.HelmClient
	UpgradeReleaseExecuted bool
	DeleteReleaseExecuted  bool
	ReleaseNames           []string
}

func (*Client) DeleteRelease

func (c *Client) DeleteRelease(_ string) error

func (*Client) GetReleaseValues

func (c *Client) GetReleaseValues(_ string) (utils.Values, error)

func (*Client) IsReleaseExists

func (c *Client) IsReleaseExists(_ string) (bool, error)

func (*Client) LastReleaseStatus

func (c *Client) LastReleaseStatus(_ string) (string, string, error)

func (*Client) ListReleasesNames

func (c *Client) ListReleasesNames(_ map[string]string) ([]string, error)

func (*Client) Render

func (c *Client) Render(_ string, _ string, _ []string, _ []string, _ string, debug bool) (string, error)

func (*Client) UpgradeRelease

func (c *Client) UpgradeRelease(_, _ string, _ []string, _ []string, _ string) error

Jump to

Keyboard shortcuts

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