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

client

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 39 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionClientGetter

type ActionClientGetter interface {
	ActionClientFor(obj client.Object) (ActionInterface, error)
}

func NewActionClientGetter

func NewActionClientGetter(acg ActionConfigGetter) ActionClientGetter

type ActionClientGetterFunc

type ActionClientGetterFunc func(obj client.Object) (ActionInterface, error)

func (ActionClientGetterFunc) ActionClientFor

func (acgf ActionClientGetterFunc) ActionClientFor(obj client.Object) (ActionInterface, error)

type ActionConfigGetter

type ActionConfigGetter interface {
	ActionConfigFor(obj client.Object) (*action.Configuration, error)
}

func NewActionConfigGetter

func NewActionConfigGetter(cfg *rest.Config, rm meta.RESTMapper, log logr.Logger) ActionConfigGetter

type ActionInterface

type ActionInterface interface {
	Get(name string, opts ...GetOption) (*release.Release, error)
	Install(name, namespace string, chrt *chart.Chart, vals map[string]interface{}, opts ...InstallOption) (*release.Release, error)
	Upgrade(name, namespace string, chrt *chart.Chart, vals map[string]interface{}, opts ...UpgradeOption) (*release.Release, error)
	Uninstall(name string, opts ...UninstallOption) (*release.UninstallReleaseResponse, error)
	Reconcile(rel *release.Release) error
}

type GetOption

type GetOption func(*action.Get) error

type InstallOption

type InstallOption func(*action.Install) error

type UninstallOption

type UninstallOption func(*action.Uninstall) error

type UpgradeOption

type UpgradeOption func(*action.Upgrade) error

Jump to

Keyboard shortcuts

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