Documentation
¶
Index ¶
- func NewActionClientGetter(actionClient client.ActionInterface, orErr error) client.ActionClientGetter
- type ActionClient
- func (c *ActionClient) Get(name string, opts ...client.GetOption) (*release.Release, error)
- func (c *ActionClient) History(name string, opts ...client.HistoryOption) ([]*release.Release, error)
- func (c *ActionClient) Install(name, namespace string, chrt *chart.Chart, vals map[string]interface{}, ...) (*release.Release, error)
- func (c *ActionClient) Reconcile(rel *release.Release) error
- func (c *ActionClient) Uninstall(name string, opts ...client.UninstallOption) (*release.UninstallReleaseResponse, error)
- func (c *ActionClient) Upgrade(name, namespace string, chrt *chart.Chart, vals map[string]interface{}, ...) (*release.Release, error)
- type GetCall
- type HistoryCall
- type InstallCall
- type ReconcileCall
- type UninstallCall
- type UpgradeCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewActionClientGetter ¶
func NewActionClientGetter(actionClient client.ActionInterface, orErr error) client.ActionClientGetter
Types ¶
type ActionClient ¶
type ActionClient struct {
Gets []GetCall
Histories []HistoryCall
Installs []InstallCall
Upgrades []UpgradeCall
Uninstalls []UninstallCall
Reconciles []ReconcileCall
HandleGet func() (*release.Release, error)
HandleHistory func() ([]*release.Release, error)
HandleInstall func() (*release.Release, error)
HandleUpgrade func() (*release.Release, error)
HandleUninstall func() (*release.UninstallReleaseResponse, error)
HandleReconcile func() error
}
func NewActionClient ¶
func NewActionClient() ActionClient
func (*ActionClient) History ¶ added in v0.6.0
func (c *ActionClient) History(name string, opts ...client.HistoryOption) ([]*release.Release, error)
func (*ActionClient) Install ¶
func (c *ActionClient) Install(name, namespace string, chrt *chart.Chart, vals map[string]interface{}, opts ...client.InstallOption) (*release.Release, error)
func (*ActionClient) Uninstall ¶
func (c *ActionClient) Uninstall(name string, opts ...client.UninstallOption) (*release.UninstallReleaseResponse, error)
type HistoryCall ¶ added in v0.6.0
type HistoryCall struct {
Name string
Opts []client.HistoryOption
}
type InstallCall ¶
type ReconcileCall ¶
type UninstallCall ¶
type UninstallCall struct {
Name string
Opts []client.UninstallOption
}
type UpgradeCall ¶
Click to show internal directories.
Click to hide internal directories.