provider

package
v0.3.9-9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SJdcloudProvider

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

func (*SJdcloudProvider) GetAccountId

func (p *SJdcloudProvider) GetAccountId() string

func (*SJdcloudProvider) GetBalance

func (p *SJdcloudProvider) GetBalance() (float64, string, error)

func (*SJdcloudProvider) GetBucketCannedAcls

func (p *SJdcloudProvider) GetBucketCannedAcls(regionId string) []string

func (*SJdcloudProvider) GetCapabilities

func (p *SJdcloudProvider) GetCapabilities() []string

func (*SJdcloudProvider) GetCloudRegionExternalIdPrefix

func (p *SJdcloudProvider) GetCloudRegionExternalIdPrefix() string

func (*SJdcloudProvider) GetIProjects

func (p *SJdcloudProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)

func (*SJdcloudProvider) GetIRegionById

func (p *SJdcloudProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)

func (*SJdcloudProvider) GetIRegions

func (p *SJdcloudProvider) GetIRegions() []cloudprovider.ICloudRegion

func (*SJdcloudProvider) GetMetrics

func (*SJdcloudProvider) GetObjectCannedAcls

func (p *SJdcloudProvider) GetObjectCannedAcls(regionId string) []string

func (*SJdcloudProvider) GetStorageClasses

func (p *SJdcloudProvider) GetStorageClasses(regionId string) []string

func (*SJdcloudProvider) GetSubAccounts

func (p *SJdcloudProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)

func (*SJdcloudProvider) GetSysInfo

func (p *SJdcloudProvider) GetSysInfo() (jsonutils.JSONObject, error)

func (*SJdcloudProvider) GetVersion

func (p *SJdcloudProvider) GetVersion() string

type SJdcloudProviderFactory

type SJdcloudProviderFactory struct {
	cloudprovider.SPublicCloudBaseProviderFactory
}

func (*SJdcloudProviderFactory) GetClientRC

func (*SJdcloudProviderFactory) GetId

func (f *SJdcloudProviderFactory) GetId() string

func (*SJdcloudProviderFactory) GetName

func (f *SJdcloudProviderFactory) GetName() string

func (*SJdcloudProviderFactory) GetProvider

func (*SJdcloudProviderFactory) IsSupportPrepaidResources

func (f *SJdcloudProviderFactory) IsSupportPrepaidResources() bool

func (*SJdcloudProviderFactory) ValidateCreateCloudaccountData

func (*SJdcloudProviderFactory) ValidateUpdateCloudaccountCredential

func (f *SJdcloudProviderFactory) 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