Documentation ¶
Overview ¶
package helm contains code vendored from the upstream Helm project.
package helm contains code vendored from the upstream Helm project.
Index ¶
- func ApplyRepositoryOpts(cpo *action.ChartPathOptions, p getter.Providers, ...) error
- func LocateKeyring(p getter.Providers, asset pulumi.Asset) (string, error)
- func MergeMaps(a, b map[string]interface{}) map[string]interface{}
- type ExecuteF
- type FakeExecutor
- type FakeLocator
- type InitActionConfigF
- type LocateChartF
- type TemplateCommand
- type TemplateOrInstallCommand
- type Tool
- type ValueOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRepositoryOpts ¶
func ApplyRepositoryOpts(cpo *action.ChartPathOptions, p getter.Providers, repoOpts helmv4.RepositoryOpts) error
func LocateKeyring ¶
LocateKeyring locates a keyring file for Helm from the given asset.
Types ¶
type FakeExecutor ¶
type FakeExecutor struct {
// contains filtered or unexported fields
}
func NewFakeExecutor ¶
func NewFakeExecutor() *FakeExecutor
func (*FakeExecutor) Action ¶
func (f *FakeExecutor) Action() *action.Install
func (*FakeExecutor) Chart ¶
func (f *FakeExecutor) Chart() *chart.Chart
func (*FakeExecutor) Values ¶
func (f *FakeExecutor) Values() map[string]interface{}
type FakeLocator ¶
func NewFakeLocator ¶
func NewFakeLocator(path string, err error) *FakeLocator
func (*FakeLocator) Action ¶
func (f *FakeLocator) Action() *action.Install
func (*FakeLocator) LocateChart ¶
func (f *FakeLocator) LocateChart(i *action.Install, name string, settings *cli.EnvSettings) (string, error)
func (*FakeLocator) Name ¶
func (f *FakeLocator) Name() string
func (*FakeLocator) Settings ¶
func (f *FakeLocator) Settings() *cli.EnvSettings
type InitActionConfigF ¶
type InitActionConfigF func(actionConfig *action.Configuration, namespaceOverride string) error
func FakeInitActionConfig ¶
func FakeInitActionConfig(defaultNamespace string, caps *chartutil.Capabilities) InitActionConfigF
type LocateChartF ¶
type TemplateCommand ¶
type TemplateCommand struct { TemplateOrInstallCommand Validate bool IncludeCRDs bool SkipTests bool }
TemplateCommand for `helm template`.
type TemplateOrInstallCommand ¶
type TemplateOrInstallCommand struct { // Install parameters. *action.Install // Chart is the chart specification, which can be: // - a path to a local chart directory or archive file // - a qualified chart reference (e.g., "stable/mariadb") based on the local repository configuration // - a URL to a remote chart (https://, oci://, file://, etc.) Chart string // Values to be applied to the chart. Values ValueOpts // contains filtered or unexported fields }
TemplateOrInstallCommand for `helm template` or `helm install`.
type Tool ¶
type Tool struct { EnvSettings *cli.EnvSettings HelmDriver string // contains filtered or unexported fields }
Tool for executing Helm commands via the Helm library.
func NewFakeTool ¶
func NewFakeTool(settings *cli.EnvSettings, initActionConfig InitActionConfigF, locateChart LocateChartF, execute ExecuteF) *Tool
NewFakeTool creates a new Helm tool with faked execution.
func NewTool ¶
func NewTool(settings *cli.EnvSettings) *Tool
NewTool creates a new Helm tool with the given environment settings.
func (*Tool) AllGetters ¶
func (*Tool) Template ¶
func (t *Tool) Template() *TemplateCommand
Template returns a new `helm template` command.
Click to show internal directories.
Click to hide internal directories.