interlink
No long description provided.
Installation
dagger install github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6Entrypoint
Return Type
Interlink Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
func (m *MyModule) Example() *dagger.Interlink {
return dag.
Interlink()
}@function
def example() -> dagger.Interlink:
return (
dag.interlink()
)@func()
example(): Interlink {
return dag
.interlink()
}Types
Interlink 🔗
k8S() 🔗
Return Type
K8Sinstance ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
k-8-sfunc (m *MyModule) Example() *dagger.InterlinkK8Sinstance {
return dag.
Interlink().
K8S()
}@function
def example() -> dagger.InterlinkK8Sinstance:
return (
dag.interlink()
.k8_s()
)@func()
example(): InterlinkK8Sinstance {
return dag
.interlink()
.k8S()
}virtualKubeletRef() 🔗
Return Type
String ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
virtual-kubelet-reffunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Interlink().
VirtualKubeletRef(ctx)
}@function
async def example() -> str:
return await (
dag.interlink()
.virtual_kubelet_ref()
)@func()
async example(): Promise<string> {
return dag
.interlink()
.virtualKubeletRef()
}interlinkRef() 🔗
Return Type
String ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
interlink-reffunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Interlink().
InterlinkRef(ctx)
}@function
async def example() -> str:
return await (
dag.interlink()
.interlink_ref()
)@func()
async example(): Promise<string> {
return dag
.interlink()
.interlinkRef()
}manifests() 🔗
Return Type
Directory ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
manifestsfunc (m *MyModule) Example() *dagger.Directory {
return dag.
Interlink().
Manifests()
}@function
def example() -> dagger.Directory:
return (
dag.interlink()
.manifests()
)@func()
example(): Directory {
return dag
.interlink()
.manifests()
}cleanupCluster() 🔗
TODO: services on NodePort? virtualkubelet bool interlink bool plugin bool
Return Type
Boolean ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
cleanup-clusterfunc (m *MyModule) Example(ctx context.Context) bool {
return dag.
Interlink().
CleanupCluster(ctx)
}@function
async def example() -> bool:
return await (
dag.interlink()
.cleanup_cluster()
)@func()
async example(): Promise<boolean> {
return dag
.interlink()
.cleanupCluster()
}buildImages() 🔗
Return Type
Interlink !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| virtualKubeletRef | String | "ghcr.io/intertwin-eu/interlink/virtual-kubelet-inttw" | No description provided |
| interlinkRef | String | "ghcr.io/intertwin-eu/interlink/interlink" | No description provided |
| pluginRef | String | "ghcr.io/intertwin-eu/interlink/plugin-test" | No description provided |
| sourceFolder | Directory ! | - | No description provided |
Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
build-images --source-folder DIR_PATHfunc (m *MyModule) Example(sourceFolder *dagger.Directory) *dagger.Interlink {
return dag.
Interlink().
BuildImages(sourceFolder)
}@function
def example(source_folder: dagger.Directory) -> dagger.Interlink:
return (
dag.interlink()
.build_images(source_folder)
)@func()
example(sourceFolder: Directory): Interlink {
return dag
.interlink()
.buildImages(sourceFolder)
}newInterlink() 🔗
Return Type
Interlink !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| manifests | Directory ! | - | No description provided |
| kubeconfig | File | - | No description provided |
| localCluster | Service | - | No description provided |
Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
new-interlink --manifests DIR_PATHfunc (m *MyModule) Example(manifests *dagger.Directory) *dagger.Interlink {
return dag.
Interlink().
NewInterlink(manifests)
}@function
def example(manifests: dagger.Directory) -> dagger.Interlink:
return (
dag.interlink()
.new_interlink(manifests)
)@func()
example(manifests: Directory): Interlink {
return dag
.interlink()
.newInterlink(manifests)
}loadPlugin() 🔗
Return Type
Interlink ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
load-pluginfunc (m *MyModule) Example() *dagger.Interlink {
return dag.
Interlink().
LoadPlugin()
}@function
def example() -> dagger.Interlink:
return (
dag.interlink()
.load_plugin()
)@func()
example(): Interlink {
return dag
.interlink()
.loadPlugin()
}cleanup() 🔗
Return Type
Void ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
cleanupfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Interlink().
Cleanup(ctx)
}@function
async def example() -> None:
return await (
dag.interlink()
.cleanup()
)@func()
async example(): Promise<void> {
return dag
.interlink()
.cleanup()
}test() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| manifests | Directory | - | No description provided |
| kubeconfig | File | - | No description provided |
| localCluster | Service | - | No description provided |
| cleanup | Boolean | - | +default false |
Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
testfunc (m *MyModule) Example() *dagger.Container {
return dag.
Interlink().
Test()
}@function
def example() -> dagger.Container:
return (
dag.interlink()
.test()
)@func()
example(): Container {
return dag
.interlink()
.test()
}run() 🔗
Return Type
Container ! Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
runfunc (m *MyModule) Example() *dagger.Container {
return dag.
Interlink().
Run()
}@function
def example() -> dagger.Container:
return (
dag.interlink()
.run()
)@func()
example(): Container {
return dag
.interlink()
.run()
}K8Sinstance 🔗
kcontainer() 🔗
Return Type
Container ! Example
Function InterlinkK8Sinstance.kcontainer is not accessible from the interlink moduleFunction InterlinkK8Sinstance.kcontainer is not accessible from the interlink moduleFunction InterlinkK8Sinstance.kcontainer is not accessible from the interlink moduleFunction InterlinkK8Sinstance.kcontainer is not accessible from the interlink modulek3S() 🔗
Return Type
Container ! Example
Function InterlinkK8Sinstance.k3S is not accessible from the interlink moduleFunction InterlinkK8Sinstance.k3S is not accessible from the interlink moduleFunction InterlinkK8Sinstance.k3S is not accessible from the interlink moduleFunction InterlinkK8Sinstance.k3S is not accessible from the interlink moduleregistry() 🔗
Return Type
Service ! Example
Function InterlinkK8Sinstance.registry is not accessible from the interlink moduleFunction InterlinkK8Sinstance.registry is not accessible from the interlink moduleFunction InterlinkK8Sinstance.registry is not accessible from the interlink moduleFunction InterlinkK8Sinstance.registry is not accessible from the interlink moduleconfigCache() 🔗
Return Type
CacheVolume ! Example
Function InterlinkK8Sinstance.configCache is not accessible from the interlink moduleFunction InterlinkK8Sinstance.configCache is not accessible from the interlink moduleFunction InterlinkK8Sinstance.configCache is not accessible from the interlink moduleFunction InterlinkK8Sinstance.configCache is not accessible from the interlink modulecontainersCache() 🔗
Return Type
CacheVolume ! Example
Function InterlinkK8Sinstance.containersCache is not accessible from the interlink moduleFunction InterlinkK8Sinstance.containersCache is not accessible from the interlink moduleFunction InterlinkK8Sinstance.containersCache is not accessible from the interlink moduleFunction InterlinkK8Sinstance.containersCache is not accessible from the interlink module