MikaelElkiaer
No long description provided.
Installation
dagger install github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6
Entrypoint
Return Type
MikaelElkiaer
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 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@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 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()
}
dotnet() 🔗
.NET submodule
Return Type
Dotnet !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
configuration | String ! | "Release" | Configuration to use for commands |
entrypointProject | String ! | - | Name of the entrypoint project |
source | Directory ! | - | Solution directory |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH
func (m *myModule) example(configuration string, entrypointProject string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source)
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
)
@func()
example(configuration: string, entrypointProject: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
}
helm() 🔗
Submodule for Helm
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Helm chart path |
targetKubernetesVersion | String ! | "1.29" | Kubernetes version to check against |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion)
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
}
withCa() 🔗
Add an additional CA certificate
Return Type
MikaelElkiaer !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
file | File ! | - | File containing the CA |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
with-ca --file file:path
func (m *myModule) example(file *File) *MikaelElkiaer {
return dag.
MikaelElkiaer().
WithCa(file)
}
@function
def example(file: dagger.File) -> dag.MikaelElkiaer:
return (
dag.mikael_elkiaer()
.with_ca(file)
)
@func()
example(file: File): MikaelElkiaer {
return dag
.mikaelElkiaer()
.withCa(file)
}
withDownloadedCa() 🔗
Return Type
MikaelElkiaer !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
uri | String ! | - | No description provided |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
with-downloaded-ca --uri string
func (m *myModule) example(uri string) *MikaelElkiaer {
return dag.
MikaelElkiaer().
WithDownloadedCa(uri)
}
@function
def example(uri: str) -> dag.MikaelElkiaer:
return (
dag.mikael_elkiaer()
.with_downloaded_ca(uri)
)
@func()
example(uri: string): MikaelElkiaer {
return dag
.mikaelElkiaer()
.withDownloadedCa(uri)
}
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@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 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@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 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()
}
Testing 🔗
interrupt() 🔗
Return Type
String !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 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()
}
Dotnet 🔗
container() 🔗
Latest run container, contains workdir
Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
container
func (m *myModule) example(configuration string, entrypointProject string, source *Directory) *Container {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
Container()
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory) -> dagger.Container:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.container()
)
@func()
example(configuration: string, entrypointProject: string, source: Directory): Container {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.container()
}
restore() 🔗
Restore dependencies
Return Type
Dotnet !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
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@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
restore --csproj string --sln string
func (m *myModule) example(configuration string, entrypointProject string, source *Directory, csproj string, sln string) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
Restore(csproj, sln)
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory, csproj: str, sln: str) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.restore(csproj, sln)
)
@func()
example(configuration: string, entrypointProject: string, source: Directory, csproj: string, sln: string): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.restore(csproj, sln)
}
build() 🔗
Build a .NET project
Return Type
Dotnet !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
build
func (m *myModule) example(configuration string, entrypointProject string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
Build()
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.build()
)
@func()
example(configuration: string, entrypointProject: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.build()
}
test() 🔗
Run all available tests
Return Type
Dotnet !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
test
func (m *myModule) example(configuration string, entrypointProject string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
Test()
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.test()
)
@func()
example(configuration: string, entrypointProject: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.test()
}
publish() 🔗
Publish with runtime
Return Type
Dotnet !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
publish
func (m *myModule) example(configuration string, entrypointProject string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
Publish()
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.publish()
)
@func()
example(configuration: string, entrypointProject: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.publish()
}
buildContainer() 🔗
Build container with runtime
Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
build-container
func (m *myModule) example(configuration string, entrypointProject string, source *Directory) *Container {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
BuildContainer()
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory) -> dagger.Container:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.build_container()
)
@func()
example(configuration: string, entrypointProject: string, source: Directory): Container {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.buildContainer()
}
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@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
with-nuget --feed string --name string --user-id string --user-secret env:MYSECRET
func (m *myModule) example(configuration string, entrypointProject string, source *Directory, feed string, name string, userId string, userSecret *Secret) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
WithNuget(feed, name, userId, userSecret)
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory, feed: str, name: str, user_id: str, user_secret: dagger.Secret) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.with_nuget(feed, name, user_id, user_secret)
)
@func()
example(configuration: string, entrypointProject: string, source: Directory, feed: string, name: string, userId: string, userSecret: Secret): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.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@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
dotnet --configuration string --entrypoint-project string --source DIR_PATH \
with-nuget-ghcr
func (m *myModule) example(configuration string, entrypointProject string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, entrypointProject, source).
WithNugetGhcr()
}
@function
def example(configuration: str, entrypoint_project: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, entrypoint_project, source)
.with_nuget_ghcr()
)
@func()
example(configuration: string, entrypointProject: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, entrypointProject, source)
.withNugetGhcr()
}
Helm 🔗
container() 🔗
Latest run container, contains workdir
Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
container
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *Container {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Container()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dagger.Container:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.container()
)
@func()
example(source: Directory, targetKubernetesVersion: string): Container {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.container()
}
build() 🔗
Run build commands
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
build
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Build()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.build()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.build()
}
lint() 🔗
Run helm lint
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
lint
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Lint()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.lint()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.lint()
}
schema() 🔗
Run helm-schema (from @socialgouv)
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
schema
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Schema()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.schema()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.schema()
}
docs() 🔗
Run helm-docs (from @norwoodj)
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
docs
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Docs()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.docs()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.docs()
}
unittest() 🔗
Run helm-unittest (from @helm-unittest)
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
unittest
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Unittest()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.unittest()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.unittest()
}
check() 🔗
Run all checks
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
check
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Check()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.check()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.check()
}
package() 🔗
Package Helm chart
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
package
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Package()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.package()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.package()
}
template() 🔗
Template Helm chart using source
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
additionalArgs | String ! | "" | Additional arguments to pass to helm template |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
template --additional-args string
func (m *myModule) example(source *Directory, targetKubernetesVersion string, additionalArgs string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Template(additionalArgs)
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str, additional_args: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.template(additional_args)
)
@func()
example(source: Directory, targetKubernetesVersion: string, additionalArgs: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.template(additionalArgs)
}
push() 🔗
Push Helm package to registry
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
registry | String ! | - | Registry URI to push the Helm package |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
push --registry string
func (m *myModule) example(source *Directory, targetKubernetesVersion string, registry string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Push(registry)
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str, registry: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.push(registry)
)
@func()
example(source: Directory, targetKubernetesVersion: string, registry: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.push(registry)
}
install() 🔗
Install Helm package to a cluster
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
additionalArgs | String ! | "" | Additional arguments to pass to helm upgrade |
kubernetesService | Service | - | Service providing Kubernetes API |
kubeconfig | File | - | kubeconfig to use for Kubernetes API access Required if kubernetesService is provided |
name | String ! | "test" | Name of the Helm release |
namespace | String ! | "testing" | Namespace of the Helm release |
timeout | String ! | "300s" | Timeout for Helm operations |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
install --additional-args string --name string --namespace string --timeout string
func (m *myModule) example(source *Directory, targetKubernetesVersion string, additionalArgs string, name string, namespace string, timeout string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Install(additionalArgs, name, namespace, timeout)
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str, additional_args: str, name: str, namespace: str, timeout: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.install(additional_args, name, namespace, timeout)
)
@func()
example(source: Directory, targetKubernetesVersion: string, additionalArgs: string, name: string, namespace: string, timeout: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.install(additionalArgs, name, namespace, timeout)
}
uninstall() 🔗
Uninstall Helm package in a cluster
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
additionalArgs | String ! | "" | Additional arguments to pass to helm upgrade |
kubernetesPort | Integer ! | 8443 | Port to use for the Kubernetes API |
kubernetesService | Service | - | Service providing Kubernetes API |
kubeconfig | File | - | kubeconfig to use for Kubernetes API access Required if kubernetesService is provided |
name | String ! | "test" | Name of the Helm release |
namespace | String ! | "testing" | Namespace of the Helm release |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
uninstall --additional-args string --kubernetes-port integer --name string --namespace string
func (m *myModule) example(source *Directory, targetKubernetesVersion string, additionalArgs string, kubernetesPort int, name string, namespace string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Uninstall(additionalArgs, kubernetesPort, name, namespace)
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str, additional_args: str, kubernetes_port: int, name: str, namespace: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.uninstall(additional_args, kubernetes_port, name, namespace)
)
@func()
example(source: Directory, targetKubernetesVersion: string, additionalArgs: string, kubernetesPort: number, name: string, namespace: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.uninstall(additionalArgs, kubernetesPort, name, namespace)
}
validate() 🔗
Run kubectl-validate
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
validate
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Validate()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.validate()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.validate()
}
pluto() 🔗
Run pluto (from @FairwindsOps)
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
pluto
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
Pluto()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.pluto()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.pluto()
}
checkTemplated() 🔗
Run all checks
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 call \
helm --source DIR_PATH --target-kubernetes-version string \
check-templated
func (m *myModule) example(source *Directory, targetKubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source, targetKubernetesVersion).
CheckTemplated()
}
@function
def example(source: dagger.Directory, target_kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source, target_kubernetes_version)
.check_templated()
)
@func()
example(source: Directory, targetKubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source, targetKubernetesVersion)
.checkTemplated()
}
Compose 🔗
container() 🔗
Current state
Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 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@65b68aa4d7ab699f2a07389d2c314d3b32d00dd6 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)
}