Dagger
Search

compatcheck

No long description provided.

Installation

dagger install github.com/dagger/dagger/modules/compatcheck@c3ab515efcb3409035fa01486ede16c059abad61

Entrypoint

Return Type
Compatcheck
Example
dagger -m github.com/dagger/dagger/modules/compatcheck@c3ab515efcb3409035fa01486ede16c059abad61 call \
func (m *myModule) example() *Compatcheck  {
	return dag.
			Compatcheck()
}
@function
def example() -> dag.Compatcheck:
	return (
		dag.compatcheck()
	)
@func()
example(): Compatcheck {
	return dag
		.compatcheck()
}

Types

Compatcheck 🔗

run() 🔗

Compare the schema of given module with different versions of engine

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
moduleString !-ref of the module to compare
versionAString !-version of engine to compare with
versionBString !-version of engine to compare to
sourceDirectory -only required when one of the version to compare is 'dev'
Example
dagger -m github.com/dagger/dagger/modules/compatcheck@c3ab515efcb3409035fa01486ede16c059abad61 call \
 run --module string --version-a string --version-b string
func (m *myModule) example(ctx context.Context, module string, versionA string, versionB string)   {
	return dag.
			Compatcheck().
			Run(ctx, module, versionA, versionB)
}
@function
async def example(module: str, version_a: str, version_b: str) -> None:
	return await (
		dag.compatcheck()
		.run(module, version_a, version_b)
	)
@func()
async example(module: string, versionA: string, versionB: string): Promise<void> {
	return dag
		.compatcheck()
		.run(module, versionA, versionB)
}