Dagger
Search

conftest

No long description provided.

Installation

dagger install github.com/tsirysndr/daggerverse/conftest@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d

Entrypoint

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

Types

Conftest 🔗

test() 🔗

Tests your configuration files using Conftest.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
filesString !-No description provided
policyString -No description provided
outputString -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/conftest@a7a32ba95604b51f343b3be2816f0ecf77b7ee4d call \
 test --src DIR_PATH --files string
func (m *myModule) example(ctx context.Context, src *Directory, files string) string  {
	return dag.
			Conftest().
			Test(ctx, src, files)
}
@function
async def example(src: dagger.Directory, files: str) -> str:
	return await (
		dag.conftest()
		.test(src, files)
	)
@func()
async example(src: Directory, files: string): Promise<string> {
	return dag
		.conftest()
		.test(src, files)
}

dev() 🔗

Returns a container with conftest installed.

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