Documentation
¶
Index ¶
- func Exec(ctx context.Context, dockerClient client.APIClient, container string, ...) error
- func GetContainerByName(ctx context.Context, name string, dockerClient client.APIClient, ...) (*types.Container, error)
- func GetDockerClient() (*dockerClient.Client, error)
- func GetOneContainer(ctx context.Context, dockerClient client.APIClient, ...) (*types.Container, error)
- func IsUsingPort(container *types.Container, port uint16) bool
- type AuxBody
- type AuxMessage
- type ErrorMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainerByName ¶ added in v0.3.0
func GetDockerClient ¶
func GetDockerClient() (*dockerClient.Client, error)
func GetOneContainer ¶
Types ¶
type AuxMessage ¶
type AuxMessage struct {
Aux AuxBody `json:"aux"`
}
func BuildDir ¶
func BuildDir(ctx context.Context, client *dockerClient.Client, path string, buildOpts types.ImageBuildOptions) (*AuxMessage, error)
type ErrorMessage ¶
type ErrorMessage struct {
ErrorStr string
}
func (ErrorMessage) Error ¶
func (e ErrorMessage) Error() string
Click to show internal directories.
Click to hide internal directories.