layer
A generated module for Layer functions
Installation
dagger install github.com/frantjc/daggerverse/layer@45772d1592aeabf5feee0ef93055ae197ee60c20Entrypoint
Return Type
Layer Example
dagger -m github.com/frantjc/daggerverse/layer@45772d1592aeabf5feee0ef93055ae197ee60c20 call \
func (m *MyModule) Example() *dagger.Layer {
return dag.
Layer()
}@function
def example() -> dagger.Layer:
return (
dag.layer()
)@func()
example(): Layer {
return dag
.layer()
}Types
Layer 🔗
directoryOntoContainer() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| directory | Directory ! | - | No description provided |
| container | Container ! | - | No description provided |
| path | String ! | - | No description provided |
| includes | [List ! ] | - | No description provided |
| exclude | [String ! ] | - | No description provided |
| owner | String | - | No description provided |
| expand | Boolean | - | No description provided |
Example
dagger -m github.com/frantjc/daggerverse/layer@45772d1592aeabf5feee0ef93055ae197ee60c20 call \
directory-onto-container --directory DIR_PATH --container IMAGE:TAG --path stringfunc (m *MyModule) Example(directory *dagger.Directory, container *dagger.Container, path string) *dagger.Container {
return dag.
Layer().
DirectoryOntoContainer(directory, container, path)
}@function
def example(directory: dagger.Directory, container: dagger.Container, path: str) -> dagger.Container:
return (
dag.layer()
.directory_onto_container(directory, container, path)
)@func()
example(directory: Directory, container: Container, path: string): Container {
return dag
.layer()
.directoryOntoContainer(directory, container, path)
}