Documentation ¶
Index ¶
- type SAwsProvider
- func (self *SAwsProvider) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
- func (self *SAwsProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
- func (self *SAwsProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SAwsProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SAwsProvider) CreateICloudrole(opts *cloudprovider.SRoleCreateOptions) (cloudprovider.ICloudrole, error)
- func (self *SAwsProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SAwsProvider) GetAccountId() string
- func (self *SAwsProvider) GetBalance() (float64, string, error)
- func (self *SAwsProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SAwsProvider) GetCapabilities() []string
- func (self *SAwsProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SAwsProvider) GetICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
- func (self *SAwsProvider) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
- func (self *SAwsProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SAwsProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SAwsProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SAwsProvider) GetICloudroleById(id string) (cloudprovider.ICloudrole, error)
- func (self *SAwsProvider) GetICloudroleByName(name string) (cloudprovider.ICloudrole, error)
- func (self *SAwsProvider) GetICloudroles() ([]cloudprovider.ICloudrole, error)
- func (self *SAwsProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SAwsProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SAwsProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAwsProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SAwsProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
- func (self *SAwsProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SAwsProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAwsProvider) GetIamLoginUrl() string
- func (self *SAwsProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAwsProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SAwsProvider) GetSamlEntityId() string
- func (self *SAwsProvider) GetStorageClasses(regionId string) []string
- func (self *SAwsProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SAwsProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SAwsProvider) GetVersion() string
- type SAwsProviderFactory
- func (self *SAwsProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SAwsProviderFactory) GetId() string
- func (self *SAwsProviderFactory) GetMaxCloudEventKeepDays() int
- func (self *SAwsProviderFactory) GetMaxCloudEventSyncDays() int
- func (self *SAwsProviderFactory) GetName() string
- func (self *SAwsProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SAwsProviderFactory) GetSupportedDnsPolicyTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsPolicyType
- func (self *SAwsProviderFactory) GetSupportedDnsPolicyValues() map[cloudprovider.TDnsPolicyType][]cloudprovider.TDnsPolicyValue
- func (self *SAwsProviderFactory) GetSupportedDnsTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsType
- func (self *SAwsProviderFactory) GetSupportedDnsZoneTypes() []cloudprovider.TDnsZoneType
- func (self *SAwsProviderFactory) IsCloudeventRegional() bool
- func (self *SAwsProviderFactory) IsSupportCloudIdService() bool
- func (self *SAwsProviderFactory) IsSupportCreateCloudgroup() bool
- func (factory *SAwsProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
- func (factory *SAwsProviderFactory) IsSupportCrossRegionVpcPeering() bool
- func (factory *SAwsProviderFactory) IsSupportModifyRouteTable() bool
- func (self *SAwsProviderFactory) IsSupportPrepaidResources() bool
- func (factory *SAwsProviderFactory) IsSupportSAMLAuth() bool
- func (factory *SAwsProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
- func (factory *SAwsProviderFactory) IsSystemCloudpolicyUnified() bool
- func (self *SAwsProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (self *SAwsProviderFactory) 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 SAwsProvider ¶
type SAwsProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SAwsProvider) CreateICloudDnsZone ¶
func (self *SAwsProvider) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
func (*SAwsProvider) CreateICloudSAMLProvider ¶
func (self *SAwsProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
func (*SAwsProvider) CreateICloudgroup ¶
func (self *SAwsProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SAwsProvider) CreateICloudpolicy ¶
func (self *SAwsProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SAwsProvider) CreateICloudrole ¶
func (self *SAwsProvider) CreateICloudrole(opts *cloudprovider.SRoleCreateOptions) (cloudprovider.ICloudrole, error)
func (*SAwsProvider) CreateIClouduser ¶
func (self *SAwsProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SAwsProvider) GetAccountId ¶
func (self *SAwsProvider) GetAccountId() string
func (*SAwsProvider) GetBalance ¶
func (self *SAwsProvider) GetBalance() (float64, string, error)
func (*SAwsProvider) GetBucketCannedAcls ¶
func (self *SAwsProvider) GetBucketCannedAcls(regionId string) []string
func (*SAwsProvider) GetCapabilities ¶
func (self *SAwsProvider) GetCapabilities() []string
func (*SAwsProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SAwsProvider) GetCloudRegionExternalIdPrefix() string
func (*SAwsProvider) GetICloudDnsZoneById ¶
func (self *SAwsProvider) GetICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
func (*SAwsProvider) GetICloudDnsZones ¶
func (self *SAwsProvider) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
func (*SAwsProvider) GetICloudSAMLProviders ¶
func (self *SAwsProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
func (*SAwsProvider) GetICloudgroupByName ¶
func (self *SAwsProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SAwsProvider) GetICloudgroups ¶
func (self *SAwsProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SAwsProvider) GetICloudroleById ¶
func (self *SAwsProvider) GetICloudroleById(id string) (cloudprovider.ICloudrole, error)
func (*SAwsProvider) GetICloudroleByName ¶
func (self *SAwsProvider) GetICloudroleByName(name string) (cloudprovider.ICloudrole, error)
func (*SAwsProvider) GetICloudroles ¶
func (self *SAwsProvider) GetICloudroles() ([]cloudprovider.ICloudrole, error)
func (*SAwsProvider) GetIClouduserByName ¶
func (self *SAwsProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SAwsProvider) GetICloudusers ¶
func (self *SAwsProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SAwsProvider) GetICustomCloudpolicies ¶
func (self *SAwsProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAwsProvider) GetIProjects ¶
func (self *SAwsProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SAwsProvider) GetIRegionById ¶
func (self *SAwsProvider) GetIRegionById(id string) (cloudprovider.ICloudRegion, error)
func (*SAwsProvider) GetIRegions ¶
func (self *SAwsProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SAwsProvider) GetISystemCloudpolicies ¶
func (self *SAwsProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAwsProvider) GetIamLoginUrl ¶
func (self *SAwsProvider) GetIamLoginUrl() string
func (*SAwsProvider) GetMetrics ¶
func (self *SAwsProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAwsProvider) GetObjectCannedAcls ¶
func (self *SAwsProvider) GetObjectCannedAcls(regionId string) []string
func (*SAwsProvider) GetSamlEntityId ¶
func (self *SAwsProvider) GetSamlEntityId() string
func (*SAwsProvider) GetStorageClasses ¶
func (self *SAwsProvider) GetStorageClasses(regionId string) []string
func (*SAwsProvider) GetSubAccounts ¶
func (self *SAwsProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SAwsProvider) GetSysInfo ¶
func (self *SAwsProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SAwsProvider) GetVersion ¶
func (self *SAwsProvider) GetVersion() string
type SAwsProviderFactory ¶
type SAwsProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
func (*SAwsProviderFactory) GetClientRC ¶
func (self *SAwsProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SAwsProviderFactory) GetId ¶
func (self *SAwsProviderFactory) GetId() string
func (*SAwsProviderFactory) GetMaxCloudEventKeepDays ¶
func (self *SAwsProviderFactory) GetMaxCloudEventKeepDays() int
func (*SAwsProviderFactory) GetMaxCloudEventSyncDays ¶
func (self *SAwsProviderFactory) GetMaxCloudEventSyncDays() int
func (*SAwsProviderFactory) GetName ¶
func (self *SAwsProviderFactory) GetName() string
func (*SAwsProviderFactory) GetProvider ¶
func (self *SAwsProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SAwsProviderFactory) GetSupportedDnsPolicyTypes ¶
func (self *SAwsProviderFactory) GetSupportedDnsPolicyTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsPolicyType
func (*SAwsProviderFactory) GetSupportedDnsPolicyValues ¶
func (self *SAwsProviderFactory) GetSupportedDnsPolicyValues() map[cloudprovider.TDnsPolicyType][]cloudprovider.TDnsPolicyValue
func (*SAwsProviderFactory) GetSupportedDnsTypes ¶
func (self *SAwsProviderFactory) GetSupportedDnsTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsType
func (*SAwsProviderFactory) GetSupportedDnsZoneTypes ¶
func (self *SAwsProviderFactory) GetSupportedDnsZoneTypes() []cloudprovider.TDnsZoneType
func (*SAwsProviderFactory) IsCloudeventRegional ¶
func (self *SAwsProviderFactory) IsCloudeventRegional() bool
func (*SAwsProviderFactory) IsSupportCloudIdService ¶
func (self *SAwsProviderFactory) IsSupportCloudIdService() bool
func (*SAwsProviderFactory) IsSupportCreateCloudgroup ¶
func (self *SAwsProviderFactory) IsSupportCreateCloudgroup() bool
func (*SAwsProviderFactory) IsSupportCrossCloudEnvVpcPeering ¶
func (factory *SAwsProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
func (*SAwsProviderFactory) IsSupportCrossRegionVpcPeering ¶
func (factory *SAwsProviderFactory) IsSupportCrossRegionVpcPeering() bool
func (*SAwsProviderFactory) IsSupportModifyRouteTable ¶
func (factory *SAwsProviderFactory) IsSupportModifyRouteTable() bool
func (*SAwsProviderFactory) IsSupportPrepaidResources ¶
func (self *SAwsProviderFactory) IsSupportPrepaidResources() bool
func (*SAwsProviderFactory) IsSupportSAMLAuth ¶
func (factory *SAwsProviderFactory) IsSupportSAMLAuth() bool
func (*SAwsProviderFactory) IsSupportVpcPeeringVpcCidrOverlap ¶
func (factory *SAwsProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
func (*SAwsProviderFactory) IsSystemCloudpolicyUnified ¶
func (factory *SAwsProviderFactory) IsSystemCloudpolicyUnified() bool
func (*SAwsProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SAwsProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SAwsProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SAwsProviderFactory) 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.