Dagger
Search

scout

This module has been generated via dagger init and serves as a reference to basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them, as needed. They demonstrate usage of arguments and return types using simple echo and grep commands. The functions can be called from the dagger CLI or from one of the SDKs.

The first line in this comment block is a short description line and the rest is a long description with more detail on the module's purpose or usage, if appropriate. All modules should have a short description.

Installation

dagger install github.com/felipecruz91/daggerverse/scout@837ffbf0d7f6abebae2f415448fcee1b23a5e45f

Entrypoint

Return Type
Scout
Example
dagger -m github.com/felipecruz91/daggerverse/scout@837ffbf0d7f6abebae2f415448fcee1b23a5e45f call \
func (m *myModule) example() *Scout  {
	return dag.
			Scout()
}
@function
def example() -> dag.Scout:
	return (
		dag.scout()
	)
@func()
example(): Scout {
	return dag
		.scout()
}

Types

Scout 🔗

cves() 🔗

Cves displays CVEs identified in a container image Example usage: dagger call cves --user $DOCKER_SCOUT_HUB_USER --password=env:DOCKER_SCOUT_HUB_PASSWORD --image alpine:3.18.4 stdout

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
userString !-No description provided
passwordSecret !-No description provided
imageString !-No description provided
Example
dagger -m github.com/felipecruz91/daggerverse/scout@837ffbf0d7f6abebae2f415448fcee1b23a5e45f call \
 cves --user string --password env:MYSECRET --image string
func (m *myModule) example(user string, password *Secret, image string) *Container  {
	return dag.
			Scout().
			Cves(user, password, image)
}
@function
def example(user: str, password: dagger.Secret, image: str) -> dagger.Container:
	return (
		dag.scout()
		.cves(user, password, image)
	)
@func()
example(user: string, password: Secret, image: string): Container {
	return dag
		.scout()
		.cves(user, password, image)
}