Documentation ¶
Index ¶
- type Client
- func (hc *Client) DeleteRelease(releaseName string) (*rls.UninstallReleaseResponse, error)
- func (hc *Client) InstallRelease(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error)
- func (hc *Client) InstallReleaseFromChart(chartdir, ns, releaseName, overrides string) (*rls.InstallReleaseResponse, error)
- func (hc *Client) InstallReleaseWithoutWait(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error)
- func (hc *Client) ListReleases() (*rls.ListReleasesResponse, error)
- func (hc *Client) PrintOverrides(overrides string, releaseName string, action string)
- func (hc *Client) PrintRelease(release *release.Release)
- func (hc *Client) ReleaseStatus(rname string) (string, error)
- func (hc *Client) UpgradeRelease(chartDir, releaseName, overrides string) (*rls.UpdateReleaseResponse, error)
- type ClientInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client .
func NewClient ¶
func NewClient(host string, TLSKey string, TLSCert string, TLSInsecureSkipVerify bool) (*Client, error)
NewClient .
func (*Client) DeleteRelease ¶
func (hc *Client) DeleteRelease(releaseName string) (*rls.UninstallReleaseResponse, error)
DeleteRelease .
func (*Client) InstallRelease ¶
func (hc *Client) InstallRelease(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error)
InstallRelease .
func (*Client) InstallReleaseFromChart ¶
func (hc *Client) InstallReleaseFromChart(chartdir, ns, releaseName, overrides string) (*rls.InstallReleaseResponse, error)
InstallReleaseFromChart .
func (*Client) InstallReleaseWithoutWait ¶
func (hc *Client) InstallReleaseWithoutWait(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error)
InstallReleaseWithoutWait .
func (*Client) ListReleases ¶
func (hc *Client) ListReleases() (*rls.ListReleasesResponse, error)
ListReleases lists all releases except for the superseded ones
func (*Client) PrintOverrides ¶
PrintOverrides .
func (*Client) PrintRelease ¶
PrintRelease .
func (*Client) ReleaseStatus ¶
ReleaseStatus returns roughly-formatted Release status (columns are separated with blanks but not adjusted)
func (*Client) UpgradeRelease ¶
func (hc *Client) UpgradeRelease(chartDir, releaseName, overrides string) (*rls.UpdateReleaseResponse, error)
UpgradeRelease .
type ClientInterface ¶
type ClientInterface interface { ListReleases() (*rls.ListReleasesResponse, error) ReleaseStatus(rname string) (string, error) InstallReleaseFromChart(chartdir, ns, releaseName, overrides string) (*rls.InstallReleaseResponse, error) InstallRelease(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error) InstallReleaseWithoutWait(chartdir, ns, releasename, overrides string) (*rls.InstallReleaseResponse, error) UpgradeRelease(chartDir, releaseName, overrides string) (*rls.UpdateReleaseResponse, error) DeleteRelease(releaseName string) (*rls.UninstallReleaseResponse, error) PrintRelease(release *release.Release) }
ClientInterface .
Click to show internal directories.
Click to hide internal directories.