Documentation
¶
Index ¶
- Constants
- type Chart
- type GetClient
- type Helper
- func (h *Helper) Apply(release, namespace string) error
- func (h *Helper) InitApplyOperator() error
- func (h *Helper) InitOperator(opType string) error
- func (h *Helper) LoadChart(chartPath string) error
- func (h *Helper) LoadLocalChartTgz(path string) error
- func (h *Helper) LoadRemoteChartTgz(url string) error
- func (h *Helper) LoadValueFromFile(file string) (map[string]any, error)
- func (h *Helper) OverrideDefaultValues(valuesToOverride values.Options) error
- func (h *Helper) SetAuth() error
- func (h *Helper) SetNamespace(namespace string)
- func (h *Helper) Uninstall(releaseName string) error
- type InstallClient
- type Option
- func ActionConfig(action *action.Configuration) Option
- func AuthFile(file string) Option
- func AuthType(authType string) Option
- func ChartPath(path string) Option
- func CreateNamespace(enabled bool) Option
- func EnvConfig(env *cli.EnvSettings) Option
- func KubeConfig(kube kubernetes.Options) Option
- func Release(name string) Option
- type Options
- type Tgz
- type Tree
- type UninstallClient
- type UpgradeClient
Constants ¶
View Source
const ( Install = "install" Upgrade = "upgrade" Get = "get" Uninstall = "uninstall" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct { GetClient InstallClient InstallClientPtr *action.Install UpgradeClient UninstallClient Options }
func (*Helper) InitApplyOperator ¶
func (*Helper) InitOperator ¶
func (*Helper) LoadLocalChartTgz ¶
func (*Helper) LoadRemoteChartTgz ¶
func (*Helper) LoadValueFromFile ¶
func (*Helper) OverrideDefaultValues ¶
func (*Helper) SetNamespace ¶
type InstallClient ¶
type Option ¶
type Option func(*Options)
func ActionConfig ¶
func ActionConfig(action *action.Configuration) Option
func CreateNamespace ¶
func EnvConfig ¶
func EnvConfig(env *cli.EnvSettings) Option
func KubeConfig ¶
func KubeConfig(kube kubernetes.Options) Option
type Options ¶
type Options struct { Release string ChartPath string Chart *chart.Chart Values map[string]any CreateNamespace bool EnvConfig *cli.EnvSettings ActionConfig *action.Configuration KubeConfig kubernetes.Options }
var (
Opts *Options
)
type UninstallClient ¶
type UninstallClient interface {
Run(string) (*release.UninstallReleaseResponse, error)
}
Click to show internal directories.
Click to hide internal directories.