Dagger
Search

viztest

No long description provided.

Installation

dagger install github.com/vito/daggerverse/viztest@2426612a29e6308bbab8bfef7c966b2a84683a38

Entrypoint

Return Type
Viztest
Example
func (m *myModule) example() *Viztest  {
	return dag.
			Viztest()
}
@function
def example() -> dag.Viztest:
	return (
		dag.viztest()
	)
@func()
example(): Viztest {
	return dag
		.viztest()
}

Types

Viztest

spam()

LogThroughput logs the current time in a tight loop.

Return Type
Container !
Example
dagger -m github.com/vito/daggerverse/viztest@2426612a29e6308bbab8bfef7c966b2a84683a38 call \
 spam
func (m *myModule) example() *Container  {
	return dag.
			Viztest().
			Spam()
}
@function
def example() -> dagger.Container:
	return (
		dag.viztest()
		.spam()
	)
@func()
example(): Container {
	return dag
		.viztest()
		.spam()
}

encapsulate()

Encapsulate calls a failing function, but ultimately succeeds.

Return Type
Void !
Example
dagger -m github.com/vito/daggerverse/viztest@2426612a29e6308bbab8bfef7c966b2a84683a38 call \
 encapsulate
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Viztest().
			Encapsulate(ctx)
}
@function
async def example() -> None:
	return await (
		dag.viztest()
		.encapsulate()
	)
@func()
async example(): Promise<void> {
	return dag
		.viztest()
		.encapsulate()
}

logStdout()

Return Type
Void !
Example
dagger -m github.com/vito/daggerverse/viztest@2426612a29e6308bbab8bfef7c966b2a84683a38 call \
 log-stdout
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Viztest().
			LogStdout(ctx)
}
@function
async def example() -> None:
	return await (
		dag.viztest()
		.log_stdout()
	)
@func()
async example(): Promise<void> {
	return dag
		.viztest()
		.logStdout()
}

logStderr()

Return Type
Void !
Example
dagger -m github.com/vito/daggerverse/viztest@2426612a29e6308bbab8bfef7c966b2a84683a38 call \
 log-stderr
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Viztest().
			LogStderr(ctx)
}
@function
async def example() -> None:
	return await (
		dag.viztest()
		.log_stderr()
	)
@func()
async example(): Promise<void> {
	return dag
		.viztest()
		.logStderr()
}

fail()

Fail fails after waiting for a certain amount of time.

Return Type
Void !
Arguments
NameTypeDefault ValueDescription
afterString "10"No description provided
Example
dagger -m github.com/vito/daggerverse/viztest@2426612a29e6308bbab8bfef7c966b2a84683a38 call \
 fail
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Viztest().
			Fail(ctx)
}
@function
async def example() -> None:
	return await (
		dag.viztest()
		.fail()
	)
@func()
async example(): Promise<void> {
	return dag
		.viztest()
		.fail()
}