action

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier struct {
	// contains filtered or unexported fields
}

func NewApplier

func NewApplier(f cmdutil.Factory, namespace string, helmDriver string) (*Applier, error)

func NewApplierForConfig

func NewApplierForConfig(f cmdutil.Factory, cfg *action.Configuration) *Applier

func (*Applier) Run

func (x *Applier) Run() (*release.Release, error)

args []string, cmd *action.Apply, valueOpts *values.Options, out io.Writer

func (*Applier) WithOptions

func (x *Applier) WithOptions(opts ApplyOptions) *Applier

func (*Applier) WithRegistry

func (x *Applier) WithRegistry(reg *repo.Registry) *Applier

type ApplyOptions

type ApplyOptions struct {
	*apply.ApplyOptions

	ChartURL  string `json:"chartURL"`
	ChartName string `json:"chartName"`
	Version   string `json:"version"`

	ValuesFile  string                `json:"valuesFile"`
	ValuesPatch *runtime.RawExtension `json:"valuesPatch"`
	// OR
	Values map[string]interface{} `json:"values"`

	CreateNamespace bool
	DryRun          bool
	DisableHooks    bool
	Replace         bool
	Wait            bool
	Timeout         time.Duration
	Description     string

	Devel bool
	// DependencyUpdate         bool
	Namespace   string
	ReleaseName string

	//OutputDir                string
	Atomic                   bool
	SkipCRDs                 bool
	SubNotes                 bool
	DisableOpenAPIValidation bool
	IncludeCRDs              bool
}

func NewApplyOptions

func NewApplyOptions() ApplyOptions

type UninstallOptions

type UninstallOptions struct {
	DisableHooks bool          `json:"disableHooks"`
	DryRun       bool          `json:"dryRun"`
	KeepHistory  bool          `json:"keepHistory"`
	Timeout      time.Duration `json:"timeout"`
}

type Uninstaller

type Uninstaller struct {
	// contains filtered or unexported fields
}

func NewUninstaller

func NewUninstaller(getter genericclioptions.RESTClientGetter, namespace string, helmDriver string) (*Uninstaller, error)

func NewUninstallerForConfig

func NewUninstallerForConfig(cfg *action.Configuration) *Uninstaller

func (*Uninstaller) Do

func (x *Uninstaller) Do() error

func (*Uninstaller) Result

func (*Uninstaller) Run

func (*Uninstaller) WithOptions

func (x *Uninstaller) WithOptions(opts UninstallOptions) *Uninstaller

func (*Uninstaller) WithReleaseName

func (x *Uninstaller) WithReleaseName(name string) *Uninstaller

Jump to

Keyboard shortcuts

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