Documentation ¶
Index ¶
- type ClouditImageHandler
- func (imageHandler *ClouditImageHandler) CreateImage(imageReqInfo irs.ImageReqInfo) (irs.ImageInfo, error)
- func (imageHandler *ClouditImageHandler) DeleteImage(imageID string) (bool, error)
- func (imageHandler *ClouditImageHandler) GetImage(imageID string) (irs.ImageInfo, error)
- func (imageHandler *ClouditImageHandler) ListImage() ([]*irs.ImageInfo, error)
- type ClouditNicHandler
- func (nicHandler *ClouditNicHandler) CreateVNic(vNicReqInfo irs.VNicReqInfo) (irs.VNicInfo, error)
- func (nicHandler *ClouditNicHandler) DeleteVNic(vNicID string) (bool, error)
- func (nicHandler *ClouditNicHandler) GetVNic(vNicID string) (irs.VNicInfo, error)
- func (nicHandler *ClouditNicHandler) ListVNic() ([]*irs.VNicInfo, error)
- type ClouditPublicIPHandler
- func (publicIPHandler *ClouditPublicIPHandler) CreatePublicIP(publicIPReqInfo irs.PublicIPReqInfo) (irs.PublicIPInfo, error)
- func (publicIPHandler *ClouditPublicIPHandler) DeletePublicIP(publicIPID string) (bool, error)
- func (publicIPHandler *ClouditPublicIPHandler) GetPublicIP(publicIPID string) (irs.PublicIPInfo, error)
- func (publicIPHandler *ClouditPublicIPHandler) ListPublicIP() ([]*irs.PublicIPInfo, error)
- type ClouditSecurityHandler
- func (securityHandler *ClouditSecurityHandler) CreateSecurity(securityReqInfo irs.SecurityReqInfo) (irs.SecurityInfo, error)
- func (securityHandler *ClouditSecurityHandler) DeleteSecurity(securityID string) (bool, error)
- func (securityHandler *ClouditSecurityHandler) GetSecurity(securityID string) (irs.SecurityInfo, error)
- func (securityHandler *ClouditSecurityHandler) ListSecurity() ([]*irs.SecurityInfo, error)
- type ClouditVMHandler
- func (vmHandler *ClouditVMHandler) GetVM(vmID string) irs.VMInfo
- func (vmHandler *ClouditVMHandler) GetVMStatus(vmID string) irs.VMStatus
- func (vmHandler *ClouditVMHandler) ListVM() []*irs.VMInfo
- func (vmHandler *ClouditVMHandler) ListVMStatus() []*irs.VMStatusInfo
- func (vmHandler *ClouditVMHandler) RebootVM(vmID string)
- func (vmHandler *ClouditVMHandler) ResumeVM(vmID string)
- func (vmHandler *ClouditVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, error)
- func (vmHandler *ClouditVMHandler) SuspendVM(vmID string)
- func (vmHandler *ClouditVMHandler) TerminateVM(vmID string)
- type ClouditVNetworkHandler
- func (vNetworkHandler *ClouditVNetworkHandler) CreateVNetwork(vNetReqInfo irs.VNetworkReqInfo) (irs.VNetworkInfo, error)
- func (vNetworkHandler *ClouditVNetworkHandler) DeleteVNetwork(vNetworkID string) (bool, error)
- func (vNetworkHandler *ClouditVNetworkHandler) GetVNetwork(vNetworkID string) (irs.VNetworkInfo, error)
- func (vNetworkHandler *ClouditVNetworkHandler) ListVNetwork() ([]*irs.VNetworkInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClouditImageHandler ¶
type ClouditImageHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditImageHandler) CreateImage ¶
func (imageHandler *ClouditImageHandler) CreateImage(imageReqInfo irs.ImageReqInfo) (irs.ImageInfo, error)
func (*ClouditImageHandler) DeleteImage ¶
func (imageHandler *ClouditImageHandler) DeleteImage(imageID string) (bool, error)
type ClouditNicHandler ¶
type ClouditNicHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditNicHandler) CreateVNic ¶
func (nicHandler *ClouditNicHandler) CreateVNic(vNicReqInfo irs.VNicReqInfo) (irs.VNicInfo, error)
func (*ClouditNicHandler) DeleteVNic ¶
func (nicHandler *ClouditNicHandler) DeleteVNic(vNicID string) (bool, error)
type ClouditPublicIPHandler ¶
type ClouditPublicIPHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditPublicIPHandler) CreatePublicIP ¶
func (publicIPHandler *ClouditPublicIPHandler) CreatePublicIP(publicIPReqInfo irs.PublicIPReqInfo) (irs.PublicIPInfo, error)
func (*ClouditPublicIPHandler) DeletePublicIP ¶
func (publicIPHandler *ClouditPublicIPHandler) DeletePublicIP(publicIPID string) (bool, error)
func (*ClouditPublicIPHandler) GetPublicIP ¶
func (publicIPHandler *ClouditPublicIPHandler) GetPublicIP(publicIPID string) (irs.PublicIPInfo, error)
func (*ClouditPublicIPHandler) ListPublicIP ¶
func (publicIPHandler *ClouditPublicIPHandler) ListPublicIP() ([]*irs.PublicIPInfo, error)
type ClouditSecurityHandler ¶
type ClouditSecurityHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditSecurityHandler) CreateSecurity ¶
func (securityHandler *ClouditSecurityHandler) CreateSecurity(securityReqInfo irs.SecurityReqInfo) (irs.SecurityInfo, error)
func (*ClouditSecurityHandler) DeleteSecurity ¶
func (securityHandler *ClouditSecurityHandler) DeleteSecurity(securityID string) (bool, error)
func (*ClouditSecurityHandler) GetSecurity ¶
func (securityHandler *ClouditSecurityHandler) GetSecurity(securityID string) (irs.SecurityInfo, error)
func (*ClouditSecurityHandler) ListSecurity ¶
func (securityHandler *ClouditSecurityHandler) ListSecurity() ([]*irs.SecurityInfo, error)
type ClouditVMHandler ¶
type ClouditVMHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditVMHandler) GetVMStatus ¶
func (vmHandler *ClouditVMHandler) GetVMStatus(vmID string) irs.VMStatus
func (*ClouditVMHandler) ListVM ¶
func (vmHandler *ClouditVMHandler) ListVM() []*irs.VMInfo
func (*ClouditVMHandler) ListVMStatus ¶
func (vmHandler *ClouditVMHandler) ListVMStatus() []*irs.VMStatusInfo
func (*ClouditVMHandler) RebootVM ¶
func (vmHandler *ClouditVMHandler) RebootVM(vmID string)
func (*ClouditVMHandler) ResumeVM ¶
func (vmHandler *ClouditVMHandler) ResumeVM(vmID string)
func (*ClouditVMHandler) SuspendVM ¶
func (vmHandler *ClouditVMHandler) SuspendVM(vmID string)
func (*ClouditVMHandler) TerminateVM ¶
func (vmHandler *ClouditVMHandler) TerminateVM(vmID string)
type ClouditVNetworkHandler ¶
type ClouditVNetworkHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditVNetworkHandler) CreateVNetwork ¶
func (vNetworkHandler *ClouditVNetworkHandler) CreateVNetwork(vNetReqInfo irs.VNetworkReqInfo) (irs.VNetworkInfo, error)
func (*ClouditVNetworkHandler) DeleteVNetwork ¶
func (vNetworkHandler *ClouditVNetworkHandler) DeleteVNetwork(vNetworkID string) (bool, error)
func (*ClouditVNetworkHandler) GetVNetwork ¶
func (vNetworkHandler *ClouditVNetworkHandler) GetVNetwork(vNetworkID string) (irs.VNetworkInfo, error)
func (*ClouditVNetworkHandler) ListVNetwork ¶
func (vNetworkHandler *ClouditVNetworkHandler) ListVNetwork() ([]*irs.VNetworkInfo, error)
Click to show internal directories.
Click to hide internal directories.