viztest
No long description provided.
Installation
dagger install github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25eEntrypoint
Return Type
Viztest Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
func (m *MyModule) Example() *dagger.Viztest {
return dag.
Viztest()
}@function
def example() -> dagger.Viztest:
return (
dag.viztest()
)@func()
example(): Viztest {
return dag
.viztest()
}Types
Viztest 🔗
num() 🔗
Return Type
Integer ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
numfunc (m *MyModule) Example(ctx context.Context) int {
return dag.
Viztest().
Num(ctx)
}@function
async def example() -> int:
return await (
dag.viztest()
.num()
)@func()
async example(): Promise<number> {
return dag
.viztest()
.num()
}helloWorld() 🔗
HelloWorld returns the string “Hello, world!”
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
hello-worldfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
HelloWorld(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.hello_world()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.helloWorld()
}spam() 🔗
LogThroughput logs the current time in a tight loop.
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
spamfunc (m *MyModule) Example() *dagger.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/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
encapsulatefunc (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()
}failEncapsulated() 🔗
Demonstrate that error logs are not hoisted as long as their enclosing span did not fail, and how UNSET spans interact with the hoisting logic.
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
fail-encapsulatedfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
FailEncapsulated(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.fail_encapsulated()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.failEncapsulated()
}failEffect() 🔗
FailEffect returns a function whose effects will fail when it runs.
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
fail-effectfunc (m *MyModule) Example() *dagger.Container {
return dag.
Viztest().
FailEffect()
}@function
def example() -> dagger.Container:
return (
dag.viztest()
.fail_effect()
)@func()
example(): Container {
return dag
.viztest()
.failEffect()
}failMulti() 🔗
FailMulti bubbles up two error origins.
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
fail-multifunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
FailMulti(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.fail_multi()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.failMulti()
}logStdout() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
log-stdoutfunc (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()
}terminal() 🔗
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
terminalfunc (m *MyModule) Example() *dagger.Container {
return dag.
Viztest().
Terminal()
}@function
def example() -> dagger.Container:
return (
dag.viztest()
.terminal()
)@func()
example(): Container {
return dag
.viztest()
.terminal()
}primaryLines() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| n | Integer ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
primary-lines --n integerfunc (m *MyModule) Example(ctx context.Context, n int) string {
return dag.
Viztest().
PrimaryLines(ctx, n)
}@function
async def example(n: int) -> str:
return await (
dag.viztest()
.primary_lines(n)
)@func()
async example(n: number): Promise<string> {
return dag
.viztest()
.primaryLines(n)
}manyLines() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| n | Integer ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
many-lines --n integerfunc (m *MyModule) Example(ctx context.Context, n int) {
return dag.
Viztest().
ManyLines(ctx, n)
}@function
async def example(n: int) -> None:
return await (
dag.viztest()
.many_lines(n)
)@func()
async example(n: number): Promise<void> {
return dag
.viztest()
.manyLines(n)
}customSpan() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
custom-spanfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
CustomSpan(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.custom_span()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.customSpan()
}revealedSpans() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
revealed-spansfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
RevealedSpans(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.revealed_spans()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.revealedSpans()
}revealAndLog() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
reveal-and-logfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
RevealAndLog(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.reveal_and_log()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.revealAndLog()
}manySpans() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| n | Integer ! | - | No description provided |
| delayMs | Integer ! | 0 | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
many-spans --n integer --delay-ms integerfunc (m *MyModule) Example(ctx context.Context, n int, delayMs int) {
return dag.
Viztest().
ManySpans(ctx, n, delayMs)
}@function
async def example(n: int, delay_ms: int) -> None:
return await (
dag.viztest()
.many_spans(n, delay_ms)
)@func()
async example(n: number, delayMs: number): Promise<void> {
return dag
.viztest()
.manySpans(n, delayMs)
}streamingLogs() 🔗
Continuously prints batches of logs on an interval (default 1 per second).
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| batchSize | Integer | 1 | No description provided |
| delayMs | Integer | 1000 | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
streaming-logsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
StreamingLogs(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.streaming_logs()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.streamingLogs()
}streamingChunks() 🔗
Continuously prints batches of logs on an interval (default 1 per second).
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| batchSize | Integer | 1 | No description provided |
| delayMs | Integer | 1000 | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
streaming-chunksfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
StreamingChunks(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.streaming_chunks()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.streamingChunks()
}echo() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| message | String ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
echo --message stringfunc (m *MyModule) Example(ctx context.Context, message string) string {
return dag.
Viztest().
Echo(ctx, message)
}@function
async def example(message: str) -> str:
return await (
dag.viztest()
.echo(message)
)@func()
async example(message: string): Promise<string> {
return dag
.viztest()
.echo(message)
}uppercase() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| message | String ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
uppercase --message stringfunc (m *MyModule) Example(ctx context.Context, message string) string {
return dag.
Viztest().
Uppercase(ctx, message)
}@function
async def example(message: str) -> str:
return await (
dag.viztest()
.uppercase(message)
)@func()
async example(message: string): Promise<string> {
return dag
.viztest()
.uppercase(message)
}sameDiffClients() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| message | String ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
same-diff-clients --message stringfunc (m *MyModule) Example(ctx context.Context, message string) string {
return dag.
Viztest().
SameDiffClients(ctx, message)
}@function
async def example(message: str) -> str:
return await (
dag.viztest()
.same_diff_clients(message)
)@func()
async example(message: string): Promise<string> {
return dag
.viztest()
.sameDiffClients(message)
}accounting() 🔗
Accounting returns a container that sleeps for 1 second and then sleeps for 2 seconds.
It can be used to test UI cues for tracking down the place where a slow operation is configured, which is more interesting than the place where it is un-lazied when you’re trying to figure out where to optimize.
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
accountingfunc (m *MyModule) Example() *dagger.Container {
return dag.
Viztest().
Accounting()
}@function
def example() -> dagger.Container:
return (
dag.viztest()
.accounting()
)@func()
example(): Container {
return dag
.viztest()
.accounting()
}deepSleep() 🔗
DeepSleep sleeps forever.
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
deep-sleepfunc (m *MyModule) Example() *dagger.Container {
return dag.
Viztest().
DeepSleep()
}@function
def example() -> dagger.Container:
return (
dag.viztest()
.deep_sleep()
)@func()
example(): Container {
return dag
.viztest()
.deepSleep()
}add() 🔗
Return Type
Viztest !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| diff | Integer | 1 | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
addfunc (m *MyModule) Example() *dagger.Viztest {
return dag.
Viztest().
Add()
}@function
def example() -> dagger.Viztest:
return (
dag.viztest()
.add()
)@func()
example(): Viztest {
return dag
.viztest()
.add()
}countFiles() 🔗
Return Type
Viztest !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
count-files --dir DIR_PATHfunc (m *MyModule) Example(dir *dagger.Directory) *dagger.Viztest {
return dag.
Viztest().
CountFiles(dir)
}@function
def example(dir: dagger.Directory) -> dagger.Viztest:
return (
dag.viztest()
.count_files(dir)
)@func()
example(dir: Directory): Viztest {
return dag
.viztest()
.countFiles(dir)
}logStderr() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
log-stderrfunc (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()
}failLog() 🔗
FailLog runs a container that logs a message and then fails.
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
fail-logfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
FailLog(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.fail_log()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.failLog()
}failLogNative() 🔗
FailLogNative prints a message and then returns an error.
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
fail-log-nativefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
FailLogNative(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.fail_log_native()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.failLogNative()
}failSlow() 🔗
FailSlow fails after waiting for a certain amount of time.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| after | String | "10" | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
fail-slowfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
FailSlow(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.fail_slow()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.failSlow()
}cachedExecService() 🔗
Return Type
Service ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
cached-exec-servicefunc (m *MyModule) Example() *dagger.Service {
return dag.
Viztest().
CachedExecService()
}@function
def example() -> dagger.Service:
return (
dag.viztest()
.cached_exec_service()
)@func()
example(): Service {
return dag
.viztest()
.cachedExecService()
}cachedExecs() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
cached-execsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
CachedExecs(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.cached_execs()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.cachedExecs()
}useCachedExecService() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
use-cached-exec-servicefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
UseCachedExecService(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.use_cached_exec_service()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.useCachedExecService()
}execService() 🔗
Return Type
Service ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
exec-servicefunc (m *MyModule) Example() *dagger.Service {
return dag.
Viztest().
ExecService()
}@function
def example() -> dagger.Service:
return (
dag.viztest()
.exec_service()
)@func()
example(): Service {
return dag
.viztest()
.execService()
}useExecService() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
use-exec-servicefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
UseExecService(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.use_exec_service()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.useExecService()
}noExecService() 🔗
Return Type
Service ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
no-exec-servicefunc (m *MyModule) Example() *dagger.Service {
return dag.
Viztest().
NoExecService()
}@function
def example() -> dagger.Service:
return (
dag.viztest()
.no_exec_service()
)@func()
example(): Service {
return dag
.viztest()
.noExecService()
}useNoExecService() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
use-no-exec-servicefunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
UseNoExecService(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.use_no_exec_service()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.useNoExecService()
}pending() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
pendingfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
Pending(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.pending()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.pending()
}colors16() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
colors-1-6func (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
Colors16(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.colors16()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.colors16()
}colors256() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
colors-2-5-6func (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
Colors256(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.colors256()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.colors256()
}dockerBuildCached() 🔗
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
docker-build-cachedfunc (m *MyModule) Example() *dagger.Container {
return dag.
Viztest().
DockerBuildCached()
}@function
def example() -> dagger.Container:
return (
dag.viztest()
.docker_build_cached()
)@func()
example(): Container {
return dag
.viztest()
.dockerBuildCached()
}dockerBuild() 🔗
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
docker-buildfunc (m *MyModule) Example() *dagger.Container {
return dag.
Viztest().
DockerBuild()
}@function
def example() -> dagger.Container:
return (
dag.viztest()
.docker_build()
)@func()
example(): Container {
return dag
.viztest()
.dockerBuild()
}dockerBuildFail() 🔗
Return Type
Container ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
docker-build-failfunc (m *MyModule) Example() *dagger.Container {
return dag.
Viztest().
DockerBuildFail()
}@function
def example() -> dagger.Container:
return (
dag.viztest()
.docker_build_fail()
)@func()
example(): Container {
return dag
.viztest()
.dockerBuildFail()
}diskMetrics() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
disk-metricsfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
DiskMetrics(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.disk_metrics()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.diskMetrics()
}list() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| dir | Directory ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
list --dir DIR_PATHfunc (m *MyModule) Example(ctx context.Context, dir *dagger.Directory) string {
return dag.
Viztest().
List(ctx, dir)
}@function
async def example(dir: dagger.Directory) -> str:
return await (
dag.viztest()
.list(dir)
)@func()
async example(dir: Directory): Promise<string> {
return dag
.viztest()
.list(dir)
}gitReadme() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| remote | String ! | - | No description provided |
| version | String ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
git-readme --remote string --version stringfunc (m *MyModule) Example(ctx context.Context, remote string, version string) string {
return dag.
Viztest().
GitReadme(ctx, remote, version)
}@function
async def example(remote: str, version: str) -> str:
return await (
dag.viztest()
.git_readme(remote, version)
)@func()
async example(remote: string, version: string): Promise<string> {
return dag
.viztest()
.gitReadme(remote, version)
}httpreadme() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| remote | String ! | - | No description provided |
| version | String ! | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
httpreadme --remote string --version stringfunc (m *MyModule) Example(ctx context.Context, remote string, version string) string {
return dag.
Viztest().
Httpreadme(ctx, remote, version)
}@function
async def example(remote: str, version: str) -> str:
return await (
dag.viztest()
.httpreadme(remote, version)
)@func()
async example(remote: string, version: string): Promise<string> {
return dag
.viztest()
.httpreadme(remote, version)
}objectLists() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
object-listsfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
ObjectLists(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.object_lists()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.objectLists()
}nestedCalls() 🔗
Return Type
[String ! ] ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
nested-callsfunc (m *MyModule) Example(ctx context.Context) []string {
return dag.
Viztest().
NestedCalls(ctx)
}@function
async def example() -> List[str]:
return await (
dag.viztest()
.nested_calls()
)@func()
async example(): Promise<string[]> {
return dag
.viztest()
.nestedCalls()
}pathArgs() 🔗
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
| dir | Directory ! | - | No description provided |
| contextFile | File | - | No description provided |
| contextDir | Directory | - | No description provided |
Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
path-args --file file:path --dir DIR_PATHfunc (m *MyModule) Example(ctx context.Context, file *dagger.File, dir *dagger.Directory) {
return dag.
Viztest().
PathArgs(ctx, file, dir)
}@function
async def example(file: dagger.File, dir: dagger.Directory) -> None:
return await (
dag.viztest()
.path_args(file, dir)
)@func()
async example(file: File, dir: Directory): Promise<void> {
return dag
.viztest()
.pathArgs(file, dir)
}callFailingDep() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
call-failing-depfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
CallFailingDep(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.call_failing_dep()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.callFailingDep()
}callBubblingDep() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
call-bubbling-depfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
CallBubblingDep(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.call_bubbling_dep()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.callBubblingDep()
}traceFunctionCalls() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
trace-function-callsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
TraceFunctionCalls(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.trace_function_calls()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.traceFunctionCalls()
}traceRemoteFunctionCalls() 🔗
Return Type
Void ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
trace-remote-function-callsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Viztest().
TraceRemoteFunctionCalls(ctx)
}@function
async def example() -> None:
return await (
dag.viztest()
.trace_remote_function_calls()
)@func()
async example(): Promise<void> {
return dag
.viztest()
.traceRemoteFunctionCalls()
}logWithChildren() 🔗
Return Type
String ! Example
dagger -m github.com/dagger/dagger/dagql/idtui/viztest@3e92868ab5993b07bd996e5c0abe2d143da3f25e call \
log-with-childrenfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Viztest().
LogWithChildren(ctx)
}@function
async def example() -> str:
return await (
dag.viztest()
.log_with_children()
)@func()
async example(): Promise<string> {
return dag
.viztest()
.logWithChildren()
}