Dagger
Search

tmate

No long description provided.

Installation

dagger install github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2

Entrypoint

Return Type
Tmate
Example
dagger -m github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2 call \
func (m *myModule) example() *Tmate  {
	return dag.
			Tmate()
}
@function
def example() -> dag.Tmate:
	return (
		dag.tmate()
	)
@func()
example(): Tmate {
	return dag
		.tmate()
}

Types

Tmate 🔗

source() 🔗

Return Type
Directory !
Example
dagger -m github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2 call \
 source
func (m *myModule) example() *Directory  {
	return dag.
			Tmate().
			Source()
}
@function
def example() -> dagger.Directory:
	return (
		dag.tmate()
		.source()
	)
@func()
example(): Directory {
	return dag
		.tmate()
		.source()
}

buildEnv() 🔗

A build environment for tmate, with source code and all build dependencies installed

Return Type
Container !
Example
dagger -m github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2 call \
 build-env
func (m *myModule) example() *Container  {
	return dag.
			Tmate().
			BuildEnv()
}
@function
def example() -> dagger.Container:
	return (
		dag.tmate()
		.build_env()
	)
@func()
example(): Container {
	return dag
		.tmate()
		.buildEnv()
}

dynamic() 🔗

A build of tmate as a dynamically linked binary + required libraries

Return Type
Directory !
Example
dagger -m github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2 call \
 dynamic
func (m *myModule) example() *Directory  {
	return dag.
			Tmate().
			Dynamic()
}
@function
def example() -> dagger.Directory:
	return (
		dag.tmate()
		.dynamic()
	)
@func()
example(): Directory {
	return dag
		.tmate()
		.dynamic()
}

static() 🔗

A static build of Tmate

Return Type
File !
Example
dagger -m github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2 call \
 static
func (m *myModule) example() *File  {
	return dag.
			Tmate().
			Static()
}
@function
def example() -> dagger.File:
	return (
		dag.tmate()
		.static()
	)
@func()
example(): File {
	return dag
		.tmate()
		.static()
}

wrap() 🔗

Run tmate in a container

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2 call \
 wrap --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container  {
	return dag.
			Tmate().
			Wrap(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
	return (
		dag.tmate()
		.wrap(container)
	)
@func()
example(container: Container): Container {
	return dag
		.tmate()
		.wrap(container)
}

wrapControl() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
containerContainer !-No description provided
Example
dagger -m github.com/shykes/daggerverse/tmate@28497a39f1ac358b496d43334c305b074a51b5d2 call \
 wrap-control --container IMAGE:TAG
func (m *myModule) example(container *Container) *Container  {
	return dag.
			Tmate().
			WrapControl(container)
}
@function
def example(container: dagger.Container) -> dagger.Container:
	return (
		dag.tmate()
		.wrap_control(container)
	)
@func()
example(container: Container): Container {
	return dag
		.tmate()
		.wrapControl(container)
}