helm
Crane is a tool for managing container images
Installation
dagger install github.com/opopops/daggerverse/helm@v1.1.0
Entrypoint
Return Type
Helm !
Arguments
Name | Type | Description |
---|---|---|
image | String ! | Helm image |
registryUsername | String | No description provided |
registryPassword | Secret | No description provided |
user | String | No description provided |
container | Container | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string
func (m *myModule) example(image string) *Helm {
return dag.
Helm(image)
}
@function
def example(image: str, ) -> dag.Helm:
return (
dag.helm(image)
)
@func()
example(image: string, ): Helm {
return dag
.helm(image)
}
Types
Helm 🔗
Helm module
image() 🔗
Helm image
Return Type
String !
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string image
func (m *myModule) example(ctx context.Context, image string) string {
return dag.
Helm(image).
Image(ctx)
}
@function
async def example(image: str, ) -> str:
return await (
dag.helm(image)
.image()
)
@func()
async example(image: string, ): Promise<string> {
return dag
.helm(image)
.image()
}
registryUsername() 🔗
Return Type
String
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string registry-username
func (m *myModule) example(ctx context.Context, image string) string {
return dag.
Helm(image).
RegistryUsername(ctx)
}
@function
async def example(image: str, ) -> str:
return await (
dag.helm(image)
.registry_username()
)
@func()
async example(image: string, ): Promise<string> {
return dag
.helm(image)
.registryUsername()
}
registryPassword() 🔗
Return Type
Secret
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string registry-password
func (m *myModule) example(image string) *Secret {
return dag.
Helm(image).
RegistryPassword()
}
@function
def example(image: str, ) -> dagger.Secret:
return (
dag.helm(image)
.registry_password()
)
@func()
example(image: string, ): Secret {
return dag
.helm(image)
.registryPassword()
}
user() 🔗
Return Type
String
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string user
func (m *myModule) example(ctx context.Context, image string) string {
return dag.
Helm(image).
User(ctx)
}
@function
async def example(image: str, ) -> str:
return await (
dag.helm(image)
.user()
)
@func()
async example(image: string, ): Promise<string> {
return dag
.helm(image)
.user()
}
container() 🔗
Returns container
Return Type
Container !
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string container
func (m *myModule) example(image string) *Container {
return dag.
Helm(image).
Container()
}
@function
def example(image: str, ) -> dagger.Container:
return (
dag.helm(image)
.container()
)
@func()
example(image: string, ): Container {
return dag
.helm(image)
.container()
}
withRegistryAuth() 🔗
Authenticate with registry
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
username | String ! | - | Registry username |
secret | Secret ! | - | Registry password |
address | String | "docker.io" | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string with-registry-auth --username string --secret env:MYSECRET
func (m *myModule) example(image string, username string, secret *Secret) *Helm {
return dag.
Helm(image).
WithRegistryAuth(username, secret)
}
@function
def example(image: str, username: str, secret: dagger.Secret) -> dag.Helm:
return (
dag.helm(image)
.with_registry_auth(username, secret)
)
@func()
example(image: string, username: string, secret: Secret): Helm {
return dag
.helm(image)
.withRegistryAuth(username, secret)
}
lint() 🔗
Verify that the chart is well-formed
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | Directory ! | - | Path to the chart |
strict | Boolean | false | No description provided |
quiet | Boolean | false | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string lint --path DIR_PATH
func (m *myModule) example(ctx context.Context, image string, path *Directory) string {
return dag.
Helm(image).
Lint(ctx, path)
}
@function
async def example(image: str, path: dagger.Directory) -> str:
return await (
dag.helm(image)
.lint(path)
)
@func()
async example(image: string, path: Directory): Promise<string> {
return dag
.helm(image)
.lint(path)
}
withLint() 🔗
Verify that the chart is well-formed (for chaining)
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | Directory ! | - | Path to the chart |
strict | Boolean | false | No description provided |
quiet | Boolean | false | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string with-lint --path DIR_PATH
func (m *myModule) example(image string, path *Directory) *Helm {
return dag.
Helm(image).
WithLint(path)
}
@function
def example(image: str, path: dagger.Directory) -> dag.Helm:
return (
dag.helm(image)
.with_lint(path)
)
@func()
example(image: string, path: Directory): Helm {
return dag
.helm(image)
.withLint(path)
}
template() 🔗
Render chart templates locally and display the output
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | Directory ! | - | Path to the chart |
showOnly | [String ! ] | null | No description provided |
sets | [String ! ] | null | No description provided |
setFiles | [String ! ] | null | No description provided |
setJsons | [File ! ] | null | No description provided |
setLiterals | [File ! ] | null | No description provided |
setStrings | [File ! ] | null | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string template --path DIR_PATH
func (m *myModule) example(ctx context.Context, image string, path *Directory) string {
return dag.
Helm(image).
Template(ctx, path)
}
@function
async def example(image: str, path: dagger.Directory) -> str:
return await (
dag.helm(image)
.template(path)
)
@func()
async example(image: string, path: Directory): Promise<string> {
return dag
.helm(image)
.template(path)
}
package() 🔗
Packages a chart into a versioned chart archive file
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | Directory ! | - | Path to the chart |
appVersion | String | null | No description provided |
version | String | null | No description provided |
dependencyUpdate | Boolean | false | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string package --path DIR_PATH
func (m *myModule) example(image string, path *Directory) *File {
return dag.
Helm(image).
Package(path)
}
@function
def example(image: str, path: dagger.Directory) -> dagger.File:
return (
dag.helm(image)
.package(path)
)
@func()
example(image: string, path: Directory): File {
return dag
.helm(image)
.package(path)
}
push() 🔗
Verify that the chart is well-formed
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
chart | File ! | - | Path to the chart |
registry | String ! | - | Registry host |
username | String | null | No description provided |
password | Secret | null | No description provided |
plainHttp | Boolean | false | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string push --chart file:path --registry string
func (m *myModule) example(ctx context.Context, image string, chart *File, registry string) string {
return dag.
Helm(image).
Push(ctx, chart, registry)
}
@function
async def example(image: str, chart: dagger.File, registry: str) -> str:
return await (
dag.helm(image)
.push(chart, registry)
)
@func()
async example(image: string, chart: File, registry: string): Promise<string> {
return dag
.helm(image)
.push(chart, registry)
}
packagePush() 🔗
Packages a chart an push it to the registry
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | Directory ! | - | Path to the chart |
registry | String ! | - | Registry host |
username | String | null | No description provided |
password | Secret | null | No description provided |
plainHttp | Boolean | false | No description provided |
appVersion | String | null | No description provided |
version | String | null | No description provided |
dependencyUpdate | Boolean | false | No description provided |
Example
dagger -m github.com/opopops/daggerverse/helm@270ccf7a56294096ba116a5306abf33240d2b5a1 call \
--image string package-push --path DIR_PATH --registry string
func (m *myModule) example(ctx context.Context, image string, path *Directory, registry string) string {
return dag.
Helm(image).
PackagePush(ctx, path, registry)
}
@function
async def example(image: str, path: dagger.Directory, registry: str) -> str:
return await (
dag.helm(image)
.package_push(path, registry)
)
@func()
async example(image: string, path: Directory, registry: string): Promise<string> {
return dag
.helm(image)
.packagePush(path, registry)
}