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