test

package
v0.0.0-...-4d45f13 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dockerfile

func Dockerfile(where string) *dockerfile

func IsDockerEnabled

func IsDockerEnabled() bool

Types

type Cmd

type Cmd struct {
	// Embed a `Once` so we can call `exec` only once
	sync.Once
	// contains filtered or unexported fields
}

func CertManage

func CertManage(args ...string) *Cmd

Quick wrapper around platform/arch specific call to cert-manage which is located at ../bin/cert-manage-GOOS-GOARCH

func Command

func Command(cmd string, args ...string) *Cmd

func (*Cmd) CmpInt

func (c *Cmd) CmpInt(t *testing.T, n1 int)

func (*Cmd) CmpIntF

func (c *Cmd) CmpIntF(t *testing.T, f func(int) bool)

func (*Cmd) EqualT

func (c *Cmd) EqualT(t *testing.T, ans string)

func (*Cmd) Err

func (c *Cmd) Err() error

func (*Cmd) FailedT

func (c *Cmd) FailedT(t *testing.T)

func (*Cmd) PendingT

func (c *Cmd) PendingT(t *testing.T, reason string)

func (*Cmd) String

func (c *Cmd) String() string

func (*Cmd) Success

func (c *Cmd) Success() bool

func (*Cmd) SuccessT

func (c *Cmd) SuccessT(t *testing.T)

func (*Cmd) Trim

func (c *Cmd) Trim() *Cmd

Jump to

Keyboard shortcuts

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