provider

package
v2.3.21+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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 SAzureProvider

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

func (*SAzureProvider) GetBalance

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

func (*SAzureProvider) GetIHostById

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

func (*SAzureProvider) GetIRegionById

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

func (*SAzureProvider) GetIRegions

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

func (*SAzureProvider) GetIStorageById

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

func (*SAzureProvider) GetIStoragecacheById

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

func (*SAzureProvider) GetIVpcById

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

func (*SAzureProvider) GetId

func (self *SAzureProvider) GetId() string

func (*SAzureProvider) GetName

func (self *SAzureProvider) GetName() string

func (*SAzureProvider) GetSubAccounts

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

func (*SAzureProvider) GetSysInfo

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

func (*SAzureProvider) IsPublicCloud

func (self *SAzureProvider) IsPublicCloud() bool

type SAzureProviderFactory

type SAzureProviderFactory struct {
}

func (*SAzureProviderFactory) GetId

func (self *SAzureProviderFactory) GetId() string

func (*SAzureProviderFactory) GetProvider

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