Dagger
Search

protolint

No long description provided.

Installation

dagger install github.com/cloudnative-pg/daggerverse/protolint@b8e24f5ad3e7da6dce9f6f9edd93baf165f3106a

Entrypoint

Return Type
Protolint !
Arguments
NameTypeDefault ValueDescription
imageString "yoheimuta/protolint:0.51.0"Protolint image to use. renovate image: datasource=docker depName=yoheimuta/protolint versioning=docker
Example
dagger -m github.com/cloudnative-pg/daggerverse/protolint@b8e24f5ad3e7da6dce9f6f9edd93baf165f3106a call \
func (m *myModule) example() *Protolint  {
	return dag.
			Protolint()
}
@function
def example() -> dag.Protolint:
	return (
		dag.protolint()
	)
@func()
example(): Protolint {
	return dag
		.protolint()
}

Types

Protolint 🔗

lint() 🔗

Lint runs protolint on proto files.

Example usage: dagger call lint –source /path/ –args “-config_path=.protolint.yaml” –args .

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-The directory of the repository.
args[String ! ] -A list of arguments to pass to commitlint.
Example
dagger -m github.com/cloudnative-pg/daggerverse/protolint@b8e24f5ad3e7da6dce9f6f9edd93baf165f3106a call \
 lint --source DIR_PATH
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			Protolint().
			Lint(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.protolint()
		.lint(source)
	)
@func()
example(source: Directory): Container {
	return dag
		.protolint()
		.lint(source)
}