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: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SApsaraProvider

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

func (*SApsaraProvider) CreateICloudgroup

func (self *SApsaraProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)

func (*SApsaraProvider) CreateICloudpolicy

func (*SApsaraProvider) CreateIClouduser

func (*SApsaraProvider) CreateIProject

func (self *SApsaraProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)

func (*SApsaraProvider) GetAccountId

func (self *SApsaraProvider) GetAccountId() string

func (*SApsaraProvider) GetBalance

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

func (*SApsaraProvider) GetBucketCannedAcls

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

func (*SApsaraProvider) GetCapabilities

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

func (*SApsaraProvider) GetICloudgroupByName

func (self *SApsaraProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)

func (*SApsaraProvider) GetICloudgroups

func (self *SApsaraProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)

func (*SApsaraProvider) GetIClouduserByName

func (self *SApsaraProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)

func (*SApsaraProvider) GetICloudusers

func (self *SApsaraProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)

func (*SApsaraProvider) GetICustomCloudpolicies

func (self *SApsaraProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)

func (*SApsaraProvider) GetIProjects

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

func (*SApsaraProvider) GetIRegionById

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

func (*SApsaraProvider) GetIRegions

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

func (*SApsaraProvider) GetISystemCloudpolicies

func (self *SApsaraProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)

func (*SApsaraProvider) GetIamLoginUrl

func (self *SApsaraProvider) GetIamLoginUrl() string

func (*SApsaraProvider) GetMetrics

func (*SApsaraProvider) GetObjectCannedAcls

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

func (*SApsaraProvider) GetStorageClasses

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

func (*SApsaraProvider) GetSubAccounts

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

func (*SApsaraProvider) GetSysInfo

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

func (*SApsaraProvider) GetVersion

func (self *SApsaraProvider) GetVersion() string

func (*SApsaraProvider) WithClient

func (self *SApsaraProvider) WithClient(client *apsara.SApsaraClient) *SApsaraProvider

type SApsaraProviderFactory

type SApsaraProviderFactory struct {
	cloudprovider.SPrivateCloudBaseProviderFactory
}

func (*SApsaraProviderFactory) GetClientRC

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

func (*SApsaraProviderFactory) GetId

func (self *SApsaraProviderFactory) GetId() string

func (*SApsaraProviderFactory) GetName

func (self *SApsaraProviderFactory) GetName() string

func (*SApsaraProviderFactory) GetProvider

func (*SApsaraProviderFactory) IsMultiTenant

func (self *SApsaraProviderFactory) IsMultiTenant() bool

func (*SApsaraProviderFactory) IsNeedForceAutoCreateProject

func (self *SApsaraProviderFactory) IsNeedForceAutoCreateProject() bool

func (*SApsaraProviderFactory) ValidateCreateCloudaccountData

func (*SApsaraProviderFactory) ValidateUpdateCloudaccountCredential

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