Dagger
Search

MikaelElkiaer

No long description provided.

Installation

dagger install github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e

Entrypoint

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

Types

MikaelElkiaer 🔗

testing() 🔗

Simple examples for test purposes

Return Type
Testing !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 testing \
 interrupt
func (m *myModule) example() *MikaelElkiaerTesting  {
	return dag.
			MikaelElkiaer().
			Testing()
}
@function
def example() -> dag.MikaelElkiaerTesting:
	return (
		dag.mikael_elkiaer()
		.testing()
	)
@func()
example(): MikaelElkiaerTesting {
	return dag
		.mikaelElkiaer()
		.testing()
}

withAdditionalCa() 🔗

Add an additional CA certificate

Return Type
MikaelElkiaer !
Arguments
NameTypeDefault ValueDescription
fileSecret !-File containing the CA
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 with-additional-ca --file env:MYSECRET \
 testing \
 interrupt
func (m *myModule) example(file *Secret) *MikaelElkiaer  {
	return dag.
			MikaelElkiaer().
			WithAdditionalCa(file)
}
@function
def example(file: dagger.Secret) -> dag.MikaelElkiaer:
	return (
		dag.mikael_elkiaer()
		.with_additional_ca(file)
	)
@func()
example(file: Secret): MikaelElkiaer {
	return dag
		.mikaelElkiaer()
		.withAdditionalCa(file)
}

withCred() 🔗

Add additional creds

Return Type
MikaelElkiaer !
Arguments
NameTypeDefault ValueDescription
nameString -Used as identifier in configs Defaults to userId GitHub: Used as organisation name if set
urlString !"ghcr.io"URL to the service
userIdString !-User name, email, or similar
userSecretSecret !-Password, token, or similar
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 with-cred --url string --user-id string --user-secret env:MYSECRET \
 testing \
 interrupt
func (m *myModule) example(url string, userId string, userSecret *Secret) *MikaelElkiaer  {
	return dag.
			MikaelElkiaer().
			WithCred(url, userId, userSecret)
}
@function
def example(url: str, user_id: str, user_secret: dagger.Secret) -> dag.MikaelElkiaer:
	return (
		dag.mikael_elkiaer()
		.with_cred(url, user_id, user_secret)
	)
@func()
example(url: string, userId: string, userSecret: Secret): MikaelElkiaer {
	return dag
		.mikaelElkiaer()
		.withCred(url, userId, userSecret)
}

helm() 🔗

Submodule for Helm

Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 as-directory
func (m *myModule) example() *MikaelElkiaerHelm  {
	return dag.
			MikaelElkiaer().
			Helm()
}
@function
def example() -> dag.MikaelElkiaerHelm:
	return (
		dag.mikael_elkiaer()
		.helm()
	)
@func()
example(): MikaelElkiaerHelm {
	return dag
		.mikaelElkiaer()
		.helm()
}

compose() 🔗

Submodule for Docker Compose

Return Type
Compose !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 compose \
 update-images --file file:path
func (m *myModule) example() *MikaelElkiaerCompose  {
	return dag.
			MikaelElkiaer().
			Compose()
}
@function
def example() -> dag.MikaelElkiaerCompose:
	return (
		dag.mikael_elkiaer()
		.compose()
	)
@func()
example(): MikaelElkiaerCompose {
	return dag
		.mikaelElkiaer()
		.compose()
}

dotnet() 🔗

.NET submodule

Return Type
Dotnet !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 dotnet \
 build --source DIR_PATH --configuration string --csproj string --sln string \
 publish
func (m *myModule) example() *MikaelElkiaerDotnet  {
	return dag.
			MikaelElkiaer().
			Dotnet()
}
@function
def example() -> dag.MikaelElkiaerDotnet:
	return (
		dag.mikael_elkiaer()
		.dotnet()
	)
@func()
example(): MikaelElkiaerDotnet {
	return dag
		.mikaelElkiaer()
		.dotnet()
}

Testing 🔗

interrupt() 🔗

Return Type
String !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 testing \
 interrupt
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			MikaelElkiaer().
			Testing().
			Interrupt(ctx)
}
@function
async def example() -> str:
	return await (
		dag.mikael_elkiaer()
		.testing()
		.interrupt()
	)
@func()
async example(): Promise<string> {
	return dag
		.mikaelElkiaer()
		.testing()
		.interrupt()
}

Helm 🔗

base() 🔗

Base container with tools

Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 base
func (m *myModule) example() *Container  {
	return dag.
			MikaelElkiaer().
			Helm().
			Base()
}
@function
def example() -> dagger.Container:
	return (
		dag.mikael_elkiaer()
		.helm()
		.base()
	)
@func()
example(): Container {
	return dag
		.mikaelElkiaer()
		.helm()
		.base()
}

build() 🔗

Run build commands

Return Type
HelmBuild !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-Directory containing source files
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 as-directory
func (m *myModule) example(source *Directory) *MikaelElkiaerHelmBuild  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source)
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelmBuild:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
	)
@func()
example(source: Directory): MikaelElkiaerHelmBuild {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
}

Compose 🔗

container() 🔗

Current state

Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 compose \
 container
func (m *myModule) example() *Container  {
	return dag.
			MikaelElkiaer().
			Compose().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.mikael_elkiaer()
		.compose()
		.container()
	)
@func()
example(): Container {
	return dag
		.mikaelElkiaer()
		.compose()
		.container()
}

updateImages() 🔗

Update image tags for all services

Return Type
File !
Arguments
NameTypeDefault ValueDescription
fileFile !-Docker Compose file
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 compose \
 update-images --file file:path
func (m *myModule) example(file *File) *File  {
	return dag.
			MikaelElkiaer().
			Compose().
			UpdateImages(file)
}
@function
def example(file: dagger.File) -> dagger.File:
	return (
		dag.mikael_elkiaer()
		.compose()
		.update_images(file)
	)
@func()
example(file: File): File {
	return dag
		.mikaelElkiaer()
		.compose()
		.updateImages(file)
}

Dotnet 🔗

build() 🔗

Build a .NET project

Return Type
DotnetBuild !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-Directory containing the source code
configurationString !"Release"Build configuration to use
csprojString !"**/*.csproj"Pattern to match the csproj files
slnString !"*.sln"Pattern to match the sln files
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 dotnet \
 build --source DIR_PATH --configuration string --csproj string --sln string \
 publish
func (m *myModule) example(source *Directory, configuration string, csproj string, sln string) *MikaelElkiaerDotnetBuild  {
	return dag.
			MikaelElkiaer().
			Dotnet().
			Build(source, configuration, csproj, sln)
}
@function
def example(source: dagger.Directory, configuration: str, csproj: str, sln: str) -> dag.MikaelElkiaerDotnetBuild:
	return (
		dag.mikael_elkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
	)
@func()
example(source: Directory, configuration: string, csproj: string, sln: string): MikaelElkiaerDotnetBuild {
	return dag
		.mikaelElkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
}

withNuget() 🔗

Set up NuGet config

Return Type
Dotnet !
Arguments
NameTypeDefault ValueDescription
feedString !-NuGet feed URL
nameString !-Used as identifier in configs
userIdString !-User name, email, or similar
userSecretSecret !-Password, token, or similar
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 dotnet \
 with-nuget --feed string --name string --user-id string --user-secret env:MYSECRET \
 build --source DIR_PATH --configuration string --csproj string --sln string \
 publish
func (m *myModule) example(feed string, name string, userId string, userSecret *Secret) *MikaelElkiaerDotnet  {
	return dag.
			MikaelElkiaer().
			Dotnet().
			WithNuget(feed, name, userId, userSecret)
}
@function
def example(feed: str, name: str, user_id: str, user_secret: dagger.Secret) -> dag.MikaelElkiaerDotnet:
	return (
		dag.mikael_elkiaer()
		.dotnet()
		.with_nuget(feed, name, user_id, user_secret)
	)
@func()
example(feed: string, name: string, userId: string, userSecret: Secret): MikaelElkiaerDotnet {
	return dag
		.mikaelElkiaer()
		.dotnet()
		.withNuget(feed, name, userId, userSecret)
}

withNugetGhcr() 🔗

Set up NuGet config for GitHub Container Registry

Return Type
Dotnet !
Arguments
NameTypeDefault ValueDescription
fromCredString -Credential to use Defaults to the first credential
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 dotnet \
 with-nuget-ghcr \
 build --source DIR_PATH --configuration string --csproj string --sln string \
 publish
func (m *myModule) example() *MikaelElkiaerDotnet  {
	return dag.
			MikaelElkiaer().
			Dotnet().
			WithNugetGhcr()
}
@function
def example() -> dag.MikaelElkiaerDotnet:
	return (
		dag.mikael_elkiaer()
		.dotnet()
		.with_nuget_ghcr()
	)
@func()
example(): MikaelElkiaerDotnet {
	return dag
		.mikaelElkiaer()
		.dotnet()
		.withNugetGhcr()
}

HelmBuild 🔗

container() 🔗

Current state

Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 container
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Container()
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.container()
	)
@func()
example(source: Directory): Container {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.container()
}

asDirectory() 🔗

Get directory containing modified source files

Return Type
Directory !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 as-directory
func (m *myModule) example(source *Directory) *Directory  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			AsDirectory()
}
@function
def example(source: dagger.Directory) -> dagger.Directory:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.as_directory()
	)
@func()
example(source: Directory): Directory {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.asDirectory()
}

lint() 🔗

Run helm lint

Return Type
HelmBuild !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 lint \
 as-directory
func (m *myModule) example(source *Directory) *MikaelElkiaerHelmBuild  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Lint()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelmBuild:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.lint()
	)
@func()
example(source: Directory): MikaelElkiaerHelmBuild {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.lint()
}

schema() 🔗

Run helm-schema (from @socialgouv)

Return Type
HelmBuild !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 schema \
 as-directory
func (m *myModule) example(source *Directory) *MikaelElkiaerHelmBuild  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Schema()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelmBuild:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.schema()
	)
@func()
example(source: Directory): MikaelElkiaerHelmBuild {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.schema()
}

docs() 🔗

Run helm-docs (from @norwoodj)

Return Type
HelmBuild !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 docs \
 as-directory
func (m *myModule) example(source *Directory) *MikaelElkiaerHelmBuild  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Docs()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelmBuild:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.docs()
	)
@func()
example(source: Directory): MikaelElkiaerHelmBuild {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.docs()
}

unittest() 🔗

Run helm-unittest (from @helm-unittest)

Return Type
HelmBuild !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 unittest \
 as-directory
func (m *myModule) example(source *Directory) *MikaelElkiaerHelmBuild  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Unittest()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelmBuild:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.unittest()
	)
@func()
example(source: Directory): MikaelElkiaerHelmBuild {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.unittest()
}

check() 🔗

Run all checks

Return Type
HelmBuild !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 check \
 as-directory
func (m *myModule) example(source *Directory) *MikaelElkiaerHelmBuild  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Check()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelmBuild:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.check()
	)
@func()
example(source: Directory): MikaelElkiaerHelmBuild {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.check()
}

package() 🔗

Package Helm chart

Return Type
HelmPackage !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 package \
 as-file
func (m *myModule) example(source *Directory) *MikaelElkiaerHelmPackage  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Package()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelmPackage:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.package()
	)
@func()
example(source: Directory): MikaelElkiaerHelmPackage {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.package()
}

template() 🔗

Template Helm chart using source

Return Type
HelmTemplate !
Arguments
NameTypeDefault ValueDescription
additionalArgsString !""Additional arguments to pass to helm template
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 package \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string) *MikaelElkiaerHelmTemplate  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs)
}
@function
def example(source: dagger.Directory, additional_args: str) -> dag.MikaelElkiaerHelmTemplate:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
	)
@func()
example(source: Directory, additionalArgs: string): MikaelElkiaerHelmTemplate {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
}

DotnetBuild 🔗

container() 🔗

Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 dotnet \
 build --source DIR_PATH --configuration string --csproj string --sln string \
 container
func (m *myModule) example(source *Directory, configuration string, csproj string, sln string) *Container  {
	return dag.
			MikaelElkiaer().
			Dotnet().
			Build(source, configuration, csproj, sln).
			Container()
}
@function
def example(source: dagger.Directory, configuration: str, csproj: str, sln: str) -> dagger.Container:
	return (
		dag.mikael_elkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
		.container()
	)
@func()
example(source: Directory, configuration: string, csproj: string, sln: string): Container {
	return dag
		.mikaelElkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
		.container()
}

test() 🔗

Run all available tests

Return Type
DotnetBuild !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 dotnet \
 build --source DIR_PATH --configuration string --csproj string --sln string \
 test \
 publish
func (m *myModule) example(source *Directory, configuration string, csproj string, sln string) *MikaelElkiaerDotnetBuild  {
	return dag.
			MikaelElkiaer().
			Dotnet().
			Build(source, configuration, csproj, sln).
			Test()
}
@function
def example(source: dagger.Directory, configuration: str, csproj: str, sln: str) -> dag.MikaelElkiaerDotnetBuild:
	return (
		dag.mikael_elkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
		.test()
	)
@func()
example(source: Directory, configuration: string, csproj: string, sln: string): MikaelElkiaerDotnetBuild {
	return dag
		.mikaelElkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
		.test()
}

publish() 🔗

Publish with runtime

Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 dotnet \
 build --source DIR_PATH --configuration string --csproj string --sln string \
 publish
func (m *myModule) example(source *Directory, configuration string, csproj string, sln string) *Container  {
	return dag.
			MikaelElkiaer().
			Dotnet().
			Build(source, configuration, csproj, sln).
			Publish()
}
@function
def example(source: dagger.Directory, configuration: str, csproj: str, sln: str) -> dagger.Container:
	return (
		dag.mikael_elkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
		.publish()
	)
@func()
example(source: Directory, configuration: string, csproj: string, sln: string): Container {
	return dag
		.mikaelElkiaer()
		.dotnet()
		.build(source, configuration, csproj, sln)
		.publish()
}

HelmPackage 🔗

container() 🔗

Current state

Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 package \
 container
func (m *myModule) example(source *Directory, additionalArgs string) *Container  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Package().
			Container()
}
@function
def example(source: dagger.Directory, additional_args: str) -> dagger.Container:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.package()
		.container()
	)
@func()
example(source: Directory, additionalArgs: string): Container {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.package()
		.container()
}

asFile() 🔗

Get Helm package

Return Type
File !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 package \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string) *File  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Package().
			AsFile()
}
@function
def example(source: dagger.Directory, additional_args: str) -> dagger.File:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.package()
		.as_file()
	)
@func()
example(source: Directory, additionalArgs: string): File {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.package()
		.asFile()
}

push() 🔗

Push Helm package to registry

Return Type
HelmPackage !
Arguments
NameTypeDefault ValueDescription
registryString !-Registry URI to push the Helm package
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 package \
 push --registry string \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string, registry string) *MikaelElkiaerHelmPackage  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Package().
			Push(registry)
}
@function
def example(source: dagger.Directory, additional_args: str, registry: str) -> dag.MikaelElkiaerHelmPackage:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.package()
		.push(registry)
	)
@func()
example(source: Directory, additionalArgs: string, registry: string): MikaelElkiaerHelmPackage {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.package()
		.push(registry)
}

template() 🔗

Template Helm chart using package

Return Type
HelmTemplate !
Arguments
NameTypeDefault ValueDescription
additionalArgsString !""Additional arguments to pass to helm template
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 package \
 template --additional-args string \
 package \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string, additionalArgs1 string) *MikaelElkiaerHelmTemplate  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Package().
			Template(additionalArgs1)
}
@function
def example(source: dagger.Directory, additional_args: str, additional_args1: str) -> dag.MikaelElkiaerHelmTemplate:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.package()
		.template(additional_args1)
	)
@func()
example(source: Directory, additionalArgs: string, additionalArgs1: string): MikaelElkiaerHelmTemplate {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.package()
		.template(additionalArgs1)
}

deploy() 🔗

Deploy Helm package to a cluster

Return Type
HelmPackage !
Arguments
NameTypeDefault ValueDescription
additionalArgsString !""Additional arguments to pass to helm upgrade
kubernetesPortInteger !6443Port to use for the Kubernetes API
kubernetesServiceService !-Service providing Kubernetes API TODO: Make this optional and default to a built-in service
kubeconfigFile -kubeconfig to use for Kubernetes API access Required if kubernetesService is provided
nameString !-Name of the Helm release
namespaceString !-Namespace of the Helm release
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 package \
 deploy --additional-args string --kubernetes-port integer --kubernetes-service PROTOCOL://HOST:PORT --name string --namespace string \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string, additionalArgs1 string, kubernetesPort int, kubernetesService *Service, name string, namespace string) *MikaelElkiaerHelmPackage  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Package().
			Deploy(additionalArgs1, kubernetesPort, kubernetesService, name, namespace)
}
@function
def example(source: dagger.Directory, additional_args: str, additional_args1: str, kubernetes_port: int, kubernetes_service: dagger.Service, name: str, namespace: str) -> dag.MikaelElkiaerHelmPackage:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.package()
		.deploy(additional_args1, kubernetes_port, kubernetes_service, name, namespace)
	)
@func()
example(source: Directory, additionalArgs: string, additionalArgs1: string, kubernetesPort: number, kubernetesService: Service, name: string, namespace: string): MikaelElkiaerHelmPackage {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.package()
		.deploy(additionalArgs1, kubernetesPort, kubernetesService, name, namespace)
}

HelmTemplate 🔗

container() 🔗

Current state

Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 container
func (m *myModule) example(source *Directory, additionalArgs string) *Container  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Container()
}
@function
def example(source: dagger.Directory, additional_args: str) -> dagger.Container:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.container()
	)
@func()
example(source: Directory, additionalArgs: string): Container {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.container()
}

validate() 🔗

Run kubectl-validate

Return Type
HelmTemplate !
Arguments
NameTypeDefault ValueDescription
kubernetesVersionString !"1.29"Kubernetes version to check against
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 validate --kubernetes-version string \
 package \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string, kubernetesVersion string) *MikaelElkiaerHelmTemplate  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Validate(kubernetesVersion)
}
@function
def example(source: dagger.Directory, additional_args: str, kubernetes_version: str) -> dag.MikaelElkiaerHelmTemplate:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.validate(kubernetes_version)
	)
@func()
example(source: Directory, additionalArgs: string, kubernetesVersion: string): MikaelElkiaerHelmTemplate {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.validate(kubernetesVersion)
}

pluto() 🔗

Run pluto (from @FairwindsOps)

Return Type
HelmTemplate !
Arguments
NameTypeDefault ValueDescription
kubernetesVersionString !"1.29"Kubernetes version to check against
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 pluto --kubernetes-version string \
 package \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string, kubernetesVersion string) *MikaelElkiaerHelmTemplate  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Pluto(kubernetesVersion)
}
@function
def example(source: dagger.Directory, additional_args: str, kubernetes_version: str) -> dag.MikaelElkiaerHelmTemplate:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.pluto(kubernetes_version)
	)
@func()
example(source: Directory, additionalArgs: string, kubernetesVersion: string): MikaelElkiaerHelmTemplate {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.pluto(kubernetesVersion)
}

check() 🔗

Run all checks

Return Type
HelmTemplate !
Arguments
NameTypeDefault ValueDescription
kubernetesVersionString !"1.29"Kubernetes version to check against
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 check --kubernetes-version string \
 package \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string, kubernetesVersion string) *MikaelElkiaerHelmTemplate  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Check(kubernetesVersion)
}
@function
def example(source: dagger.Directory, additional_args: str, kubernetes_version: str) -> dag.MikaelElkiaerHelmTemplate:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.check(kubernetes_version)
	)
@func()
example(source: Directory, additionalArgs: string, kubernetesVersion: string): MikaelElkiaerHelmTemplate {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.check(kubernetesVersion)
}

package() 🔗

Package Helm chart

Return Type
HelmPackage !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e2a1eba8c8509a6ee165251b4e297e92f7f1c05e call \
 helm \
 build --source DIR_PATH \
 template --additional-args string \
 package \
 as-file
func (m *myModule) example(source *Directory, additionalArgs string) *MikaelElkiaerHelmPackage  {
	return dag.
			MikaelElkiaer().
			Helm().
			Build(source).
			Template(additionalArgs).
			Package()
}
@function
def example(source: dagger.Directory, additional_args: str) -> dag.MikaelElkiaerHelmPackage:
	return (
		dag.mikael_elkiaer()
		.helm()
		.build(source)
		.template(additional_args)
		.package()
	)
@func()
example(source: Directory, additionalArgs: string): MikaelElkiaerHelmPackage {
	return dag
		.mikaelElkiaer()
		.helm()
		.build(source)
		.template(additionalArgs)
		.package()
}