Documentation ¶
Index ¶
- type SProxmoxProvider
- func (self *SProxmoxProvider) GetAccountId() string
- func (self *SProxmoxProvider) GetBalance() (float64, string, error)
- func (self *SProxmoxProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SProxmoxProvider) GetCapabilities() []string
- func (self *SProxmoxProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SProxmoxProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SProxmoxProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SProxmoxProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SProxmoxProvider) GetStorageClasses(regionId string) []string
- func (self *SProxmoxProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SProxmoxProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SProxmoxProvider) GetVersion() string
- type SProxmoxProviderFactory
- func (self *SProxmoxProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SProxmoxProviderFactory) GetId() string
- func (self *SProxmoxProviderFactory) GetName() string
- func (self *SProxmoxProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SProxmoxProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
- func (self *SProxmoxProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (self *SProxmoxProviderFactory) 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 SProxmoxProvider ¶
type SProxmoxProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SProxmoxProvider) GetAccountId ¶
func (self *SProxmoxProvider) GetAccountId() string
func (*SProxmoxProvider) GetBalance ¶
func (self *SProxmoxProvider) GetBalance() (float64, string, error)
func (*SProxmoxProvider) GetBucketCannedAcls ¶
func (self *SProxmoxProvider) GetBucketCannedAcls(regionId string) []string
func (*SProxmoxProvider) GetCapabilities ¶
func (self *SProxmoxProvider) GetCapabilities() []string
func (*SProxmoxProvider) GetIProjects ¶
func (self *SProxmoxProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SProxmoxProvider) GetIRegionById ¶
func (self *SProxmoxProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SProxmoxProvider) GetIRegions ¶
func (self *SProxmoxProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SProxmoxProvider) GetObjectCannedAcls ¶
func (self *SProxmoxProvider) GetObjectCannedAcls(regionId string) []string
func (*SProxmoxProvider) GetStorageClasses ¶
func (self *SProxmoxProvider) GetStorageClasses(regionId string) []string
func (*SProxmoxProvider) GetSubAccounts ¶
func (self *SProxmoxProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SProxmoxProvider) GetSysInfo ¶
func (self *SProxmoxProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SProxmoxProvider) GetVersion ¶
func (self *SProxmoxProvider) GetVersion() string
type SProxmoxProviderFactory ¶
type SProxmoxProviderFactory struct {
cloudprovider.SPrivateCloudBaseProviderFactory
}
func (*SProxmoxProviderFactory) GetClientRC ¶
func (self *SProxmoxProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SProxmoxProviderFactory) GetId ¶
func (self *SProxmoxProviderFactory) GetId() string
func (*SProxmoxProviderFactory) GetName ¶
func (self *SProxmoxProviderFactory) GetName() string
func (*SProxmoxProviderFactory) GetProvider ¶
func (self *SProxmoxProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SProxmoxProviderFactory) ValidateChangeBandwidth ¶
func (self *SProxmoxProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
func (*SProxmoxProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SProxmoxProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SProxmoxProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SProxmoxProviderFactory) 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.