provider

package
v2.3.14+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 15, 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 SAwsProvider

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

func (*SAwsProvider) GetBalance

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

func (*SAwsProvider) GetIHostById

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

func (*SAwsProvider) GetIRegionById

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

func (*SAwsProvider) GetIRegions

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

func (*SAwsProvider) GetIStorageById

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

func (*SAwsProvider) GetIStoragecacheById

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

func (*SAwsProvider) GetIVpcById

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

func (*SAwsProvider) GetId

func (self *SAwsProvider) GetId() string

func (*SAwsProvider) GetName

func (self *SAwsProvider) GetName() string

func (*SAwsProvider) GetSubAccounts

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

func (*SAwsProvider) GetSysInfo

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

func (*SAwsProvider) IsPublicCloud

func (self *SAwsProvider) IsPublicCloud() bool

type SAwsProviderFactory

type SAwsProviderFactory struct {
}

func (*SAwsProviderFactory) GetId

func (self *SAwsProviderFactory) GetId() string

func (*SAwsProviderFactory) GetProvider

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