Documentation ¶
Index ¶
- type DockerImageHandler
- func (imageHandler *DockerImageHandler) CheckWindowsImage(imageIID irs.IID) (bool, error)
- func (imageHandler *DockerImageHandler) CreateImage(imageReqInfo irs.ImageReqInfo) (irs.ImageInfo, error)
- func (imageHandler *DockerImageHandler) DeleteImage(imageIID irs.IID) (bool, error)
- func (imageHandler *DockerImageHandler) GetImage(imageIID irs.IID) (irs.ImageInfo, error)
- func (imageHandler *DockerImageHandler) ListImage() ([]*irs.ImageInfo, error)
- type DockerVMHandler
- func (vmHandler *DockerVMHandler) GetVM(vmIID irs.IID) (irs.VMInfo, error)
- func (vmHandler *DockerVMHandler) GetVMStatus(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *DockerVMHandler) ListVM() ([]*irs.VMInfo, error)
- func (vmHandler *DockerVMHandler) ListVMStatus() ([]*irs.VMStatusInfo, error)
- func (vmHandler *DockerVMHandler) RebootVM(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *DockerVMHandler) ResumeVM(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *DockerVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, error)
- func (vmHandler *DockerVMHandler) SuspendVM(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *DockerVMHandler) TerminateVM(vmIID irs.IID) (irs.VMStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerImageHandler ¶
type DockerImageHandler struct { Region idrv.RegionInfo Context context.Context Client *client.Client }
func (*DockerImageHandler) CheckWindowsImage ¶ added in v0.6.15
func (imageHandler *DockerImageHandler) CheckWindowsImage(imageIID irs.IID) (bool, error)
func (*DockerImageHandler) CreateImage ¶
func (imageHandler *DockerImageHandler) CreateImage(imageReqInfo irs.ImageReqInfo) (irs.ImageInfo, error)
(1) pull from dockerhub (2) get repo digests id from pulling return (3) get all image summary from local repos (4) get image ID and OS Info from inspection
func (*DockerImageHandler) DeleteImage ¶
func (imageHandler *DockerImageHandler) DeleteImage(imageIID irs.IID) (bool, error)
type DockerVMHandler ¶ added in v0.1.9
type DockerVMHandler struct { Region idrv.RegionInfo Context context.Context Client *client.Client }
func (*DockerVMHandler) GetVMStatus ¶ added in v0.1.9
func (*DockerVMHandler) ListVM ¶ added in v0.1.9
func (vmHandler *DockerVMHandler) ListVM() ([]*irs.VMInfo, error)
func (*DockerVMHandler) ListVMStatus ¶ added in v0.1.9
func (vmHandler *DockerVMHandler) ListVMStatus() ([]*irs.VMStatusInfo, error)
func (*DockerVMHandler) TerminateVM ¶ added in v0.1.9
(1) docker stop (2) docker rm
Click to show internal directories.
Click to hide internal directories.