remote-dagger
No long description provided.
Installation
dagger install github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70eEntrypoint
Return Type
RemoteDagger !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| destination | String ! | - | No description provided |
| identityFile | Secret ! | - | No description provided |
Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
--destination string --identity-file env:MYSECRETfunc (m *MyModule) Example(destination string, identityFile *dagger.Secret) *dagger.RemoteDagger {
return dag.
RemoteDagger(destination, identityFile)
}@function
def example(destination: str, identity_file: dagger.Secret) -> dagger.RemoteDagger:
return (
dag.remote_dagger(destination, identity_file)
)@func()
example(destination: string, identityFile: Secret): RemoteDagger {
return dag
.remoteDagger(destination, identityFile)
}Types
RemoteDagger 🔗
sshclient() 🔗
Return Type
RemoteDaggerSshclient ! Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
--destination string --identity-file env:MYSECRET sshclientfunc (m *MyModule) Example(destination string, identityFile *dagger.Secret) *dagger.RemoteDaggerSshclient {
return dag.
RemoteDagger(destination, identityFile).
Sshclient()
}@function
def example(destination: str, identity_file: dagger.Secret) -> dagger.RemoteDaggerSshclient:
return (
dag.remote_dagger(destination, identity_file)
.sshclient()
)@func()
example(destination: string, identityFile: Secret): RemoteDaggerSshclient {
return dag
.remoteDagger(destination, identityFile)
.sshclient()
}setupDagger() 🔗
example usage: “dagger call –destination USER@HOST –identity-file file:${HOME}/.ssh/id_ed25519 install”
Return Type
Void ! Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
--destination string --identity-file env:MYSECRET setup-daggerfunc (m *MyModule) Example(ctx context.Context, destination string, identityFile *dagger.Secret) {
return dag.
RemoteDagger(destination, identityFile).
SetupDagger(ctx)
}@function
async def example(destination: str, identity_file: dagger.Secret) -> None:
return await (
dag.remote_dagger(destination, identity_file)
.setup_dagger()
)@func()
async example(destination: string, identityFile: Secret): Promise<void> {
return dag
.remoteDagger(destination, identityFile)
.setupDagger()
}remoteCall() 🔗
example usage: “dagger call –destination USER@HOST –identity-file file:${HOME}/.ssh/id_ed25519 remote-call … stdout”
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| module | String ! | - | No description provided |
| args | [String ! ] ! | - | No description provided |
Example
dagger -m github.com/samalba/dagger-modules/remote-dagger@9c4746b27293d3af4d9a490381589066bfb1a70e call \
--destination string --identity-file env:MYSECRET remote-call --module string --args string1 --args string2func (m *MyModule) Example(destination string, identityFile *dagger.Secret, module string, args []string) *dagger.Container {
return dag.
RemoteDagger(destination, identityFile).
RemoteCall(module, args)
}@function
def example(destination: str, identity_file: dagger.Secret, module: str, args: List[str]) -> dagger.Container:
return (
dag.remote_dagger(destination, identity_file)
.remote_call(module, args)
)@func()
example(destination: string, identityFile: Secret, module: string, args: string[]): Container {
return dag
.remoteDagger(destination, identityFile)
.remoteCall(module, args)
}RemoteDaggerSshclient 🔗
baseCtr() 🔗
Return Type
Container ! Example
Function RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.baseCtr is not accessible from the remote-dagger moduledestination() 🔗
Return Type
String ! Example
Function RemoteDaggerSshclient.destination is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.destination is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.destination is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.destination is not accessible from the remote-dagger moduleopts() 🔗
Return Type
[RemoteDaggerSshopts ! ] ! Example
Function RemoteDaggerSshclient.opts is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.opts is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.opts is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.opts is not accessible from the remote-dagger modulecommand() 🔗
example usage: “dagger call –destination USER@HOST –identity-file file:${HOME}/.ssh/id_ed25519 command –args whoami stdout”
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| args | [String ! ] ! | - | No description provided |
Example
Function RemoteDaggerSshclient.command is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.command is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.command is not accessible from the remote-dagger moduleFunction RemoteDaggerSshclient.command is not accessible from the remote-dagger moduleRemoteDaggerSshopts 🔗
identityFile() 🔗
Return Type
Secret ! Example
Function RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.identityFile is not accessible from the remote-dagger moduleport() 🔗
Return Type
Integer ! Example
Function RemoteDaggerSshopts.port is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.port is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.port is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.port is not accessible from the remote-dagger modulelogin() 🔗
Return Type
String ! Example
Function RemoteDaggerSshopts.login is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.login is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.login is not accessible from the remote-dagger moduleFunction RemoteDaggerSshopts.login is not accessible from the remote-dagger module