provider

package
v0.3.9-5 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SESXiProvider

type SESXiProvider struct {
	cloudprovider.SBaseProvider
	// contains filtered or unexported fields
}

func (*SESXiProvider) GetAccountId

func (self *SESXiProvider) GetAccountId() string

func (*SESXiProvider) GetBalance

func (self *SESXiProvider) GetBalance() (float64, string, error)

func (*SESXiProvider) GetBucketCannedAcls

func (self *SESXiProvider) GetBucketCannedAcls(regionId string) []string

func (*SESXiProvider) GetCapabilities

func (self *SESXiProvider) GetCapabilities() []string

func (*SESXiProvider) GetIProjects

func (self *SESXiProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)

func (*SESXiProvider) GetIRegionById

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

func (*SESXiProvider) GetIRegions

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

func (*SESXiProvider) GetMetrics

func (*SESXiProvider) GetObjectCannedAcls

func (self *SESXiProvider) GetObjectCannedAcls(regionId string) []string

func (*SESXiProvider) GetOnPremiseIRegion

func (self *SESXiProvider) GetOnPremiseIRegion() (cloudprovider.ICloudRegion, error)

func (*SESXiProvider) GetStorageClasses

func (self *SESXiProvider) GetStorageClasses(regionId string) []string

func (*SESXiProvider) GetSubAccounts

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

func (*SESXiProvider) GetSysInfo

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

func (*SESXiProvider) GetVersion

func (self *SESXiProvider) GetVersion() string

type SESXiProviderFactory

type SESXiProviderFactory struct {
	cloudprovider.SPremiseBaseProviderFactory
}

func (*SESXiProviderFactory) GetAccountIdEqualizer

func (self *SESXiProviderFactory) GetAccountIdEqualizer() func(origin, now string) bool

func (*SESXiProviderFactory) GetClientRC

func (self *SESXiProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)

func (*SESXiProviderFactory) GetId

func (self *SESXiProviderFactory) GetId() string

func (*SESXiProviderFactory) GetName

func (self *SESXiProviderFactory) GetName() string

func (*SESXiProviderFactory) GetProvider

func (*SESXiProviderFactory) ValidateChangeBandwidth

func (self *SESXiProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error

func (*SESXiProviderFactory) ValidateCreateCloudaccountData

func (*SESXiProviderFactory) ValidateUpdateCloudaccountCredential

func (self *SESXiProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)

Jump to

Keyboard shortcuts

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