kubeval
Installation
dagger install github.com/tsirysndr/daggerverse/kubeconform@25e427e2ff2c77692540f641cf1e9fffb8e5693f
Entrypoint
Return Type
Kubeval
Example
dagger -m github.com/tsirysndr/daggerverse/kubeconform@25e427e2ff2c77692540f641cf1e9fffb8e5693f call \
func (m *myModule) example() *Kubeval {
return dag.
Kubeval()
}
@function
def example() -> dag.Kubeval:
return (
dag.kubeval()
)
@func()
example(): Kubeval {
return dag
.kubeval()
}
Types
Kubeval 🔗
lint() 🔗
Lint Kubernetes files.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
outputFormat | String | "text" | No description provided |
dir | String | "." | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/kubeconform@25e427e2ff2c77692540f641cf1e9fffb8e5693f call \
lint --src DIR_PATH
func (m *myModule) example(ctx context.Context, src *Directory) string {
return dag.
Kubeval().
Lint(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
return await (
dag.kubeval()
.lint(src)
)
@func()
async example(src: Directory): Promise<string> {
return dag
.kubeval()
.lint(src)
}
dev() 🔗
Returns a container with kubeconform installed.
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/kubeconform@25e427e2ff2c77692540f641cf1e9fffb8e5693f call \
dev
func (m *myModule) example() *Container {
return dag.
Kubeval().
Dev()
}
@function
def example() -> dagger.Container:
return (
dag.kubeval()
.dev()
)
@func()
example(): Container {
return dag
.kubeval()
.dev()
}