MikaelElkiaer
No long description provided.
Installation
dagger install github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217
Entrypoint
Return Type
MikaelElkiaer
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
testing
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()
}
helm() 🔗
Submodule for Helm
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm
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()
}
withAdditionalCa() 🔗
Add an additional CA certificate
Return Type
MikaelElkiaer !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
file | Secret ! | - | File containing the CA |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
with-additional-ca --file env:MYSECRET
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
Name | Type | Default Value | Description |
---|---|---|---|
name | String | - | Used as identifier in configs Defaults to userId GitHub: Used as organisation name if set |
url | String ! | "ghcr.io" | URL to the service |
userId | String ! | - | User name, email, or similar |
userSecret | Secret ! | - | Password, token, or similar |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
with-cred --url string --user-id string --user-secret env:MYSECRET
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)
}
compose() 🔗
Submodule for Docker Compose
Return Type
Compose !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
compose
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
dotnet
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Directory containing source files |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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
Name | Type | Default Value | Description |
---|---|---|---|
file | File ! | - | Docker Compose file |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Directory containing the source code |
configuration | String ! | "Release" | Build configuration to use |
csproj | String ! | "**/*.csproj" | Pattern to match the csproj files |
sln | String ! | "*.sln" | Pattern to match the sln files |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
dotnet \
build --source DIR_PATH --configuration string --csproj string --sln string
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
Name | Type | Default Value | Description |
---|---|---|---|
feed | String ! | - | NuGet feed URL |
name | String ! | - | Used as identifier in configs |
userId | String ! | - | User name, email, or similar |
userSecret | Secret ! | - | Password, token, or similar |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
dotnet \
with-nuget --feed string --name string --user-id string --user-secret env:MYSECRET
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
Name | Type | Default Value | Description |
---|---|---|---|
fromCred | String | - | Credential to use Defaults to the first credential |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
dotnet \
with-nuget-ghcr
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
lint
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
schema
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
docs
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
unittest
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
check
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
package
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
Name | Type | Default Value | Description |
---|---|---|---|
additionalArgs | String ! | "" | Additional arguments to pass to helm template |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
template --additional-args string
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
dotnet \
build --source DIR_PATH --configuration string --csproj string --sln string \
test
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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
Name | Type | Default Value | Description |
---|---|---|---|
registry | String ! | - | Registry URI to push the Helm package |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
template --additional-args string \
package \
push --registry string
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
Name | Type | Default Value | Description |
---|---|---|---|
additionalArgs | String ! | "" | Additional arguments to pass to helm template |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
template --additional-args string \
package \
template --additional-args string
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
Name | Type | Default Value | Description |
---|---|---|---|
additionalArgs | String ! | "" | Additional arguments to pass to helm upgrade |
kubernetesPort | Integer ! | 6443 | Port to use for the Kubernetes API |
kubernetesService | Service ! | - | Service providing Kubernetes API TODO: Make this optional and default to a built-in service |
kubeconfig | File | - | kubeconfig to use for Kubernetes API access Required if kubernetesService is provided |
name | String ! | - | Name of the Helm release |
namespace | String ! | - | Namespace of the Helm release |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 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
Name | Type | Default Value | Description |
---|---|---|---|
kubernetesVersion | String ! | "1.29" | Kubernetes version to check against |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
template --additional-args string \
validate --kubernetes-version string
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
Name | Type | Default Value | Description |
---|---|---|---|
kubernetesVersion | String ! | "1.29" | Kubernetes version to check against |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
template --additional-args string \
pluto --kubernetes-version string
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
Name | Type | Default Value | Description |
---|---|---|---|
kubernetesVersion | String ! | "1.29" | Kubernetes version to check against |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
template --additional-args string \
check --kubernetes-version string
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@dc98fdd66ddda7a3746fe1eb0fb3a004760fc217 call \
helm \
build --source DIR_PATH \
template --additional-args string \
package
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()
}