testutil

package
v0.13.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUniqueNestedEngineNetwork added in v0.12.0

func GetUniqueNestedEngineNetwork() (deviceName string, cidr string)

returns a device name and cidr to use; enables us to have unique devices+ip ranges for nested engine services to prevent conflicts

func NewTWriter added in v0.12.0

func NewTWriter(t testing.TB) io.Writer

NewTWriter creates a new TWriter

func Query

func Query(t *testctx.T, query string, res any, opts *QueryOptions, clientOpts ...dagger.ClientOpt) error

Types

type QueryOptions

type QueryOptions struct {
	Operation string
	Variables map[string]any
	Secrets   map[string]string
	Version   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL