Dagger
Search

kubeconform

This module provides a function to lint Kubernetes files and to create a development environment with kubeconform installed.

Installation

dagger install github.com/tsirysndr/daggerverse/kubeconform@b030c2a95bee348901692f840922774fe1c3a5fe

Entrypoint

Return Type
Kubeconform
Example
dagger -m github.com/tsirysndr/daggerverse/kubeconform@b030c2a95bee348901692f840922774fe1c3a5fe call \
func (m *myModule) example() *Kubeconform  {
	return dag.
			Kubeconform()
}
@function
def example() -> dag.Kubeconform:
	return (
		dag.kubeconform()
	)
@func()
example(): Kubeconform {
	return dag
		.kubeconform()
}

Types

Kubeconform 🔗

lint() 🔗

Lint Kubernetes files.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
outputFormatString "text"No description provided
dirString "."No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/kubeconform@b030c2a95bee348901692f840922774fe1c3a5fe call \
 lint --src DIR_PATH
func (m *myModule) example(ctx context.Context, src *Directory) string  {
	return dag.
			Kubeconform().
			Lint(ctx, src)
}
@function
async def example(src: dagger.Directory) -> str:
	return await (
		dag.kubeconform()
		.lint(src)
	)
@func()
async example(src: Directory): Promise<string> {
	return dag
		.kubeconform()
		.lint(src)
}

dev() 🔗

Returns a container with kubeconform installed.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/kubeconform@b030c2a95bee348901692f840922774fe1c3a5fe call \
 dev
func (m *myModule) example() *Container  {
	return dag.
			Kubeconform().
			Dev()
}
@function
def example() -> dagger.Container:
	return (
		dag.kubeconform()
		.dev()
	)
@func()
example(): Container {
	return dag
		.kubeconform()
		.dev()
}