Dagger
Search

yamllint

This module provides a function to lint Yaml files.

Installation

dagger install github.com/tsirysndr/daggerverse/yamllint@795c8b3e2cea3e53f1a52440dcc0bef6de6e6d16

Entrypoint

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

Types

Yamllint 🔗

lint() 🔗

Lint Yaml files.

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
pathString "."No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/yamllint@795c8b3e2cea3e53f1a52440dcc0bef6de6e6d16 call \
 lint --src DIR_PATH
func (m *myModule) example(src *Directory) *Directory  {
	return dag.
			Yamllint().
			Lint(src)
}
@function
def example(src: dagger.Directory) -> dagger.Directory:
	return (
		dag.yamllint()
		.lint(src)
	)
@func()
example(src: Directory): Directory {
	return dag
		.yamllint()
		.lint(src)
}