Dagger
Search

helm

No long description provided.

Installation

dagger install github.com/aweris/daggerverse/helm@1c14645e0139a4ca73969bc9314069d8e6d3b18b

Entrypoint

Return Type
Helm
Example
func (m *myModule) example() *Helm  {
	return dag.
			Helm()
}
@function
def example() -> dag.Helm:
	return (
		dag.helm()
	)
@func()
example(): Helm {
	return dag
		.helm()
}

Types

Helm

Helm represents the Helm module for Dagger.

cli()

Cli returns a Helm CLI with the given config.

Return Type
Cli !
Arguments
NameTypeDefault ValueDescription
configFile !-No description provided
Example
dagger -m github.com/aweris/daggerverse/helm@1c14645e0139a4ca73969bc9314069d8e6d3b18b call \
 cli --config file:path \
 exec --args string1 --args string2
func (m *myModule) example(config *File) *HelmCli  {
	return dag.
			Helm().
			Cli(config)
}
@function
def example(config: dagger.File) -> dag.HelmCli:
	return (
		dag.helm()
		.cli(config)
	)
@func()
example(config: File): HelmCli {
	return dag
		.helm()
		.cli(config)
}

Cli

config()

Return Type
File !
Example
dagger -m github.com/aweris/daggerverse/helm@1c14645e0139a4ca73969bc9314069d8e6d3b18b call \
 cli --config file:path \
 config
func (m *myModule) example(config *File) *File  {
	return dag.
			Helm().
			Cli(config).
			Config()
}
@function
def example(config: dagger.File) -> dagger.File:
	return (
		dag.helm()
		.cli(config)
		.config()
	)
@func()
example(config: File): File {
	return dag
		.helm()
		.cli(config)
		.config()
}

exec()

Exec executes the given Helm command and returns the stdout.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
dagger -m github.com/aweris/daggerverse/helm@1c14645e0139a4ca73969bc9314069d8e6d3b18b call \
 cli --config file:path \
 exec --args string1 --args string2
func (m *myModule) example(ctx context.Context, config *File, args []string) string  {
	return dag.
			Helm().
			Cli(config).
			Exec(ctx, args)
}
@function
async def example(config: dagger.File, args: List[str]) -> str:
	return await (
		dag.helm()
		.cli(config)
		.exec(args)
	)
@func()
async example(config: File, args: string[]): Promise<string> {
	return dag
		.helm()
		.cli(config)
		.exec(args)
}

container()

Container returns a container with the Helm image and given config. The entrypoint is set to Helm.

Return Type
Container !
Example
dagger -m github.com/aweris/daggerverse/helm@1c14645e0139a4ca73969bc9314069d8e6d3b18b call \
 cli --config file:path \
 container
func (m *myModule) example(config *File) *Container  {
	return dag.
			Helm().
			Cli(config).
			Container()
}
@function
def example(config: dagger.File) -> dagger.Container:
	return (
		dag.helm()
		.cli(config)
		.container()
	)
@func()
example(config: File): Container {
	return dag
		.helm()
		.cli(config)
		.container()
}