test
No long description provided.
Installation
dagger install github.com/jedevc/dagger-test-modules/context-dir@323d56c9ece3492d13f58b8b603d31a7c511cd41Entrypoint
Return Type
Test Example
dagger -m github.com/jedevc/dagger-test-modules/context-dir@323d56c9ece3492d13f58b8b603d31a7c511cd41 call \
func (m *MyModule) Example() *dagger.Test {
return dag.
Test()
}@function
def example() -> dagger.Test:
return (
dag.test()
)@func()
example(): Test {
return dag
.test()
}Types
Test 🔗
absolutePath() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory | - | No description provided |
Example
dagger -m github.com/jedevc/dagger-test-modules/context-dir@323d56c9ece3492d13f58b8b603d31a7c511cd41 call \
absolute-pathfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Test().
AbsolutePath()
}@function
def example() -> dagger.Directory:
return (
dag.test()
.absolute_path()
)@func()
example(): Directory {
return dag
.test()
.absolutePath()
}absolutePathSubdir() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory | - | No description provided |
Example
dagger -m github.com/jedevc/dagger-test-modules/context-dir@323d56c9ece3492d13f58b8b603d31a7c511cd41 call \
absolute-path-subdirfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Test().
AbsolutePathSubdir()
}@function
def example() -> dagger.Directory:
return (
dag.test()
.absolute_path_subdir()
)@func()
example(): Directory {
return dag
.test()
.absolutePathSubdir()
}relativePath() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory | - | No description provided |
Example
dagger -m github.com/jedevc/dagger-test-modules/context-dir@323d56c9ece3492d13f58b8b603d31a7c511cd41 call \
relative-pathfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Test().
RelativePath()
}@function
def example() -> dagger.Directory:
return (
dag.test()
.relative_path()
)@func()
example(): Directory {
return dag
.test()
.relativePath()
}relativePathSubdir() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory | - | No description provided |
Example
dagger -m github.com/jedevc/dagger-test-modules/context-dir@323d56c9ece3492d13f58b8b603d31a7c511cd41 call \
relative-path-subdirfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Test().
RelativePathSubdir()
}@function
def example() -> dagger.Directory:
return (
dag.test()
.relative_path_subdir()
)@func()
example(): Directory {
return dag
.test()
.relativePathSubdir()
}