Documentation ¶
Index ¶
- func MaybeNeedDocker(t testingT, needDocker bool)
- func MustHaveDocker(t testingT)
- type Client
- func (c *Client) FollowLogs(ctx context.Context, id string) (stdout, stderr io.Reader, err error)
- func (c *Client) HostGatewayIP(ctx context.Context) (net.IP, error)
- func (c *Client) IsInstalled(ctx context.Context) bool
- func (c *Client) PullImage(ctx context.Context, image string) error
- func (c *Client) RemoveContainer(ctx context.Context, id string) error
- func (c *Client) RemoveObjectsWithLabel(ctx context.Context, labelName, labelValue string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybeNeedDocker ¶
func MaybeNeedDocker(t testingT, needDocker bool)
MaybeNeedDocker will skip the test if the test is running in an environment that cannot support cross-platform Docker images, and the passed boolean flag is true.
func MustHaveDocker ¶
func MustHaveDocker(t testingT)
MustHaveDocker will skip the test if the test is running in an environment that cannot support cross-platform Docker images.
Types ¶
type Client ¶
type Client struct {
tracing.TracedClient
}
func NewDockerClient ¶
func (*Client) FollowLogs ¶
func (*Client) RemoveContainer ¶
Click to show internal directories.
Click to hide internal directories.