provider

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 13, 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 SAliyunProvider

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

func (*SAliyunProvider) GetBalance

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

func (*SAliyunProvider) GetIHostById

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

func (*SAliyunProvider) GetIRegionById

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

func (*SAliyunProvider) GetIRegions

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

func (*SAliyunProvider) GetIStorageById

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

func (*SAliyunProvider) GetIStoragecacheById

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

func (*SAliyunProvider) GetIVpcById

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

func (*SAliyunProvider) GetId

func (self *SAliyunProvider) GetId() string

func (*SAliyunProvider) GetName

func (self *SAliyunProvider) GetName() string

func (*SAliyunProvider) GetSysInfo

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

func (*SAliyunProvider) IsPublicCloud

func (self *SAliyunProvider) IsPublicCloud() bool

type SAliyunProviderFactory

type SAliyunProviderFactory struct {
}

func (*SAliyunProviderFactory) GetId

func (self *SAliyunProviderFactory) GetId() string

func (*SAliyunProviderFactory) GetProvider

func (self *SAliyunProviderFactory) 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