ssh
No long description provided.
Installation
dagger install github.com/felipepimentel/daggerverse/essentials/ssh@v0.0.0Entrypoint
Return Type
Ssh !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| destination | String ! | - | No description provided |
| identityFile | Secret ! | - | No description provided |
Example
dagger -m github.com/felipepimentel/daggerverse/essentials/ssh@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
--destination string --identity-file env:MYSECRETfunc (m *MyModule) Example(destination string, identityFile *dagger.Secret) *dagger.Ssh {
return dag.
Ssh(destination, identityFile)
}@function
def example(destination: str, identity_file: dagger.Secret) -> dagger.Ssh:
return (
dag.ssh(destination, identity_file)
)@func()
example(destination: string, identityFile: Secret): Ssh {
return dag
.ssh(destination, identityFile)
}Types
Ssh 🔗
baseCtr() 🔗
Return Type
Container ! Example
dagger -m github.com/felipepimentel/daggerverse/essentials/ssh@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
--destination string --identity-file env:MYSECRET base-ctrfunc (m *MyModule) Example(destination string, identityFile *dagger.Secret) *dagger.Container {
return dag.
Ssh(destination, identityFile).
BaseCtr()
}@function
def example(destination: str, identity_file: dagger.Secret) -> dagger.Container:
return (
dag.ssh(destination, identity_file)
.base_ctr()
)@func()
example(destination: string, identityFile: Secret): Container {
return dag
.ssh(destination, identityFile)
.baseCtr()
}destination() 🔗
Return Type
String ! Example
dagger -m github.com/felipepimentel/daggerverse/essentials/ssh@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
--destination string --identity-file env:MYSECRET destinationfunc (m *MyModule) Example(ctx context.Context, destination string, identityFile *dagger.Secret) string {
return dag.
Ssh(destination, identityFile).
Destination(ctx)
}@function
async def example(destination: str, identity_file: dagger.Secret) -> str:
return await (
dag.ssh(destination, identity_file)
.destination()
)@func()
async example(destination: string, identityFile: Secret): Promise<string> {
return dag
.ssh(destination, identityFile)
.destination()
}opts() 🔗
Return Type
[Opts ! ] ! Example
dagger -m github.com/felipepimentel/daggerverse/essentials/ssh@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
--destination string --identity-file env:MYSECRET optsfunc (m *MyModule) Example(destination string, identityFile *dagger.Secret) []*dagger.SshOpts {
return dag.
Ssh(destination, identityFile).
Opts()
}@function
def example(destination: str, identity_file: dagger.Secret) -> List[dagger.SshOpts]:
return (
dag.ssh(destination, identity_file)
.opts()
)@func()
example(destination: string, identityFile: Secret): SshOpts[] {
return dag
.ssh(destination, identityFile)
.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/felipepimentel/daggerverse/essentials/ssh@36e606fe6b7d1c9561dc60db82ab31614b838754 call \
--destination string --identity-file env:MYSECRET command --args string1 --args string2func (m *MyModule) Example(destination string, identityFile *dagger.Secret, args []string) *dagger.Container {
return dag.
Ssh(destination, identityFile).
Command(args)
}@function
def example(destination: str, identity_file: dagger.Secret, args: List[str]) -> dagger.Container:
return (
dag.ssh(destination, identity_file)
.command(args)
)@func()
example(destination: string, identityFile: Secret, args: string[]): Container {
return dag
.ssh(destination, identityFile)
.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