apitest

package
v2.0.5-0...-bd0d250 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 MockDockerStart

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

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

func MockDockerStop

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