stdio
No long description provided.
Installation
dagger install github.com/shykes/x/stdio@c053165bebdce73277891d283dd9b39afcd9fd3eEntrypoint
Return Type
Stdio !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| stdioTool | File | - | No description provided |
Example
dagger -m github.com/shykes/x/stdio@c053165bebdce73277891d283dd9b39afcd9fd3e call \
func (m *MyModule) Example() *dagger.Stdio {
return dag.
Stdio()
}@function
def example() -> dagger.Stdio:
return (
dag.stdio()
)@func()
example(): Stdio {
return dag
.stdio()
}Types
Stdio 🔗
proxy() 🔗
Execute the given container as a stdio server, and expose it as a TCP service
Return Type
Service !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| ctr | Container ! | - | No description provided |
Example
dagger -m github.com/shykes/x/stdio@c053165bebdce73277891d283dd9b39afcd9fd3e call \
proxy --ctr IMAGE:TAGfunc (m *MyModule) Example(ctr *dagger.Container) *dagger.Service {
return dag.
Stdio().
Proxy(ctr)
}@function
def example(ctr: dagger.Container) -> dagger.Service:
return (
dag.stdio()
.proxy(ctr)
)@func()
example(ctr: Container): Service {
return dag
.stdio()
.proxy(ctr)
}