provider

package
v0.3.10-0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SCtyunProvider

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

func (*SCtyunProvider) GetAccountId

func (self *SCtyunProvider) GetAccountId() string

func (*SCtyunProvider) GetBalance

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

func (*SCtyunProvider) GetBucketCannedAcls

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

func (*SCtyunProvider) GetCapabilities

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

func (*SCtyunProvider) GetCloudRegionExternalIdPrefix

func (self *SCtyunProvider) GetCloudRegionExternalIdPrefix() string

func (*SCtyunProvider) GetIProjects

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

func (*SCtyunProvider) GetIRegionById

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

func (*SCtyunProvider) GetIRegions

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

func (*SCtyunProvider) GetObjectCannedAcls

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

func (*SCtyunProvider) GetStorageClasses

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

func (*SCtyunProvider) GetSubAccounts

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

func (*SCtyunProvider) GetSysInfo

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

func (*SCtyunProvider) GetVersion

func (self *SCtyunProvider) GetVersion() string

type SCtyunProviderFactory

type SCtyunProviderFactory struct {
	cloudprovider.SPublicCloudBaseProviderFactory
}

func (*SCtyunProviderFactory) GetClientRC

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

func (*SCtyunProviderFactory) GetId

func (self *SCtyunProviderFactory) GetId() string

func (*SCtyunProviderFactory) GetName

func (self *SCtyunProviderFactory) GetName() string

func (*SCtyunProviderFactory) GetProvider

func (*SCtyunProviderFactory) IsSupportPrepaidResources

func (self *SCtyunProviderFactory) IsSupportPrepaidResources() bool

func (*SCtyunProviderFactory) ValidateCreateCloudaccountData

func (*SCtyunProviderFactory) ValidateUpdateCloudaccountCredential

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