Documentation ¶
Index ¶
- Variables
- type SOpenStackProvider
- func (self *SOpenStackProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SOpenStackProvider) GetAccountId() string
- func (self *SOpenStackProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
- func (self *SOpenStackProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SOpenStackProvider) GetCapabilities() []string
- func (self *SOpenStackProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SOpenStackProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SOpenStackProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
- func (self *SOpenStackProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SOpenStackProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SOpenStackProvider) GetStorageClasses(regionId string) []string
- func (self *SOpenStackProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SOpenStackProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SOpenStackProvider) GetVersion() string
- type SOpenStackProviderFactory
- func (self *SOpenStackProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SOpenStackProviderFactory) GetId() string
- func (self *SOpenStackProviderFactory) GetName() string
- func (self *SOpenStackProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SOpenStackProviderFactory) IsNeedForceAutoCreateProject() bool
- func (self *SOpenStackProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
- func (self *SOpenStackProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, ...) (cloudprovider.SCloudaccount, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var EndpointTypes = []string{"admin", "internal", "public"}
Functions ¶
This section is empty.
Types ¶
type SOpenStackProvider ¶
type SOpenStackProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SOpenStackProvider) CreateIProject ¶
func (self *SOpenStackProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SOpenStackProvider) GetAccountId ¶
func (self *SOpenStackProvider) GetAccountId() string
func (*SOpenStackProvider) GetBalance ¶
func (self *SOpenStackProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
func (*SOpenStackProvider) GetBucketCannedAcls ¶
func (self *SOpenStackProvider) GetBucketCannedAcls(regionId string) []string
func (*SOpenStackProvider) GetCapabilities ¶
func (self *SOpenStackProvider) GetCapabilities() []string
func (*SOpenStackProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SOpenStackProvider) GetCloudRegionExternalIdPrefix() string
func (*SOpenStackProvider) GetIProjects ¶
func (self *SOpenStackProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SOpenStackProvider) GetIRegionById ¶
func (self *SOpenStackProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
func (*SOpenStackProvider) GetIRegions ¶
func (self *SOpenStackProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SOpenStackProvider) GetObjectCannedAcls ¶
func (self *SOpenStackProvider) GetObjectCannedAcls(regionId string) []string
func (*SOpenStackProvider) GetStorageClasses ¶
func (self *SOpenStackProvider) GetStorageClasses(regionId string) []string
func (*SOpenStackProvider) GetSubAccounts ¶
func (self *SOpenStackProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SOpenStackProvider) GetSysInfo ¶
func (self *SOpenStackProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SOpenStackProvider) GetVersion ¶
func (self *SOpenStackProvider) GetVersion() string
type SOpenStackProviderFactory ¶
type SOpenStackProviderFactory struct {
cloudprovider.SPrivateCloudBaseProviderFactory
}
func (*SOpenStackProviderFactory) GetClientRC ¶
func (self *SOpenStackProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SOpenStackProviderFactory) GetId ¶
func (self *SOpenStackProviderFactory) GetId() string
func (*SOpenStackProviderFactory) GetName ¶
func (self *SOpenStackProviderFactory) GetName() string
func (*SOpenStackProviderFactory) GetProvider ¶
func (self *SOpenStackProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SOpenStackProviderFactory) IsNeedForceAutoCreateProject ¶
func (self *SOpenStackProviderFactory) IsNeedForceAutoCreateProject() bool
func (*SOpenStackProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SOpenStackProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SOpenStackProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SOpenStackProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.