Documentation ¶
Index ¶
- func GetVMSpec(authHeader map[string]string, reqClient *client.RestClient, specName string) (*string, error)
- type ClouditImageHandler
- func (imageHandler *ClouditImageHandler) CreateImage(imageReqInfo irs.ImageReqInfo) (irs.ImageInfo, error)
- func (imageHandler *ClouditImageHandler) DeleteImage(imageID string) (bool, error)
- func (imageHandler *ClouditImageHandler) GetImage(imageNameId 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(securityNameID string) (bool, error)
- func (securityHandler *ClouditSecurityHandler) GetSecurity(securityNameID string) (irs.SecurityInfo, error)
- func (securityHandler *ClouditSecurityHandler) ListSecurity() ([]*irs.SecurityInfo, error)
- type ClouditVMHandler
- func (vmHandler *ClouditVMHandler) AssociatePublicIP(publicIPReqInfo irs.PublicIPReqInfo) (bool, error)
- func (vmHandler *ClouditVMHandler) DisassociatePublicIP(publicIPReqInfo irs.PublicIPReqInfo) (bool, error)
- func (vmHandler *ClouditVMHandler) GetVM(vmNameID string) (irs.VMInfo, error)
- func (vmHandler *ClouditVMHandler) GetVMStatus(vmNameID string) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) ListVM() ([]*irs.VMInfo, error)
- func (vmHandler *ClouditVMHandler) ListVMStatus() ([]*irs.VMStatusInfo, error)
- func (vmHandler *ClouditVMHandler) RebootVM(vmNameID string) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) ResumeVM(vmNameID string) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, error)
- func (vmHandler *ClouditVMHandler) SuspendVM(vmNameID string) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) TerminateVM(vmNameID string) (irs.VMStatus, error)
- type ClouditVNetworkHandler
- func (vNetworkHandler *ClouditVNetworkHandler) CreateVNetwork(vNetReqInfo irs.VNetworkReqInfo) (irs.VNetworkInfo, error)
- func (vNetworkHandler *ClouditVNetworkHandler) DeleteVNetwork(vNetworkNameID string) (bool, error)
- func (vNetworkHandler *ClouditVNetworkHandler) GetVNetwork(vNetworkNameID string) (irs.VNetworkInfo, error)
- func (vNetworkHandler *ClouditVNetworkHandler) ListVNetwork() ([]*irs.VNetworkInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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(securityNameID string) (bool, error)
func (*ClouditSecurityHandler) GetSecurity ¶
func (securityHandler *ClouditSecurityHandler) GetSecurity(securityNameID 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) AssociatePublicIP ¶
func (vmHandler *ClouditVMHandler) AssociatePublicIP(publicIPReqInfo irs.PublicIPReqInfo) (bool, error)
VM에 PublicIP 연결
func (*ClouditVMHandler) DisassociatePublicIP ¶
func (vmHandler *ClouditVMHandler) DisassociatePublicIP(publicIPReqInfo irs.PublicIPReqInfo) (bool, error)
VM에 PublicIP 해제
func (*ClouditVMHandler) GetVM ¶
func (vmHandler *ClouditVMHandler) GetVM(vmNameID string) (irs.VMInfo, error)
func (*ClouditVMHandler) GetVMStatus ¶
func (vmHandler *ClouditVMHandler) GetVMStatus(vmNameID string) (irs.VMStatus, error)
func (*ClouditVMHandler) ListVM ¶
func (vmHandler *ClouditVMHandler) ListVM() ([]*irs.VMInfo, error)
func (*ClouditVMHandler) ListVMStatus ¶
func (vmHandler *ClouditVMHandler) ListVMStatus() ([]*irs.VMStatusInfo, error)
func (*ClouditVMHandler) RebootVM ¶
func (vmHandler *ClouditVMHandler) RebootVM(vmNameID string) (irs.VMStatus, error)
func (*ClouditVMHandler) ResumeVM ¶
func (vmHandler *ClouditVMHandler) ResumeVM(vmNameID string) (irs.VMStatus, error)
func (*ClouditVMHandler) SuspendVM ¶
func (vmHandler *ClouditVMHandler) SuspendVM(vmNameID string) (irs.VMStatus, error)
func (*ClouditVMHandler) TerminateVM ¶
func (vmHandler *ClouditVMHandler) TerminateVM(vmNameID string) (irs.VMStatus, error)
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(vNetworkNameID string) (bool, error)
func (*ClouditVNetworkHandler) GetVNetwork ¶
func (vNetworkHandler *ClouditVNetworkHandler) GetVNetwork(vNetworkNameID string) (irs.VNetworkInfo, error)
func (*ClouditVNetworkHandler) ListVNetwork ¶
func (vNetworkHandler *ClouditVNetworkHandler) ListVNetwork() ([]*irs.VNetworkInfo, error)
Click to show internal directories.
Click to hide internal directories.