Documentation ¶
Index ¶
- func Init(mirrors []string, insecureRegistries []string)
- type Docker
- func (cli *Docker) GetContainerInfo(args ...string) (*types.ContainerJSON, error)
- func (cli Docker) SendCmdAuth(body io.ReadCloser) (string, error)
- func (cli Docker) SendCmdCreate(name, image string, entrypoint, cmds []string, userConfig interface{}) ([]byte, int, error)
- func (cli *Docker) SendCmdDelete(args ...string) ([]byte, int, error)
- func (cli Docker) SendCmdImages(all string) ([]*types.Image, error)
- func (cli *Docker) SendCmdInfo(args ...string) (*types.Info, error)
- func (cli Docker) SendCmdPull(image string, imagePullConfig *graph.ImagePullConfig) ([]byte, int, error)
- func (cli Docker) SendCmdPush(remote string, imagePushConfig *graph.ImagePushConfig) error
- func (cli Docker) SendContainerCommit(args ...string) ([]byte, int, error)
- func (cli Docker) SendContainerRename(oldName, newName string) error
- func (cli Docker) SendImageBuild(name string, size int, ctx io.ReadCloser) ([]byte, int, error)
- func (cli Docker) SendImageDelete(args ...string) ([]types.ImageDelete, error)
- func (cli Docker) Setup() error
- func (cli Docker) Shutdown() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Docker ¶ added in v0.5.0
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) GetContainerInfo ¶ added in v0.5.0
func (cli *Docker) GetContainerInfo(args ...string) (*types.ContainerJSON, error)
func (Docker) SendCmdAuth ¶ added in v0.5.0
func (cli Docker) SendCmdAuth(body io.ReadCloser) (string, error)
func (Docker) SendCmdCreate ¶ added in v0.5.0
func (*Docker) SendCmdDelete ¶ added in v0.5.0
func (Docker) SendCmdImages ¶ added in v0.5.0
func (*Docker) SendCmdInfo ¶ added in v0.5.0
func (Docker) SendCmdPull ¶ added in v0.5.0
func (Docker) SendCmdPush ¶ added in v0.5.0
func (cli Docker) SendCmdPush(remote string, imagePushConfig *graph.ImagePushConfig) error
func (Docker) SendContainerCommit ¶ added in v0.5.0
func (Docker) SendContainerRename ¶ added in v0.5.0
func (Docker) SendImageBuild ¶ added in v0.5.0
func (Docker) SendImageDelete ¶ added in v0.5.0
func (cli Docker) SendImageDelete(args ...string) ([]types.ImageDelete, error)
Click to show internal directories.
Click to hide internal directories.