Dagger
Search

stdio

No long description provided.

Installation

dagger install github.com/shykes/x/stdio@811fa8a47958c484441304cec08d6fe30a7550b3

Entrypoint

Return Type
Stdio !
Arguments
NameTypeDefault ValueDescription
proxySourceDirectory -No description provided
Example
dagger -m github.com/shykes/x/stdio@811fa8a47958c484441304cec08d6fe30a7550b3 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 🔗

server() 🔗

Execute the given container as a stdio server, and expose it as a TCP service

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
portInteger 8000No description provided
Example
dagger -m github.com/shykes/x/stdio@811fa8a47958c484441304cec08d6fe30a7550b3 call \
 server --ctr IMAGE:TAG
func (m *MyModule) Example(ctr *dagger.Container) *dagger.Service  {
	return dag.
			Stdio().
			Server(ctr)
}
@function
def example(ctr: dagger.Container) -> dagger.Service:
	return (
		dag.stdio()
		.server(ctr)
	)
@func()
example(ctr: Container): Service {
	return dag
		.stdio()
		.server(ctr)
}

client() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
ctrContainer !-No description provided
Example
dagger -m github.com/shykes/x/stdio@811fa8a47958c484441304cec08d6fe30a7550b3 call \
 client --ctr IMAGE:TAG
func (m *MyModule) Example(ctr *dagger.Container) *dagger.Container  {
	return dag.
			Stdio().
			Client(ctr)
}
@function
def example(ctr: dagger.Container) -> dagger.Container:
	return (
		dag.stdio()
		.client(ctr)
	)
@func()
example(ctr: Container): Container {
	return dag
		.stdio()
		.client(ctr)
}

binary() 🔗

Build the proxy static binary

Return Type
File !
Example
dagger -m github.com/shykes/x/stdio@811fa8a47958c484441304cec08d6fe30a7550b3 call \
 binary
func (m *MyModule) Example() *dagger.File  {
	return dag.
			Stdio().
			Binary()
}
@function
def example() -> dagger.File:
	return (
		dag.stdio()
		.binary()
	)
@func()
example(): File {
	return dag
		.stdio()
		.binary()
}