apitest

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertRequestsDone

func AssertRequestsDone(t *testing.T)

func ListUnmatchedRequests

func ListUnmatchedRequests() []string

func MockDocker

func MockDocker(docker *client.Client) error

func MockDockerLogs

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

func MockDockerLogsExitCode

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

func MockDockerLogsStream

func MockDockerLogsStream(docker *client.Client, containerID string, exitCode int, r io.Reader) error

func MockDockerStart

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

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

func MockDockerStop

func MockDockerStop(docker *client.Client)

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

func MockPlatformAPI

func MockPlatformAPI(t *testing.T) func()

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