resources

package
v0.0.0-...-9c72d28 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2020 License: Apache-2.0, Apache-2.0, Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVMSpec

func GetVMSpec(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(imageID string) (bool, error)

func (*ClouditImageHandler) GetImage

func (imageHandler *ClouditImageHandler) GetImage(imageNameId string) (irs.ImageInfo, error)

func (*ClouditImageHandler) ListImage

func (imageHandler *ClouditImageHandler) ListImage() ([]*irs.ImageInfo, 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)

func (*ClouditNicHandler) GetVNic

func (nicHandler *ClouditNicHandler) GetVNic(vNicID string) (irs.VNicInfo, error)

func (*ClouditNicHandler) ListVNic

func (nicHandler *ClouditNicHandler) ListVNic() ([]*irs.VNicInfo, 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) StartVM

func (vmHandler *ClouditVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, 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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL