provider

package
v0.0.0-...-3235d85 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SUcloudProvider

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

func (*SUcloudProvider) GetAccountId

func (self *SUcloudProvider) GetAccountId() string

func (*SUcloudProvider) GetBalance

func (self *SUcloudProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)

func (*SUcloudProvider) GetBucketCannedAcls

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

func (*SUcloudProvider) GetCapabilities

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

func (*SUcloudProvider) GetIProjects

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

func (*SUcloudProvider) GetIRegionById

func (self *SUcloudProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)

func (*SUcloudProvider) GetIRegions

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

func (*SUcloudProvider) GetObjectCannedAcls

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

func (*SUcloudProvider) GetOnPremiseIRegion

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

func (*SUcloudProvider) GetStorageClasses

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

func (*SUcloudProvider) GetSubAccounts

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

func (*SUcloudProvider) GetSysInfo

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

func (*SUcloudProvider) GetVersion

func (self *SUcloudProvider) GetVersion() string

type SUcloudProviderFactory

type SUcloudProviderFactory struct {
	cloudprovider.SPublicCloudBaseProviderFactory
}

tag:finished

func (*SUcloudProviderFactory) GetClientRC

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

func (*SUcloudProviderFactory) GetId

func (self *SUcloudProviderFactory) GetId() string

func (*SUcloudProviderFactory) GetName

func (self *SUcloudProviderFactory) GetName() string

func (*SUcloudProviderFactory) GetProvider

func (*SUcloudProviderFactory) ValidateCreateCloudaccountData

func (*SUcloudProviderFactory) ValidateUpdateCloudaccountCredential

func (self *SUcloudProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, 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