resources

package
v0.0.0-...-ac260c1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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)

func (*ClouditImageHandler) GetImage

func (imageHandler *ClouditImageHandler) GetImage(imageID 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(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) GetVM

func (vmHandler *ClouditVMHandler) GetVM(vmID string) irs.VMInfo

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) StartVM

func (vmHandler *ClouditVMHandler) StartVM(vmReqInfo irs.VMReqInfo) (irs.VMInfo, error)

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)

Jump to

Keyboard shortcuts

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