Dagger
Search

kubeval

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

Installation

dagger install github.com/tsirysndr/daggerverse/kubeval@e8bed26dfefaaf4ef3d00958965575131f34c69c

Entrypoint

Return Type
Kubeval
Example
dagger -m github.com/tsirysndr/daggerverse/kubeval@e8bed26dfefaaf4ef3d00958965575131f34c69c 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
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
filesString "*.yml"No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/kubeval@e8bed26dfefaaf4ef3d00958965575131f34c69c call \
 lint --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Kubeval().
			Lint(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.kubeval()
		.lint(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.kubeval()
		.lint(src)
}

dev() 🔗

Returns a container with kubeval installed.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/kubeval@e8bed26dfefaaf4ef3d00958965575131f34c69c 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()
}