helm
This module has been generated via dagger init and serves as a reference tobasic module structure as you get started with Dagger.
Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.
The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.
Installation
dagger install github.com/stuttgart-things/dagger/helm@v0.25.0
Entrypoint
Return Type
Helm
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
func (m *MyModule) Example() *dagger.Helm {
return dag.
Helm()
}
@function
def example() -> dagger.Helm:
return (
dag.helm()
)
@func()
example(): Helm {
return dag
.helm()
}
Types
Helm 🔗
baseImage() 🔗
Return Type
String !
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
base-image
func (m *MyModule) Example(ctx context.Context) string {
return dag.
Helm().
BaseImage(ctx)
}
@function
async def example() -> str:
return await (
dag.helm()
.base_image()
)
@func()
async example(): Promise<string> {
return dag
.helm()
.baseImage()
}
render() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
valuesFile | File | - | No description provided |
registrySecret | Secret | - | No description provided |
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
render --src DIR_PATH
func (m *MyModule) Example(ctx context.Context, src *dagger.Directory) string {
return dag.
Helm().
Render(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
return await (
dag.helm()
.render(src)
)
@func()
async example(src: Directory): Promise<string> {
return dag
.helm()
.render(src)
}
renderHelmfile() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
pathHelmfile | String | "./" | No description provided |
helmfileName | String | "helmfile.yaml" | No description provided |
registrySecret | Secret | - | No description provided |
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
render-helmfile --src DIR_PATH
func (m *MyModule) Example(ctx context.Context, src *dagger.Directory) string {
return dag.
Helm().
RenderHelmfile(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
return await (
dag.helm()
.render_helmfile(src)
)
@func()
async example(src: Directory): Promise<string> {
return dag
.helm()
.renderHelmfile(src)
}
lint() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
lint --src DIR_PATH
func (m *MyModule) Example(ctx context.Context, src *dagger.Directory) string {
return dag.
Helm().
Lint(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
return await (
dag.helm()
.lint(src)
)
@func()
async example(src: Directory): Promise<string> {
return dag
.helm()
.lint(src)
}
package() 🔗
Package updates the dependencies of a chart and packages the Helm chart.
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
package --src DIR_PATH
func (m *MyModule) Example(src *dagger.Directory) *dagger.File {
return dag.
Helm().
Package(src)
}
@function
def example(src: dagger.Directory) -> dagger.File:
return (
dag.helm()
.package(src)
)
@func()
example(src: Directory): File {
return dag
.helm()
.package(src)
}
dependencyUpdate() 🔗
DependencyUpdate updates the dependencies of a chart.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
dependency-update --src DIR_PATH
func (m *MyModule) Example(src *dagger.Directory) *dagger.Directory {
return dag.
Helm().
DependencyUpdate(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
return (
dag.helm()
.dependency_update(src)
)
@func()
example(src: Directory): Directory {
return dag
.helm()
.dependencyUpdate(src)
}
push() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
registry | String ! | - | No description provided |
repository | String ! | - | No description provided |
username | String ! | - | No description provided |
password | Secret ! | - | No description provided |
Example
dagger -m github.com/stuttgart-things/dagger/helm@76c14bed3b99a40abcba8324675a62414a58504e call \
push --src DIR_PATH --registry string --repository string --username string --password env:MYSECRET
func (m *MyModule) Example(ctx context.Context, src *dagger.Directory, registry string, repository string, username string, password *dagger.Secret) string {
return dag.
Helm().
Push(ctx, src, registry, repository, username, password)
}
@function
async def example(src: dagger.Directory, registry: str, repository: str, username: str, password: dagger.Secret) -> str:
return await (
dag.helm()
.push(src, registry, repository, username, password)
)
@func()
async example(src: Directory, registry: string, repository: string, username: string, password: Secret): Promise<string> {
return dag
.helm()
.push(src, registry, repository, username, password)
}