Documentation
¶
Index ¶
- type Docker
- func (d Docker) ContainerCreate(ctx context.Context, image string, port int) (string, error)
- func (d Docker) ContainerStart(ctx context.Context, imageID string) error
- func (d Docker) ContainerStop(ctx context.Context, imageID string) error
- func (d Docker) ImageBuild(ctx context.Context, dst, name string) (string, error)
- type ErrorDetail
- type ErrorLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
Docker is a docker image builder.
func (Docker) ContainerCreate ¶ added in v0.0.2
ContainerCreate creates Docker container.
func (Docker) ContainerStart ¶ added in v0.0.2
ContainerStart starts Docker container.
func (Docker) ContainerStop ¶ added in v0.0.2
ContainerStop stops Docker container.
type ErrorDetail ¶
type ErrorDetail struct {
Message string `json:"message"`
}
type ErrorLine ¶
type ErrorLine struct { Error string `json:"error"` ErrorDetail ErrorDetail `json:"errorDetail"` }
Click to show internal directories.
Click to hide internal directories.