MikaelElkiaer
No long description provided.
Installation
dagger install github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a
Entrypoint
Return Type
MikaelElkiaer
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a 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@e84fb747d670feddf64cc352add62d4b308aff4a 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 |
source | Directory ! | - | Solution directory |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH
func (m *myModule) example(configuration string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, source)
}
@function
def example(configuration: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
)
@func()
example(configuration: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, source)
}
compose() 🔗
Submodule for Docker Compose
Return Type
Compose !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a 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()
}
helm() 🔗
Submodule for Helm
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Helm chart path |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source)
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
}
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@e84fb747d670feddf64cc352add62d4b308aff4a 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@e84fb747d670feddf64cc352add62d4b308aff4a 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@e84fb747d670feddf64cc352add62d4b308aff4a 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)
}
Testing 🔗
interrupt() 🔗
Return Type
String !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a 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@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH \
container
func (m *myModule) example(configuration string, source *Directory) *Container {
return dag.
MikaelElkiaer().
Dotnet(configuration, source).
Container()
}
@function
def example(configuration: str, source: dagger.Directory) -> dagger.Container:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
.container()
)
@func()
example(configuration: string, source: Directory): Container {
return dag
.mikaelElkiaer()
.dotnet(configuration, 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@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH \
restore --csproj string --sln string
func (m *myModule) example(configuration string, source *Directory, csproj string, sln string) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, source).
Restore(csproj, sln)
}
@function
def example(configuration: str, source: dagger.Directory, csproj: str, sln: str) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
.restore(csproj, sln)
)
@func()
example(configuration: string, source: Directory, csproj: string, sln: string): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, source)
.restore(csproj, sln)
}
build() 🔗
Build a .NET project
Return Type
Dotnet !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH \
build
func (m *myModule) example(configuration string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, source).
Build()
}
@function
def example(configuration: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
.build()
)
@func()
example(configuration: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, source)
.build()
}
test() 🔗
Run all available tests
Return Type
Dotnet !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH \
test
func (m *myModule) example(configuration string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, source).
Test()
}
@function
def example(configuration: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
.test()
)
@func()
example(configuration: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, source)
.test()
}
publish() 🔗
Publish with runtime
Return Type
Dotnet !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH \
publish
func (m *myModule) example(configuration string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, source).
Publish()
}
@function
def example(configuration: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
.publish()
)
@func()
example(configuration: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, source)
.publish()
}
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@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH \
with-nuget --feed string --name string --user-id string --user-secret env:MYSECRET
func (m *myModule) example(configuration string, source *Directory, feed string, name string, userId string, userSecret *Secret) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, source).
WithNuget(feed, name, userId, userSecret)
}
@function
def example(configuration: str, source: dagger.Directory, feed: str, name: str, user_id: str, user_secret: dagger.Secret) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
.with_nuget(feed, name, user_id, user_secret)
)
@func()
example(configuration: string, source: Directory, feed: string, name: string, userId: string, userSecret: Secret): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, 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@e84fb747d670feddf64cc352add62d4b308aff4a call \
dotnet --configuration string --source DIR_PATH \
with-nuget-ghcr
func (m *myModule) example(configuration string, source *Directory) *MikaelElkiaerDotnet {
return dag.
MikaelElkiaer().
Dotnet(configuration, source).
WithNugetGhcr()
}
@function
def example(configuration: str, source: dagger.Directory) -> dag.MikaelElkiaerDotnet:
return (
dag.mikael_elkiaer()
.dotnet(configuration, source)
.with_nuget_ghcr()
)
@func()
example(configuration: string, source: Directory): MikaelElkiaerDotnet {
return dag
.mikaelElkiaer()
.dotnet(configuration, source)
.withNugetGhcr()
}
Compose 🔗
container() 🔗
Current state
Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a 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@e84fb747d670feddf64cc352add62d4b308aff4a 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)
}
Helm 🔗
container() 🔗
Latest run container, contains workdir
Return Type
Container !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
container
func (m *myModule) example(source *Directory) *Container {
return dag.
MikaelElkiaer().
Helm(source).
Container()
}
@function
def example(source: dagger.Directory) -> dagger.Container:
return (
dag.mikael_elkiaer()
.helm(source)
.container()
)
@func()
example(source: Directory): Container {
return dag
.mikaelElkiaer()
.helm(source)
.container()
}
build() 🔗
Run build commands
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
build
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Build()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.build()
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.build()
}
lint() 🔗
Run helm lint
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
lint
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Lint()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.lint()
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.lint()
}
schema() 🔗
Run helm-schema (from @socialgouv)
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
schema
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Schema()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.schema()
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.schema()
}
docs() 🔗
Run helm-docs (from @norwoodj)
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
docs
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Docs()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.docs()
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.docs()
}
unittest() 🔗
Run helm-unittest (from @helm-unittest)
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
unittest
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Unittest()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.unittest()
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.unittest()
}
check() 🔗
Run all checks
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
check
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Check()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.check()
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.check()
}
package() 🔗
Package Helm chart
Return Type
Helm !
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
package
func (m *myModule) example(source *Directory) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Package()
}
@function
def example(source: dagger.Directory) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.package()
)
@func()
example(source: Directory): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.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@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
template --additional-args string
func (m *myModule) example(source *Directory, additionalArgs string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Template(additionalArgs)
}
@function
def example(source: dagger.Directory, additional_args: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.template(additional_args)
)
@func()
example(source: Directory, additionalArgs: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.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@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
push --registry string
func (m *myModule) example(source *Directory, registry string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Push(registry)
}
@function
def example(source: dagger.Directory, registry: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.push(registry)
)
@func()
example(source: Directory, registry: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.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@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
install --additional-args string --name string --namespace string --timeout string
func (m *myModule) example(source *Directory, additionalArgs string, name string, namespace string, timeout string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Install(additionalArgs, name, namespace, timeout)
}
@function
def example(source: dagger.Directory, additional_args: str, name: str, namespace: str, timeout: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.install(additional_args, name, namespace, timeout)
)
@func()
example(source: Directory, additionalArgs: string, name: string, namespace: string, timeout: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.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@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
uninstall --additional-args string --kubernetes-port integer --name string --namespace string
func (m *myModule) example(source *Directory, additionalArgs string, kubernetesPort int, name string, namespace string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Uninstall(additionalArgs, kubernetesPort, name, namespace)
}
@function
def example(source: dagger.Directory, additional_args: str, kubernetes_port: int, name: str, namespace: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.uninstall(additional_args, kubernetes_port, name, namespace)
)
@func()
example(source: Directory, additionalArgs: string, kubernetesPort: number, name: string, namespace: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.uninstall(additionalArgs, kubernetesPort, name, namespace)
}
validate() 🔗
Run kubectl-validate
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
kubernetesVersion | String ! | "1.29" | Kubernetes version to check against |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
validate --kubernetes-version string
func (m *myModule) example(source *Directory, kubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Validate(kubernetesVersion)
}
@function
def example(source: dagger.Directory, kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.validate(kubernetes_version)
)
@func()
example(source: Directory, kubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.validate(kubernetesVersion)
}
pluto() 🔗
Run pluto (from @FairwindsOps)
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
kubernetesVersion | String ! | "1.29" | Kubernetes version to check against |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
pluto --kubernetes-version string
func (m *myModule) example(source *Directory, kubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
Pluto(kubernetesVersion)
}
@function
def example(source: dagger.Directory, kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.pluto(kubernetes_version)
)
@func()
example(source: Directory, kubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.pluto(kubernetesVersion)
}
checkTemplated() 🔗
Run all checks
Return Type
Helm !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
kubernetesVersion | String ! | "1.29" | Kubernetes version to check against |
Example
dagger -m github.com/mikaelelkiaer/daggerverse@e84fb747d670feddf64cc352add62d4b308aff4a call \
helm --source DIR_PATH \
check-templated --kubernetes-version string
func (m *myModule) example(source *Directory, kubernetesVersion string) *MikaelElkiaerHelm {
return dag.
MikaelElkiaer().
Helm(source).
CheckTemplated(kubernetesVersion)
}
@function
def example(source: dagger.Directory, kubernetes_version: str) -> dag.MikaelElkiaerHelm:
return (
dag.mikael_elkiaer()
.helm(source)
.check_templated(kubernetes_version)
)
@func()
example(source: Directory, kubernetesVersion: string): MikaelElkiaerHelm {
return dag
.mikaelElkiaer()
.helm(source)
.checkTemplated(kubernetesVersion)
}