provider

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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() (*cloudprovider.SBalanceInfo, 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 (*SProxmoxProviderFactory) ValidateChangeBandwidth

func (self *SProxmoxProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error

func (*SProxmoxProviderFactory) ValidateCreateCloudaccountData

func (*SProxmoxProviderFactory) ValidateUpdateCloudaccountCredential

func (self *SProxmoxProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, 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