yamllint
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/yamllint@e0f4feb31bde60503867ea4cf96ca951d8e0aefc
Entrypoint
Return Type
Yamllint
Example
dagger -m github.com/tsirysndr/daggerverse/yamllint@e0f4feb31bde60503867ea4cf96ca951d8e0aefc 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
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory ! | - | No description provided |
path | String | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/yamllint@e0f4feb31bde60503867ea4cf96ca951d8e0aefc 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)
}