provider

package
v2.3.20181123+incompat... Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQcloudProvider

type SQcloudProvider struct {
	// contains filtered or unexported fields
}

func (*SQcloudProvider) GetBalance

func (self *SQcloudProvider) GetBalance() (float64, error)

func (*SQcloudProvider) GetIHostById

func (self *SQcloudProvider) GetIHostById(id string) (cloudprovider.ICloudHost, error)

func (*SQcloudProvider) GetIRegionById

func (self *SQcloudProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)

func (*SQcloudProvider) GetIRegions

func (self *SQcloudProvider) GetIRegions() []cloudprovider.ICloudRegion

func (*SQcloudProvider) GetIStorageById

func (self *SQcloudProvider) GetIStorageById(id string) (cloudprovider.ICloudStorage, error)

func (*SQcloudProvider) GetIStoragecacheById

func (self *SQcloudProvider) GetIStoragecacheById(id string) (cloudprovider.ICloudStoragecache, error)

func (*SQcloudProvider) GetIVpcById

func (self *SQcloudProvider) GetIVpcById(id string) (cloudprovider.ICloudVpc, error)

func (*SQcloudProvider) GetId

func (self *SQcloudProvider) GetId() string

func (*SQcloudProvider) GetName

func (self *SQcloudProvider) GetName() string

func (*SQcloudProvider) GetSubAccounts

func (self *SQcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)

func (*SQcloudProvider) GetSysInfo

func (self *SQcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)

func (*SQcloudProvider) IsPublicCloud

func (self *SQcloudProvider) IsPublicCloud() bool

type SQcloudProviderFactory

type SQcloudProviderFactory struct {
}

func (*SQcloudProviderFactory) GetId

func (self *SQcloudProviderFactory) GetId() string

func (*SQcloudProviderFactory) GetProvider

func (self *SQcloudProviderFactory) GetProvider(providerId, providerName, url, account, secret string) (cloudprovider.ICloudProvider, error)

Jump to

Keyboard shortcuts

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