ssh
No long description provided.
Installation
dagger install github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52Entrypoint
Return Type
Ssh Example
dagger -m github.com/samalba/dagger-modules/ssh@eb9ad2964892f12359110757ab11d17a0e1f3e52 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@eb9ad2964892f12359110757ab11d17a0e1f3e52 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@eb9ad2964892f12359110757ab11d17a0e1f3e52 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@eb9ad2964892f12359110757ab11d17a0e1f3e52 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@eb9ad2964892f12359110757ab11d17a0e1f3e52 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)
}Sshopts 🔗
identityFile() 🔗
Return Type
Secret ! Example
Function SshSshopts.identityFile is not accessible from the ssh moduleFunction SshSshopts.identityFile is not accessible from the ssh moduleFunction SshSshopts.identityFile is not accessible from the ssh moduleFunction SshSshopts.identityFile is not accessible from the ssh moduleport() 🔗
Return Type
Integer ! Example
Function SshSshopts.port is not accessible from the ssh moduleFunction SshSshopts.port is not accessible from the ssh moduleFunction SshSshopts.port is not accessible from the ssh moduleFunction SshSshopts.port is not accessible from the ssh modulelogin() 🔗
Return Type
String ! Example
Function SshSshopts.login is not accessible from the ssh moduleFunction SshSshopts.login is not accessible from the ssh moduleFunction SshSshopts.login is not accessible from the ssh moduleFunction SshSshopts.login is not accessible from the ssh module