Documentation ¶
Index ¶
- Constants
- func BuildgCmd(t *testing.T, args []string, opts ...BuildgCmdOption) *exec.Cmd
- func Mirror(ref string) string
- func NewTempContext(t *testing.T, dt string) (p string, done func() error)
- type BuildgCmdOption
- type DAPServer
- type DAPServerOption
- type DebugShell
- type DebugShellOption
- type Output
Constants ¶
View Source
const BuildgTestTmpDirEnv = "TEST_BUILDG_TMP_DIR"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildgCmdOption ¶ added in v0.4.0
type BuildgCmdOption func(*buildgCmdOptions)
func WithBuildgCmdEnv ¶ added in v0.4.0
func WithBuildgCmdEnv(env ...string) BuildgCmdOption
func WithGlobalOptions ¶ added in v0.1.1
func WithGlobalOptions(globalOpts ...string) BuildgCmdOption
type DAPServer ¶ added in v0.3.0
type DAPServer struct {
// contains filtered or unexported fields
}
func NewDAPServer ¶ added in v0.3.0
func NewDAPServer(t *testing.T, opts ...DAPServerOption) *DAPServer
type DAPServerOption ¶ added in v0.3.0
type DAPServerOption func(*dapOptions)
func WithDAPServerEnv ¶ added in v0.3.0
func WithDAPServerEnv(env ...string) DAPServerOption
func WithDAPServerGlobalOptions ¶ added in v0.3.0
func WithDAPServerGlobalOptions(globalOpts ...string) DAPServerOption
type DebugShell ¶
type DebugShell struct {
// contains filtered or unexported fields
}
func NewDebugShell ¶
func NewDebugShell(t *testing.T, buildCtx string, opts ...DebugShellOption) *DebugShell
func (*DebugShell) Do ¶
func (sh *DebugShell) Do(args string) *Output
func (*DebugShell) Wait ¶
func (sh *DebugShell) Wait() error
type DebugShellOption ¶ added in v0.1.0
type DebugShellOption func(*options)
func WithEnv ¶ added in v0.1.0
func WithEnv(env ...string) DebugShellOption
func WithOptions ¶ added in v0.1.0
func WithOptions(opts ...string) DebugShellOption
func WithRootDir ¶ added in v0.4.0
func WithRootDir(rootDir string) DebugShellOption
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
func (*Output) OutContains ¶
func (*Output) OutNotContains ¶
func (*Output) OutNotEqual ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.