ssh
No long description provided.
Installation
dagger install github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65
Entrypoint
Return Type
Ssh
Example
dagger -m github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65 call \
func (m *myModule) example() *Ssh {
return dag.
Ssh()
}
@function
def example() -> dag.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-ctr
func (m *myModule) example() *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 \
destination
func (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 \
opts
func (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 string2
func (m *myModule) example(args []string) *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 module
Function SshOpts.identityFile is not accessible from the ssh module
Function SshOpts.identityFile is not accessible from the ssh module
Function SshOpts.identityFile is not accessible from the ssh module
port() 🔗
Return Type
Integer !
Example
Function SshOpts.port is not accessible from the ssh module
Function SshOpts.port is not accessible from the ssh module
Function SshOpts.port is not accessible from the ssh module
Function SshOpts.port is not accessible from the ssh module
login() 🔗
Return Type
String !
Example
Function SshOpts.login is not accessible from the ssh module
Function SshOpts.login is not accessible from the ssh module
Function SshOpts.login is not accessible from the ssh module
Function SshOpts.login is not accessible from the ssh module