helm

package
v0.0.0-...-00235d5 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(options *CreateOptions) (string, error)

func DependencyBuild

func DependencyBuild(options *DependencyOptions) (string, error)

func DependencyList

func DependencyList(options *DependencyOptions) (string, error)

func DependencyUpdate

func DependencyUpdate(options *DependencyOptions) (string, error)

func Install

func Install(options *InstallOptions) (string, error)

func Lint

func Lint(options *LintOptions) ([]string, bool)

func List

func List(options *ListOptions) (string, error)

func NewCfg

func NewCfg(options *CfgOptions) *action.Configuration

func Package

func Package(options *PackageOptions) error

func Push

func Push(options *PushOptions) (string, error)

func RegistryLogin

func RegistryLogin(options *RegistryOptions) (string, error)

func RegistryLogout

func RegistryLogout(options *RegistryOptions) (string, error)

func RepoAdd

func RepoAdd(options *RepoOptions) error

func RepoList

func RepoList(options *RepoOptions) (string, error)

func RepoOciServerStart

func RepoOciServerStart(options *RepoServerOptions) (*repotest.OCIServer, error)

func RepoRemove

func RepoRemove(options *RepoOptions) error

func RepoServerStart

func RepoServerStart(options *RepoServerOptions) (*repotest.Server, error)

func RepoServerStop

func RepoServerStop(url string)

func RepoServerStopAll

func RepoServerStopAll()

func SearchRepo

func SearchRepo(options *SearchOptions) (string, error)

func Show

func Show(options *ShowOptions) (string, error)

func StatusReport

func StatusReport(release *release.Release, showDescription bool, debug bool) string

func Test

func Test(options *TestOptions) (string, error)

func Uninstall

func Uninstall(options *UninstallOptions) (string, error)

func Upgrade

func Upgrade(options *UpgradeOptions) (string, error)

func Version

func Version() (string, error)

Types

type ActiveServer

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

type CfgOptions

type CfgOptions struct {
	RegistryClient *registry.Client
	KubeConfig     string
	Namespace      string
	AllNamespaces  bool
	KubeOut        io.Writer
}

type CreateOptions

type CreateOptions struct {
	Name string
	Dir  string
}

type DependencyOptions

type DependencyOptions struct {
	Path        string
	Keyring     string
	SkipRefresh bool
	Verify      bool
	Debug       bool
}

type InstallOptions

type InstallOptions struct {
	Name                  string
	GenerateName          bool
	NameTemplate          string
	Chart                 string
	Namespace             string
	CreateNamespace       bool
	Description           string
	Devel                 bool
	DependencyUpdate      bool
	DryRun                bool
	DryRunOption          string
	Wait                  bool
	Timeout               time.Duration
	Values                string
	KubeConfig            string
	CertFile              string
	KeyFile               string
	CaFile                string
	InsecureSkipTLSverify bool
	PlainHttp             bool
	Keyring               string
	Debug                 bool
	// For testing purposes only, prevents connecting to Kubernetes (happens even with DryRun=true and DryRunOption=client)
	ClientOnly bool
}

type LintOptions

type LintOptions struct {
	Path   string
	Strict bool
	Quiet  bool
}

type ListOptions

type ListOptions struct {
	All           bool
	AllNamespaces bool
	Deployed      bool
	Failed        bool
	Pending       bool
	Superseded    bool
	Uninstalled   bool
	Uninstalling  bool
	Namespace     string
	KubeConfig    string
}

type PackageOptions

type PackageOptions struct {
	Path           string
	Destination    string
	Sign           bool
	Key            string
	Keyring        string
	PassphraseFile string
}

type PushOptions

type PushOptions struct {
	Chart                 string
	Remote                string
	CertFile              string
	KeyFile               string
	CaFile                string
	InsecureSkipTlsVerify bool
	PlainHttp             bool
	Debug                 bool
}

type RegistryOptions

type RegistryOptions struct {
	Hostname  string
	Username  string
	Password  string
	CertFile  string
	KeyFile   string
	CaFile    string
	Insecure  bool
	PlainHttp bool
	Debug     bool
}

type RepoOptions

type RepoOptions struct {
	RepositoryConfig      string
	Name                  string
	Names                 string
	Url                   string
	Username              string
	Password              string
	CertFile              string
	KeyFile               string
	CaFile                string
	InsecureSkipTlsVerify bool
}

type RepoServerOptions

type RepoServerOptions struct {
	Glob     string
	Username string
	Password string
}

type SearchOptions

type SearchOptions struct {
	RepositoryConfig string
	Keyword          string
	Regexp           bool
	Devel            bool
	Version          string
}

type ShowOptions

type ShowOptions struct {
	Path         string
	OutputFormat string
}

type TestOptions

type TestOptions struct {
	ReleaseName string
	Timeout     time.Duration
	Namespace   string
	KubeConfig  string
	Debug       bool
}

type UninstallOptions

type UninstallOptions struct {
	ReleaseName    string
	DryRun         bool
	NoHooks        bool
	IgnoreNotFound bool
	KeepHistory    bool
	Cascade        string
	Namespace      string
	KubeConfig     string
	Debug          bool
}

type UpgradeOptions

type UpgradeOptions struct {
	Name                  string
	Chart                 string
	Namespace             string
	Install               bool
	Force                 bool
	ResetValues           bool
	ReuseValues           bool
	ResetThenReuseValues  bool
	Atomic                bool
	CleanupOnFail         bool
	CreateNamespace       bool
	Description           string
	Devel                 bool
	DependencyUpdate      bool
	DryRun                bool
	DryRunOption          string
	Wait                  bool
	Timeout               time.Duration
	Values                string
	KubeConfig            string
	CertFile              string
	KeyFile               string
	CaFile                string
	InsecureSkipTLSverify bool
	PlainHttp             bool
	Keyring               string
	Debug                 bool
	// For testing purposes only, prevents connecting to Kubernetes (happens even with DryRun=true and DryRunOption=client)
	ClientOnly bool
}

Jump to

Keyboard shortcuts

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