Documentation ¶
Index ¶
- type Client
- func (h Client) AddRepository(repoName, url string) error
- func (h Client) Cache() (string, error)
- func (h Client) Exec(arg ...string) (string, string, error)
- func (h Client) GetManifestString(namespace, release string) (string, error)
- func (h Client) GetUserSuppliedValuesYAML(namespace, release string) ([]byte, error)
- func (h Client) ListNamespaceReleasesYAML(namespace string) ([]byte, error)
- func (h Client) UpdateDependencies(path string) error
- func (h Client) Version() (*semver.Version, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
HelmExecutable string
}
Client is a local helm client
func (Client) AddRepository ¶
AddRepository adds a Helm repository
func (Client) Exec ¶
Exec returns the output and error of a helm command given several arguments Returns stdOut and stdErr as well as any error
func (Client) GetManifestString ¶
GetManifestString will run 'helm get manifest' on a given namespace and release and return string output.
func (Client) GetUserSuppliedValuesYAML ¶
GetUserSuppliedValues will run 'helm get values' on a given namespace and release and return []byte output suitable for yaml Marshaling.
func (Client) ListNamespaceReleasesYAML ¶
ListNamespaceReleasesYAML will run 'helm list' on a given namespace and return []byte output suitable for yaml Marshaling.
func (Client) UpdateDependencies ¶
UpdateDependencies will update dependencies for a given release if it is stored locally (i.e. pulled from git)