Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyRepository = errors.New("repository cannot be empty") ErrEmptyTag = errors.New("tag cannot be empty") ErrEmptyName = errors.New("name cannot be empty") ErrEmptyImageName = errors.New("image name cannot be empty") ErrEmptyHTTPAddress = errors.New("http address cannot be empty") ErrEmptyWSAddress = errors.New("ws address cannot be empty") )
Errors returned by the localnet package.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Start starts the container. Start() error // Stop stops the container. Stop() error // Remove removes the container. Remove() error // GetEndpoint returns the endpoint for the given id of the container. GetEndpoint(string) string // GetContainerLogs retrieves the logs out of the container. GetContainerLogs() ([]byte, error) }
Client is an interface for a container client.
Click to show internal directories.
Click to hide internal directories.