kubehelm

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalFlags

type GlobalFlags struct {
	KubeApiserver string
	KubeToken     string
	Kubeconfig    string
}

GlobalFlags helm parameters

func (*GlobalFlags) ParseParameters

func (f *GlobalFlags) ParseParameters() (string, error)

ParseParameters parse helm parameters

type InstallFlags

type InstallFlags struct {
	//setParam --set hub=docker.io/istio tag=1.5.4
	SetParam map[string]string
	Chart    string
	Name     string
}

InstallFlags chart parameters

func (*InstallFlags) ParseParameters

func (f *InstallFlags) ParseParameters() string

ParseParameters parse chart parameters

type KubeHelm

type KubeHelm interface {
	//install
	//setParam --set hub=docker.io/istio tag=1.5.4
	InstallChart(inf InstallFlags, glf GlobalFlags) error
}

KubeHelm kube helm interface

func NewCmdHelm

func NewCmdHelm() KubeHelm

NewCmdHelm new cmd helm struct, the object requires helm command-line tool

Jump to

Keyboard shortcuts

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