ssh
No long description provided.
Installation
dagger install codeberg.org/clouds666/daggerverse/ssh@55517e5c747fabbbf86bee6d762982cccb2fb481Entrypoint
Return Type
Ssh !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| alpineVersion | String | - | No description provided |
| key | Secret ! | - | No description provided |
| host | String ! | - | No description provided |
| user | String ! | - | No description provided |
Example
dagger -m codeberg.org/clouds666/daggerverse/ssh@55517e5c747fabbbf86bee6d762982cccb2fb481 call \
--key env:MYSECRET --host string --user stringfunc (m *MyModule) Example(key *dagger.Secret, host string, user string) *dagger.Ssh {
return dag.
Ssh(key, host, user)
}@function
def example(key: dagger.Secret, host: str, user: str) -> dagger.Ssh:
return (
dag.ssh(key, host, user)
)@func()
example(key: Secret, host: string, user: string): Ssh {
return dag
.ssh(key, host, user)
}Types
Ssh 🔗
alpineVersion() 🔗
Return Type
String ! Example
dagger -m codeberg.org/clouds666/daggerverse/ssh@55517e5c747fabbbf86bee6d762982cccb2fb481 call \
--key env:MYSECRET --host string --user string alpine-versionfunc (m *MyModule) Example(ctx context.Context, key *dagger.Secret, host string, user string) string {
return dag.
Ssh(key, host, user).
Alpineversion(ctx)
}@function
async def example(key: dagger.Secret, host: str, user: str) -> str:
return await (
dag.ssh(key, host, user)
.alpineversion()
)@func()
async example(key: Secret, host: string, user: string): Promise<string> {
return dag
.ssh(key, host, user)
.alpineVersion()
}key() 🔗
Return Type
Secret ! Example
dagger -m codeberg.org/clouds666/daggerverse/ssh@55517e5c747fabbbf86bee6d762982cccb2fb481 call \
--key env:MYSECRET --host string --user string keyfunc (m *MyModule) Example(key *dagger.Secret, host string, user string) *dagger.Secret {
return dag.
Ssh(key, host, user).
Key()
}@function
def example(key: dagger.Secret, host: str, user: str) -> dagger.Secret:
return (
dag.ssh(key, host, user)
.key()
)@func()
example(key: Secret, host: string, user: string): Secret {
return dag
.ssh(key, host, user)
.key()
}host() 🔗
Return Type
String ! Example
dagger -m codeberg.org/clouds666/daggerverse/ssh@55517e5c747fabbbf86bee6d762982cccb2fb481 call \
--key env:MYSECRET --host string --user string hostfunc (m *MyModule) Example(ctx context.Context, key *dagger.Secret, host string, user string) string {
return dag.
Ssh(key, host, user).
Host(ctx)
}@function
async def example(key: dagger.Secret, host: str, user: str) -> str:
return await (
dag.ssh(key, host, user)
.host()
)@func()
async example(key: Secret, host: string, user: string): Promise<string> {
return dag
.ssh(key, host, user)
.host()
}user() 🔗
Return Type
String ! Example
dagger -m codeberg.org/clouds666/daggerverse/ssh@55517e5c747fabbbf86bee6d762982cccb2fb481 call \
--key env:MYSECRET --host string --user string userfunc (m *MyModule) Example(ctx context.Context, key *dagger.Secret, host string, user string) string {
return dag.
Ssh(key, host, user).
User(ctx)
}@function
async def example(key: dagger.Secret, host: str, user: str) -> str:
return await (
dag.ssh(key, host, user)
.user()
)@func()
async example(key: Secret, host: string, user: string): Promise<string> {
return dag
.ssh(key, host, user)
.user()
}run() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| command | String ! | - | No description provided |
Example
dagger -m codeberg.org/clouds666/daggerverse/ssh@55517e5c747fabbbf86bee6d762982cccb2fb481 call \
--key env:MYSECRET --host string --user string run --command stringfunc (m *MyModule) Example(ctx context.Context, key *dagger.Secret, host string, user string, command string) {
return dag.
Ssh(key, host, user).
Run(ctx, command)
}@function
async def example(key: dagger.Secret, host: str, user: str, command: str) -> None:
return await (
dag.ssh(key, host, user)
.run(command)
)@func()
async example(key: Secret, host: string, user: string, command: string): Promise<void> {
return dag
.ssh(key, host, user)
.run(command)
}