interlink
No long description provided.
Installation
dagger install github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6
Entrypoint
Return Type
Interlink
Example
dagger -m github.com/interTwin-eu/interLink/ci@067d6d288da795568a149cb1e9e35b1e662a33b6 call \
func (m *myModule) example() *Interlink {
return dag.
Interlink()
}
@function
def example() -> dag.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-s
func (m *myModule) example() *InterlinkK8Sinstance {
return dag.
Interlink().
K8S()
}
@function
def example() -> dag.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-ref
func (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-ref
func (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 \
manifests
func (m *myModule) example() *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-cluster
func (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_PATH
func (m *myModule) example(sourceFolder *Directory) *Interlink {
return dag.
Interlink().
BuildImages(sourceFolder)
}
@function
def example(source_folder: dagger.Directory) -> dag.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_PATH
func (m *myModule) example(manifests *Directory) *Interlink {
return dag.
Interlink().
NewInterlink(manifests)
}
@function
def example(manifests: dagger.Directory) -> dag.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-plugin
func (m *myModule) example() *Interlink {
return dag.
Interlink().
LoadPlugin()
}
@function
def example() -> dag.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 \
cleanup
func (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 \
test
func (m *myModule) example() *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 \
run
func (m *myModule) example() *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 module
Function InterlinkK8Sinstance.kcontainer is not accessible from the interlink module
Function InterlinkK8Sinstance.kcontainer is not accessible from the interlink module
Function InterlinkK8Sinstance.kcontainer is not accessible from the interlink module
k3S() 🔗
Return Type
Container !
Example
Function InterlinkK8Sinstance.k3S is not accessible from the interlink module
Function InterlinkK8Sinstance.k3S is not accessible from the interlink module
Function InterlinkK8Sinstance.k3S is not accessible from the interlink module
Function InterlinkK8Sinstance.k3S is not accessible from the interlink module
registry() 🔗
Return Type
Service !
Example
Function InterlinkK8Sinstance.registry is not accessible from the interlink module
Function InterlinkK8Sinstance.registry is not accessible from the interlink module
Function InterlinkK8Sinstance.registry is not accessible from the interlink module
Function InterlinkK8Sinstance.registry is not accessible from the interlink module
configCache() 🔗
Return Type
CacheVolume !
Example
Function InterlinkK8Sinstance.configCache is not accessible from the interlink module
Function InterlinkK8Sinstance.configCache is not accessible from the interlink module
Function InterlinkK8Sinstance.configCache is not accessible from the interlink module
Function InterlinkK8Sinstance.configCache is not accessible from the interlink module
containersCache() 🔗
Return Type
CacheVolume !
Example
Function InterlinkK8Sinstance.containersCache is not accessible from the interlink module
Function InterlinkK8Sinstance.containersCache is not accessible from the interlink module
Function InterlinkK8Sinstance.containersCache is not accessible from the interlink module
Function InterlinkK8Sinstance.containersCache is not accessible from the interlink module