Documentation ¶
Index ¶
- func GetVMSpecByName(authHeader map[string]string, reqClient *client.RestClient, specName string) (*string, error)
- func ListVNic(authHeader map[string]string, reqClient *client.RestClient, vmId string) (*[]nic.VmNicInfo, error)
- type ClouditImageHandler
- func (imageHandler *ClouditImageHandler) CreateImage(imageReqInfo irs.ImageReqInfo) (irs.ImageInfo, error)
- func (imageHandler *ClouditImageHandler) DeleteImage(imageIID irs.IID) (bool, error)
- func (imageHandler *ClouditImageHandler) GetImage(imageIID irs.IID) (irs.ImageInfo, error)
- func (imageHandler *ClouditImageHandler) ListImage() ([]*irs.ImageInfo, error)
- type ClouditSecurityHandler
- func (securityHandler *ClouditSecurityHandler) CreateSecurity(securityReqInfo irs.SecurityReqInfo) (irs.SecurityInfo, error)
- func (securityHandler *ClouditSecurityHandler) DeleteSecurity(securityIID irs.IID) (bool, error)
- func (securityHandler *ClouditSecurityHandler) GetSecurity(securityIID irs.IID) (irs.SecurityInfo, error)
- func (securityHandler *ClouditSecurityHandler) ListSecurity() ([]*irs.SecurityInfo, error)
- type ClouditVMHandler
- func (vmHandler *ClouditVMHandler) AssociatePublicIP(vmName string, vmIp string) (bool, error)
- func (vmHandler *ClouditVMHandler) DisassociatePublicIP(publicIP string) (bool, error)
- func (vmHandler *ClouditVMHandler) GetVM(vmIID irs.IID) (irs.VMInfo, error)
- func (vmHandler *ClouditVMHandler) GetVMStatus(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) ListVM() ([]*irs.VMInfo, error)
- func (vmHandler *ClouditVMHandler) ListVMStatus() ([]*irs.VMStatusInfo, error)
- func (vmHandler *ClouditVMHandler) RebootVM(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) ResumeVM(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, error)
- func (vmHandler *ClouditVMHandler) SuspendVM(vmIID irs.IID) (irs.VMStatus, error)
- func (vmHandler *ClouditVMHandler) TerminateVM(vmIID irs.IID) (irs.VMStatus, error)
- type ClouditVMSpecHandler
- func (vmSpecHandler *ClouditVMSpecHandler) GetOrgVMSpec(Region string, Name string) (string, error)
- func (vmSpecHandler *ClouditVMSpecHandler) GetVMSpec(Region string, Name string) (irs.VMSpecInfo, error)
- func (vmSpecHandler *ClouditVMSpecHandler) GetVMSpecByName(region string, specName string) (*irs.VMSpecInfo, error)
- func (vmSpecHandler *ClouditVMSpecHandler) ListOrgVMSpec(Region string) (string, error)
- func (vmSpecHandler *ClouditVMSpecHandler) ListVMSpec(Region string) ([]*irs.VMSpecInfo, error)
- type ClouditVPCHandler
- func (vpcHandler *ClouditVPCHandler) CreateSubnet(subnetReqInfo irs.SubnetInfo) (subnet.SubnetInfo, error)
- func (vpcHandler *ClouditVPCHandler) CreateVPC(vpcReqInfo irs.VPCReqInfo) (irs.VPCInfo, error)
- func (vpcHandler *ClouditVPCHandler) DeleteSubnet(subnetIId irs.IID) (bool, error)
- func (vpcHandler *ClouditVPCHandler) DeleteVPC(vpcIID irs.IID) (bool, error)
- func (vpcHandler *ClouditVPCHandler) GetSubnet(subnetIId irs.IID) (subnet.SubnetInfo, error)
- func (vpcHandler *ClouditVPCHandler) GetVPC(vpcIID irs.IID) (irs.VPCInfo, error)
- func (vpcHandler *ClouditVPCHandler) ListSubnet() ([]subnet.SubnetInfo, error)
- func (vpcHandler *ClouditVPCHandler) ListVPC() ([]*irs.VPCInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVMSpecByName ¶ added in v0.1.4
func GetVMSpecByName(authHeader map[string]string, reqClient *client.RestClient, specName string) (*string, error)
VM Spec 정보 조회
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(imageIID irs.IID) (bool, 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(securityIID irs.IID) (bool, error)
func (*ClouditSecurityHandler) GetSecurity ¶
func (securityHandler *ClouditSecurityHandler) GetSecurity(securityIID irs.IID) (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(vmName string, vmIp string) (bool, error)
VM에 PublicIP 연결
func (*ClouditVMHandler) DisassociatePublicIP ¶
func (vmHandler *ClouditVMHandler) DisassociatePublicIP(publicIP string) (bool, error)
VM에 PublicIP 해제
func (*ClouditVMHandler) GetVMStatus ¶
func (*ClouditVMHandler) ListVM ¶
func (vmHandler *ClouditVMHandler) ListVM() ([]*irs.VMInfo, error)
func (*ClouditVMHandler) ListVMStatus ¶
func (vmHandler *ClouditVMHandler) ListVMStatus() ([]*irs.VMStatusInfo, error)
func (*ClouditVMHandler) TerminateVM ¶
type ClouditVMSpecHandler ¶
type ClouditVMSpecHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditVMSpecHandler) GetOrgVMSpec ¶
func (vmSpecHandler *ClouditVMSpecHandler) GetOrgVMSpec(Region string, Name string) (string, error)
func (*ClouditVMSpecHandler) GetVMSpec ¶
func (vmSpecHandler *ClouditVMSpecHandler) GetVMSpec(Region string, Name string) (irs.VMSpecInfo, error)
func (*ClouditVMSpecHandler) GetVMSpecByName ¶ added in v0.1.2
func (vmSpecHandler *ClouditVMSpecHandler) GetVMSpecByName(region string, specName string) (*irs.VMSpecInfo, error)
func (*ClouditVMSpecHandler) ListOrgVMSpec ¶
func (vmSpecHandler *ClouditVMSpecHandler) ListOrgVMSpec(Region string) (string, error)
func (*ClouditVMSpecHandler) ListVMSpec ¶
func (vmSpecHandler *ClouditVMSpecHandler) ListVMSpec(Region string) ([]*irs.VMSpecInfo, error)
type ClouditVPCHandler ¶ added in v0.1.3
type ClouditVPCHandler struct { CredentialInfo idrv.CredentialInfo Client *client.RestClient }
func (*ClouditVPCHandler) CreateSubnet ¶ added in v0.1.3
func (vpcHandler *ClouditVPCHandler) CreateSubnet(subnetReqInfo irs.SubnetInfo) (subnet.SubnetInfo, error)
func (*ClouditVPCHandler) CreateVPC ¶ added in v0.1.3
func (vpcHandler *ClouditVPCHandler) CreateVPC(vpcReqInfo irs.VPCReqInfo) (irs.VPCInfo, error)
func (*ClouditVPCHandler) DeleteSubnet ¶ added in v0.1.3
func (vpcHandler *ClouditVPCHandler) DeleteSubnet(subnetIId irs.IID) (bool, error)
func (*ClouditVPCHandler) DeleteVPC ¶ added in v0.1.3
func (vpcHandler *ClouditVPCHandler) DeleteVPC(vpcIID irs.IID) (bool, error)
func (*ClouditVPCHandler) GetSubnet ¶ added in v0.1.3
func (vpcHandler *ClouditVPCHandler) GetSubnet(subnetIId irs.IID) (subnet.SubnetInfo, error)
func (*ClouditVPCHandler) ListSubnet ¶ added in v0.1.3
func (vpcHandler *ClouditVPCHandler) ListSubnet() ([]subnet.SubnetInfo, error)
Click to show internal directories.
Click to hide internal directories.