apitest

package
v1.207.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListUnmatchedRequests added in v1.0.4

func ListUnmatchedRequests() []string

func MockDocker added in v1.11.2

func MockDocker(docker *client.Client) error

func MockDockerLogs added in v1.11.2

func MockDockerLogs(docker *client.Client, containerID, stdout string) error

func MockDockerLogsExitCode added in v1.120.0

func MockDockerLogsExitCode(docker *client.Client, containerID string, exitCode int) error

func MockDockerStart added in v1.11.2

func MockDockerStart(docker *client.Client, image, containerID string)

Ref: internal/utils/docker.go::DockerStart

func MockDockerStop added in v1.132.1

func MockDockerStop(docker *client.Client)

Ref: internal/utils/docker.go::DockerRemoveAll

func RandomAccessToken

func RandomAccessToken(t *testing.T) []byte

func RandomProjectRef

func RandomProjectRef() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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