Help us shape the future of Go! Take the 2026 Go Developer Survey

fake

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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
	Configs    []ConfigCall

	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
	HandleConfig    func() *action.Configuration
}

func NewActionClient

func NewActionClient() ActionClient

func (*ActionClient) Config added in v0.9.0

func (c *ActionClient) Config() *action.Configuration

func (*ActionClient) Get

func (c *ActionClient) Get(name string, opts ...client.GetOption) (*release.Release, error)

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) Reconcile

func (c *ActionClient) Reconcile(rel *release.Release) error

func (*ActionClient) Uninstall

func (*ActionClient) Upgrade

func (c *ActionClient) Upgrade(name, namespace string, chrt *chart.Chart, vals map[string]interface{}, opts ...client.UpgradeOption) (*release.Release, error)

type ConfigCall added in v0.9.0

type ConfigCall struct{}

type GetCall

type GetCall struct {
	Name string
	Opts []client.GetOption
}

type HistoryCall added in v0.6.0

type HistoryCall struct {
	Name string
	Opts []client.HistoryOption
}

type InstallCall

type InstallCall struct {
	Name      string
	Namespace string
	Chart     *chart.Chart
	Values    map[string]interface{}
	Opts      []client.InstallOption
}

type ReconcileCall

type ReconcileCall struct {
	Release *release.Release
}

type UninstallCall

type UninstallCall struct {
	Name string
	Opts []client.UninstallOption
}

type UpgradeCall

type UpgradeCall struct {
	Name      string
	Namespace string
	Chart     *chart.Chart
	Values    map[string]interface{}
	Opts      []client.UpgradeOption
}

Jump to

Keyboard shortcuts

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