Documentation ¶
Index ¶
- type Docker
- func (d *Docker) BuildImage(ctx context.Context, workdir string, name string) error
- func (d *Docker) InspectContainer(ctx context.Context, name string, container interface{}) error
- func (d *Docker) InspectImage(ctx context.Context, name string, img interface{}) error
- func (d *Docker) PushImage(ctx context.Context, name string) (string, error)
- func (d *Docker) StartContainer(ctx context.Context, name string, image string, ports []int32) error
- func (d *Docker) StopContainer(ctx context.Context, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
Docker docker as image builder
func CreateClient ¶
CreateClient create a docker instance
func (*Docker) BuildImage ¶
BuildImage a directory to be a image
func (*Docker) InspectContainer ¶
InspectContainer inspect a container
func (*Docker) InspectImage ¶
InspectImage inspect a image
Click to show internal directories.
Click to hide internal directories.