claircore
Module for Claircore functions
Installation
dagger install github.com/quay/clair-workflows/claircore@e834d20eb0b43adda4a528e06ce2ef7689d68a6dEntrypoint
Return Type
ClaircoreExample
dagger -m github.com/quay/clair-workflows/claircore@e834d20eb0b43adda4a528e06ce2ef7689d68a6d call \
func (m *MyModule) Example() *dagger.Claircore  {
	return dag.
			Claircore()
}@function
def example() -> dagger.Claircore:
	return (
		dag.claircore()
	)@func()
example(): Claircore {
	return dag
		.claircore()
}Types
Claircore 🔗
Claircore holds actions for the claircore repo.
test() 🔗
Test …
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| source | Directory | - | Source to use for testing. If omitted, the `main` branch of the [upstream repository] will be used. [upstream repository]: https://github.com/quay/claircore | 
Example
dagger -m github.com/quay/clair-workflows/claircore@e834d20eb0b43adda4a528e06ce2ef7689d68a6d call \
 testfunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Claircore().
			Test(ctx)
}@function
async def example() -> str:
	return await (
		dag.claircore()
		.test()
	)@func()
async example(): Promise<string> {
	return dag
		.claircore()
		.test()
}