ssh
No long description provided.
Installation
dagger install github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65Entrypoint
Return Type
Ssh Example
dagger -m github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65 call \
func (m *MyModule) Example() *dagger.Ssh {
return dag.
Ssh()
}@function
def example() -> dagger.Ssh:
return (
dag.ssh()
)@func()
example(): Ssh {
return dag
.ssh()
}Types
Ssh 🔗
baseCtr() 🔗
Return Type
Container ! Example
dagger -m github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65 call \
base-ctrfunc (m *MyModule) Example() *dagger.Container {
return dag.
Ssh().
BaseCtr()
}@function
def example() -> dagger.Container:
return (
dag.ssh()
.base_ctr()
)@func()
example(): Container {
return dag
.ssh()
.baseCtr()
}destination() 🔗
Return Type
String ! Example
dagger -m github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65 call \
destinationfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Ssh().
Destination(ctx)
}@function
async def example() -> str:
return await (
dag.ssh()
.destination()
)@func()
async example(): Promise<string> {
return dag
.ssh()
.destination()
}opts() 🔗
Return Type
[Object ! ] ! Example
dagger -m github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65 call \
optsfunc (m *MyModule) Example() [] {
return dag.
Ssh().
Opts()
}@function
def example() -> List[]:
return (
dag.ssh()
.opts()
)@func()
example(): [] {
return dag
.ssh()
.opts()
}command() 🔗
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
dagger -m github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65 call \
command --args string1 --args string2func (m *MyModule) Example(args []string) *dagger.Container {
return dag.
Ssh().
Command(args)
}@function
def example(args: List[str]) -> dagger.Container:
return (
dag.ssh()
.command(args)
)@func()
example(args: string[]): Container {
return dag
.ssh()
.command(args)
}Opts 🔗
identityFile() 🔗
Return Type
Secret ! Example
Function SshOpts.identityFile is not accessible from the ssh moduleFunction SshOpts.identityFile is not accessible from the ssh moduleFunction SshOpts.identityFile is not accessible from the ssh moduleFunction SshOpts.identityFile is not accessible from the ssh moduleport() 🔗
Return Type
Integer ! Example
Function SshOpts.port is not accessible from the ssh moduleFunction SshOpts.port is not accessible from the ssh moduleFunction SshOpts.port is not accessible from the ssh moduleFunction SshOpts.port is not accessible from the ssh modulelogin() 🔗
Return Type
String ! Example
Function SshOpts.login is not accessible from the ssh moduleFunction SshOpts.login is not accessible from the ssh moduleFunction SshOpts.login is not accessible from the ssh moduleFunction SshOpts.login is not accessible from the ssh module