Documentation ¶
Index ¶
- type SRemoteFileProvider
- func (self *SRemoteFileProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SRemoteFileProvider) GetAccountId() string
- func (self *SRemoteFileProvider) GetBalance() (float64, string, error)
- func (self *SRemoteFileProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SRemoteFileProvider) GetCapabilities() []string
- func (self *SRemoteFileProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SRemoteFileProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SRemoteFileProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SRemoteFileProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SRemoteFileProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SRemoteFileProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SRemoteFileProvider) GetStorageClasses(regionId string) []string
- func (self *SRemoteFileProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SRemoteFileProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SRemoteFileProvider) GetVersion() string
- type SRemoteFileProviderFactory
- func (self *SRemoteFileProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SRemoteFileProviderFactory) GetId() string
- func (self *SRemoteFileProviderFactory) GetName() string
- func (self *SRemoteFileProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SRemoteFileProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (self *SRemoteFileProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SRemoteFileProvider ¶
type SRemoteFileProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SRemoteFileProvider) CreateIProject ¶
func (self *SRemoteFileProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SRemoteFileProvider) GetAccountId ¶
func (self *SRemoteFileProvider) GetAccountId() string
func (*SRemoteFileProvider) GetBalance ¶
func (self *SRemoteFileProvider) GetBalance() (float64, string, error)
func (*SRemoteFileProvider) GetBucketCannedAcls ¶
func (self *SRemoteFileProvider) GetBucketCannedAcls(regionId string) []string
func (*SRemoteFileProvider) GetCapabilities ¶
func (self *SRemoteFileProvider) GetCapabilities() []string
func (*SRemoteFileProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SRemoteFileProvider) GetCloudRegionExternalIdPrefix() string
func (*SRemoteFileProvider) GetIProjects ¶
func (self *SRemoteFileProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SRemoteFileProvider) GetIRegionById ¶
func (self *SRemoteFileProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SRemoteFileProvider) GetIRegions ¶
func (self *SRemoteFileProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SRemoteFileProvider) GetMetrics ¶
func (self *SRemoteFileProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SRemoteFileProvider) GetObjectCannedAcls ¶
func (self *SRemoteFileProvider) GetObjectCannedAcls(regionId string) []string
func (*SRemoteFileProvider) GetStorageClasses ¶
func (self *SRemoteFileProvider) GetStorageClasses(regionId string) []string
func (*SRemoteFileProvider) GetSubAccounts ¶
func (self *SRemoteFileProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SRemoteFileProvider) GetSysInfo ¶
func (self *SRemoteFileProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SRemoteFileProvider) GetVersion ¶
func (self *SRemoteFileProvider) GetVersion() string
type SRemoteFileProviderFactory ¶
type SRemoteFileProviderFactory struct {
cloudprovider.SPrivateCloudBaseProviderFactory
}
func (*SRemoteFileProviderFactory) GetClientRC ¶
func (self *SRemoteFileProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SRemoteFileProviderFactory) GetId ¶
func (self *SRemoteFileProviderFactory) GetId() string
func (*SRemoteFileProviderFactory) GetName ¶
func (self *SRemoteFileProviderFactory) GetName() string
func (*SRemoteFileProviderFactory) GetProvider ¶
func (self *SRemoteFileProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SRemoteFileProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SRemoteFileProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SRemoteFileProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SRemoteFileProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.