grype
No long description provided.
Installation
dagger install github.com/lukemarsden/dagger-grype@v0.1.0
Entrypoint
Return Type
Grype
Example
dagger -m github.com/lukemarsden/dagger-grype@0a69d11cdcd9ec3a943a707c41eaf08c15bc98c9 call \
func (m *myModule) example() *Grype {
return dag.
Grype()
}
@function
def example() -> dag.Grype:
return (
dag.grype()
)
@func()
example(): Grype {
return dag
.grype()
}
Types
Grype 🔗
testContainerImage() 🔗
example usage: “dagger call test-container-image –image alpine:latest”
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
image | StringKind ! | - | No description provided |
Example
dagger -m github.com/lukemarsden/dagger-grype@0a69d11cdcd9ec3a943a707c41eaf08c15bc98c9 call \
test-container-image
func (m *myModule) example(image ) {
return dag.
Grype().
TestContainerImage(image)
}
@function
def example(image: ) -> :
return (
dag.grype()
.test_container_image(image)
)
@func()
example(image: ): {
return dag
.grype()
.testContainerImage(image)
}
testContainer() 🔗
example usage: from dagger code where you have a Container object: TestContainer(container)
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | No description provided |
Example
dagger -m github.com/lukemarsden/dagger-grype@0a69d11cdcd9ec3a943a707c41eaf08c15bc98c9 call \
test-container
func (m *myModule) example(container ) {
return dag.
Grype().
TestContainer(container)
}
@function
def example(container: ) -> :
return (
dag.grype()
.test_container(container)
)
@func()
example(container: ): {
return dag
.grype()
.testContainer(container)
}