Documentation ¶
Index ¶
- type SAzureProvider
- func (self *SAzureProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
- func (self *SAzureProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SAzureProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SAzureProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SAzureProvider) CreateSubscription(input cloudprovider.SubscriptionCreateInput) error
- func (self *SAzureProvider) GetAccountId() string
- func (self *SAzureProvider) GetBalance() (float64, string, error)
- func (self *SAzureProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SAzureProvider) GetCapabilities() []string
- func (self *SAzureProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SAzureProvider) GetEnrollmentAccounts() ([]cloudprovider.SEnrollmentAccount, error)
- func (self *SAzureProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SAzureProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SAzureProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SAzureProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SAzureProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAzureProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SAzureProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SAzureProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SAzureProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAzureProvider) GetIamLoginUrl() string
- func (self *SAzureProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAzureProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SAzureProvider) GetSamlEntityId() string
- func (self *SAzureProvider) GetStorageClasses(regionId string) []string
- func (self *SAzureProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SAzureProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SAzureProvider) GetVersion() string
- type SAzureProviderFactory
- func (self *SAzureProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SAzureProviderFactory) GetId() string
- func (self *SAzureProviderFactory) GetMaxCloudEventKeepDays() int
- func (self *SAzureProviderFactory) GetMaxCloudEventSyncDays() int
- func (self *SAzureProviderFactory) GetName() string
- func (self *SAzureProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SAzureProviderFactory) IsCloudeventRegional() bool
- func (self *SAzureProviderFactory) IsSupportCloudIdService() bool
- func (self *SAzureProviderFactory) IsSupportCreateCloudgroup() bool
- func (self *SAzureProviderFactory) IsSupportPrepaidResources() bool
- func (self *SAzureProviderFactory) IsSupportSAMLAuth() bool
- func (self *SAzureProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
- func (self *SAzureProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (self *SAzureProviderFactory) 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 SAzureProvider ¶
type SAzureProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SAzureProvider) CreateICloudSAMLProvider ¶
func (self *SAzureProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
fake func
func (*SAzureProvider) CreateICloudgroup ¶
func (self *SAzureProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SAzureProvider) CreateIClouduser ¶
func (self *SAzureProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SAzureProvider) CreateIProject ¶
func (self *SAzureProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SAzureProvider) CreateSubscription ¶
func (self *SAzureProvider) CreateSubscription(input cloudprovider.SubscriptionCreateInput) error
func (*SAzureProvider) GetAccountId ¶
func (self *SAzureProvider) GetAccountId() string
func (*SAzureProvider) GetBalance ¶
func (self *SAzureProvider) GetBalance() (float64, string, error)
func (*SAzureProvider) GetBucketCannedAcls ¶
func (self *SAzureProvider) GetBucketCannedAcls(regionId string) []string
func (*SAzureProvider) GetCapabilities ¶
func (self *SAzureProvider) GetCapabilities() []string
func (*SAzureProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SAzureProvider) GetCloudRegionExternalIdPrefix() string
func (*SAzureProvider) GetEnrollmentAccounts ¶
func (self *SAzureProvider) GetEnrollmentAccounts() ([]cloudprovider.SEnrollmentAccount, error)
func (*SAzureProvider) GetICloudgroupByName ¶
func (self *SAzureProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SAzureProvider) GetICloudgroups ¶
func (self *SAzureProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SAzureProvider) GetIClouduserByName ¶
func (self *SAzureProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SAzureProvider) GetICloudusers ¶
func (self *SAzureProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SAzureProvider) GetICustomCloudpolicies ¶
func (self *SAzureProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAzureProvider) GetIProjects ¶
func (self *SAzureProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SAzureProvider) GetIRegionById ¶
func (self *SAzureProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SAzureProvider) GetIRegions ¶
func (self *SAzureProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SAzureProvider) GetISystemCloudpolicies ¶
func (self *SAzureProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAzureProvider) GetIamLoginUrl ¶
func (self *SAzureProvider) GetIamLoginUrl() string
func (*SAzureProvider) GetMetrics ¶
func (self *SAzureProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAzureProvider) GetObjectCannedAcls ¶
func (self *SAzureProvider) GetObjectCannedAcls(regionId string) []string
func (*SAzureProvider) GetSamlEntityId ¶
func (self *SAzureProvider) GetSamlEntityId() string
func (*SAzureProvider) GetStorageClasses ¶
func (self *SAzureProvider) GetStorageClasses(regionId string) []string
func (*SAzureProvider) GetSubAccounts ¶
func (self *SAzureProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SAzureProvider) GetSysInfo ¶
func (self *SAzureProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SAzureProvider) GetVersion ¶
func (self *SAzureProvider) GetVersion() string
type SAzureProviderFactory ¶
type SAzureProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
func (*SAzureProviderFactory) GetClientRC ¶
func (self *SAzureProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SAzureProviderFactory) GetId ¶
func (self *SAzureProviderFactory) GetId() string
func (*SAzureProviderFactory) GetMaxCloudEventKeepDays ¶
func (self *SAzureProviderFactory) GetMaxCloudEventKeepDays() int
func (*SAzureProviderFactory) GetMaxCloudEventSyncDays ¶
func (self *SAzureProviderFactory) GetMaxCloudEventSyncDays() int
func (*SAzureProviderFactory) GetName ¶
func (self *SAzureProviderFactory) GetName() string
func (*SAzureProviderFactory) GetProvider ¶
func (self *SAzureProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SAzureProviderFactory) IsCloudeventRegional ¶
func (self *SAzureProviderFactory) IsCloudeventRegional() bool
func (*SAzureProviderFactory) IsSupportCloudIdService ¶
func (self *SAzureProviderFactory) IsSupportCloudIdService() bool
func (*SAzureProviderFactory) IsSupportCreateCloudgroup ¶
func (self *SAzureProviderFactory) IsSupportCreateCloudgroup() bool
func (*SAzureProviderFactory) IsSupportPrepaidResources ¶
func (self *SAzureProviderFactory) IsSupportPrepaidResources() bool
func (*SAzureProviderFactory) IsSupportSAMLAuth ¶
func (self *SAzureProviderFactory) IsSupportSAMLAuth() bool
func (*SAzureProviderFactory) ValidateChangeBandwidth ¶
func (self *SAzureProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
func (*SAzureProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SAzureProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SAzureProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SAzureProviderFactory) 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.