Documentation ¶
Index ¶
- Constants
- type Interface
- type Proxy
- func (p *Proxy) DeleteRelease(rlsName string, opts ...helm.DeleteOption) (*rls.UninstallReleaseResponse, error)
- func (p *Proxy) GetVersion(opts ...helm.VersionOption) (*rls.GetVersionResponse, error)
- func (p *Proxy) InstallRelease(chStr, namespace string, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error)
- func (p *Proxy) InstallReleaseFromChart(chart *chart.Chart, namespace string, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error)
- func (p *Proxy) ListReleases(opts ...helm.ReleaseListOption) (*rls.ListReleasesResponse, error)
- func (p *Proxy) PingTiller() error
- func (p *Proxy) ReleaseContent(rlsName string, opts ...helm.ContentOption) (*rls.GetReleaseContentResponse, error)
- func (p *Proxy) ReleaseHistory(rlsName string, opts ...helm.HistoryOption) (*rls.GetHistoryResponse, error)
- func (p *Proxy) ReleaseStatus(rlsName string, opts ...helm.StatusOption) (*rls.GetReleaseStatusResponse, error)
- func (p *Proxy) RollbackRelease(rlsName string, opts ...helm.RollbackOption) (*rls.RollbackReleaseResponse, error)
- func (p *Proxy) UpdateRelease(rlsName, chStr string, opts ...helm.UpdateOption) (*rls.UpdateReleaseResponse, error)
- func (p *Proxy) UpdateReleaseFromChart(rlsName string, chart *chart.Chart, opts ...helm.UpdateOption) (*rls.UpdateReleaseResponse, error)
Constants ¶
View Source
const ( TillerPort = 44134 TillerConnectionTimeout int64 = 300 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { ListReleases(opts ...helm.ReleaseListOption) (*rls.ListReleasesResponse, error) InstallRelease(chStr, namespace string, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error) InstallReleaseFromChart(chart *chart.Chart, namespace string, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error) DeleteRelease(rlsName string, opts ...helm.DeleteOption) (*rls.UninstallReleaseResponse, error) ReleaseStatus(rlsName string, opts ...helm.StatusOption) (*rls.GetReleaseStatusResponse, error) UpdateRelease(rlsName, chStr string, opts ...helm.UpdateOption) (*rls.UpdateReleaseResponse, error) UpdateReleaseFromChart(rlsName string, chart *chart.Chart, opts ...helm.UpdateOption) (*rls.UpdateReleaseResponse, error) RollbackRelease(rlsName string, opts ...helm.RollbackOption) (*rls.RollbackReleaseResponse, error) ReleaseContent(rlsName string, opts ...helm.ContentOption) (*rls.GetReleaseContentResponse, error) ReleaseHistory(rlsName string, opts ...helm.HistoryOption) (*rls.GetHistoryResponse, error) GetVersion(opts ...helm.VersionOption) (*rls.GetVersionResponse, error) PingTiller() error }
Interface is an interface for tiller proxy. It is almost the same as helm interface but without RunReleaseTest function.
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy is a wrapper for tiller client for accessing it through kubernetes api.
func New ¶
func New(client corev1.CoreV1Interface, restConf *rest.Config, tillerNamespace string) (*Proxy, error)
New creates a new helm client.
func (*Proxy) DeleteRelease ¶
func (p *Proxy) DeleteRelease(rlsName string, opts ...helm.DeleteOption) (*rls.UninstallReleaseResponse, error)
func (*Proxy) GetVersion ¶
func (p *Proxy) GetVersion(opts ...helm.VersionOption) (*rls.GetVersionResponse, error)
func (*Proxy) InstallRelease ¶
func (p *Proxy) InstallRelease(chStr, namespace string, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error)
func (*Proxy) InstallReleaseFromChart ¶
func (p *Proxy) InstallReleaseFromChart(chart *chart.Chart, namespace string, opts ...helm.InstallOption) (*rls.InstallReleaseResponse, error)
func (*Proxy) ListReleases ¶
func (p *Proxy) ListReleases(opts ...helm.ReleaseListOption) (*rls.ListReleasesResponse, error)
func (*Proxy) PingTiller ¶
func (*Proxy) ReleaseContent ¶
func (p *Proxy) ReleaseContent(rlsName string, opts ...helm.ContentOption) (*rls.GetReleaseContentResponse, error)
func (*Proxy) ReleaseHistory ¶
func (p *Proxy) ReleaseHistory(rlsName string, opts ...helm.HistoryOption) (*rls.GetHistoryResponse, error)
func (*Proxy) ReleaseStatus ¶
func (p *Proxy) ReleaseStatus(rlsName string, opts ...helm.StatusOption) (*rls.GetReleaseStatusResponse, error)
func (*Proxy) RollbackRelease ¶
func (p *Proxy) RollbackRelease(rlsName string, opts ...helm.RollbackOption) (*rls.RollbackReleaseResponse, error)
func (*Proxy) UpdateRelease ¶
func (p *Proxy) UpdateRelease(rlsName, chStr string, opts ...helm.UpdateOption) (*rls.UpdateReleaseResponse, error)
func (*Proxy) UpdateReleaseFromChart ¶
func (p *Proxy) UpdateReleaseFromChart(rlsName string, chart *chart.Chart, opts ...helm.UpdateOption) (*rls.UpdateReleaseResponse, error)
Click to show internal directories.
Click to hide internal directories.