interlink
This module has been generated via dagger init and serves as a reference tobasic 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/dciangot/daggerverse/interlink@4563fc0863f11bb0ddd4b4165dcbd11074701bee
Entrypoint
Return Type
Interlink !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
Example
dagger -m github.com/dciangot/daggerverse/interlink@4563fc0863f11bb0ddd4b4165dcbd11074701bee call \
--name string
func (m *myModule) example(name string) *Interlink {
return dag.
Interlink(name)
}
@function
def example(name: str) -> dag.Interlink:
return (
dag.interlink(name)
)
@func()
example(name: string): Interlink {
return dag
.interlink(name)
}
Types
Interlink 🔗
clusterConfig() 🔗
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
local | Boolean ! | false | No description provided |
Example
dagger -m github.com/dciangot/daggerverse/interlink@4563fc0863f11bb0ddd4b4165dcbd11074701bee call \
--name string cluster-config --local boolean
func (m *myModule) example(name string, local bool) *File {
return dag.
Interlink(name).
ClusterConfig(local)
}
@function
def example(name: str, local: bool) -> dagger.File:
return (
dag.interlink(name)
.cluster_config(local)
)
@func()
example(name: string, local: boolean): File {
return dag
.interlink(name)
.clusterConfig(local)
}
interlinkCluster() 🔗
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
values | File ! | - | A file. |
wait | Integer ! | 60 | No description provided |
Example
dagger -m github.com/dciangot/daggerverse/interlink@4563fc0863f11bb0ddd4b4165dcbd11074701bee call \
--name string interlink-cluster --values file:path --wait integer
func (m *myModule) example(name string, values *File, wait int) *Service {
return dag.
Interlink(name).
InterlinkCluster(values, wait)
}
@function
def example(name: str, values: dagger.File, wait: int) -> dagger.Service:
return (
dag.interlink(name)
.interlink_cluster(values, wait)
)
@func()
example(name: string, values: File, wait: number): Service {
return dag
.interlink(name)
.interlinkCluster(values, wait)
}