example
No long description provided.
Installation
dagger install github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167
Entrypoint
Return Type
Example
Example
dagger -m github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167 call \
func (m *myModule) example() *Example {
return dag.
Example()
}
@function
def example() -> dag.Example:
return (
dag.example()
)
@func()
example(): Example {
return dag
.example()
}
Types
Example 🔗
appContainer() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
srcDir | Directory | - | No description provided |
nodeVersion | StringKind | - | No description provided |
Example
dagger -m github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167 call \
app-container
func (m *myModule) example() {
return dag.
Example().
AppContainer()
}
@function
def example() -> :
return (
dag.example()
.app_container()
)
@func()
example(): {
return dag
.example()
.appContainer()
}
service() 🔗
TODO: remove this after https://github.com/dagger/dagger/pull/6039 merged+released
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
srcDir | Directory | - | No description provided |
nodeVersion | StringKind | - | No description provided |
Example
dagger -m github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167 call \
service
func (m *myModule) example() {
return dag.
Example().
Service()
}
@function
def example() -> :
return (
dag.example()
.service()
)
@func()
example(): {
return dag
.example()
.service()
}
debug() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
srcDir | Directory | - | No description provided |
nodeVersion | StringKind | - | No description provided |
Example
dagger -m github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167 call \
debug
func (m *myModule) example() {
return dag.
Example().
Debug()
}
@function
def example() -> :
return (
dag.example()
.debug()
)
@func()
example(): {
return dag
.example()
.debug()
}
build() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
srcDir | Directory | - | No description provided |
nodeVersion | StringKind | - | No description provided |
Example
dagger -m github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167 call \
build
func (m *myModule) example() {
return dag.
Example().
Build()
}
@function
def example() -> :
return (
dag.example()
.build()
)
@func()
example(): {
return dag
.example()
.build()
}
test() 🔗
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
srcDir | Directory | - | No description provided |
nodeVersion | StringKind | - | No description provided |
Example
dagger -m github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167 call \
test
func (m *myModule) example() {
return dag.
Example().
Test()
}
@function
def example() -> :
return (
dag.example()
.test()
)
@func()
example(): {
return dag
.example()
.test()
}
publishContainer() 🔗
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
srcDir | Directory | - | No description provided |
nodeVersion | StringKind | - | No description provided |
Example
dagger -m github.com/sipsma/daggerverse/example@9239c6bfe5e039552107535d3fea1b647f956167 call \
publish-container
func (m *myModule) example() {
return dag.
Example().
PublishContainer()
}
@function
def example() -> :
return (
dag.example()
.publish_container()
)
@func()
example(): {
return dag
.example()
.publishContainer()
}