Documentation ¶
Index ¶
- type SAliyunProvider
- func (self *SAliyunProvider) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
- func (self *SAliyunProvider) CreateICloudInterVpcNetwork(opts *cloudprovider.SInterVpcNetworkCreateOptions) (cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SAliyunProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
- func (self *SAliyunProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SAliyunProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SAliyunProvider) CreateICloudrole(opts *cloudprovider.SRoleCreateOptions) (cloudprovider.ICloudrole, error)
- func (self *SAliyunProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SAliyunProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SAliyunProvider) GetAccountId() string
- func (self *SAliyunProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
- func (self *SAliyunProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SAliyunProvider) GetCapabilities() []string
- func (self *SAliyunProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SAliyunProvider) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
- func (self *SAliyunProvider) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
- func (self *SAliyunProvider) GetICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
- func (self *SAliyunProvider) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
- func (self *SAliyunProvider) GetICloudInterVpcNetworkById(id string) (cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SAliyunProvider) GetICloudInterVpcNetworks() ([]cloudprovider.ICloudInterVpcNetwork, error)
- func (self *SAliyunProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SAliyunProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SAliyunProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SAliyunProvider) GetICloudroleById(id string) (cloudprovider.ICloudrole, error)
- func (self *SAliyunProvider) GetICloudroleByName(name string) (cloudprovider.ICloudrole, error)
- func (self *SAliyunProvider) GetICloudroles() ([]cloudprovider.ICloudrole, error)
- func (self *SAliyunProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SAliyunProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SAliyunProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAliyunProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SAliyunProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
- func (self *SAliyunProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SAliyunProvider) GetISSLCertificate(certId string) (cloudprovider.ICloudSSLCertificate, error)
- func (self *SAliyunProvider) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
- func (self *SAliyunProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SAliyunProvider) GetIamLoginUrl() string
- func (self *SAliyunProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SAliyunProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SAliyunProvider) GetSamlEntityId() string
- func (self *SAliyunProvider) GetStorageClasses(regionId string) []string
- func (self *SAliyunProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SAliyunProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SAliyunProvider) GetVersion() string
- type SAliyunProviderFactory
- func (self *SAliyunProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SAliyunProviderFactory) GetId() string
- func (self *SAliyunProviderFactory) GetName() string
- func (self *SAliyunProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SAliyunProviderFactory) GetSupportedDnsPolicyTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsPolicyType
- func (self *SAliyunProviderFactory) GetSupportedDnsPolicyValues() map[cloudprovider.TDnsPolicyType][]cloudprovider.TDnsPolicyValue
- func (self *SAliyunProviderFactory) GetSupportedDnsTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsType
- func (self *SAliyunProviderFactory) GetSupportedDnsZoneTypes() []cloudprovider.TDnsZoneType
- func (self *SAliyunProviderFactory) GetTTLRange(zoneType cloudprovider.TDnsZoneType, productType cloudprovider.TDnsProductType) cloudprovider.TTlRange
- func (self *SAliyunProviderFactory) IsCloudeventRegional() bool
- func (self *SAliyunProviderFactory) IsSupportCloudIdService() bool
- func (self *SAliyunProviderFactory) IsSupportCreateCloudgroup() bool
- func (factory *SAliyunProviderFactory) IsSupportSAMLAuth() bool
- func (factory *SAliyunProviderFactory) IsSystemCloudpolicyUnified() bool
- func (self *SAliyunProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
- func (self *SAliyunProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, ...) (cloudprovider.SCloudaccount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SAliyunProvider ¶
type SAliyunProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SAliyunProvider) CreateICloudDnsZone ¶
func (self *SAliyunProvider) CreateICloudDnsZone(opts *cloudprovider.SDnsZoneCreateOptions) (cloudprovider.ICloudDnsZone, error)
func (*SAliyunProvider) CreateICloudInterVpcNetwork ¶
func (self *SAliyunProvider) CreateICloudInterVpcNetwork(opts *cloudprovider.SInterVpcNetworkCreateOptions) (cloudprovider.ICloudInterVpcNetwork, error)
func (*SAliyunProvider) CreateICloudSAMLProvider ¶
func (self *SAliyunProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
func (*SAliyunProvider) CreateICloudgroup ¶
func (self *SAliyunProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SAliyunProvider) CreateICloudpolicy ¶
func (self *SAliyunProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SAliyunProvider) CreateICloudrole ¶
func (self *SAliyunProvider) CreateICloudrole(opts *cloudprovider.SRoleCreateOptions) (cloudprovider.ICloudrole, error)
func (*SAliyunProvider) CreateIClouduser ¶
func (self *SAliyunProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SAliyunProvider) CreateIProject ¶
func (self *SAliyunProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SAliyunProvider) GetAccountId ¶
func (self *SAliyunProvider) GetAccountId() string
func (*SAliyunProvider) GetBalance ¶
func (self *SAliyunProvider) GetBalance() (*cloudprovider.SBalanceInfo, error)
func (*SAliyunProvider) GetBucketCannedAcls ¶
func (self *SAliyunProvider) GetBucketCannedAcls(regionId string) []string
func (*SAliyunProvider) GetCapabilities ¶
func (self *SAliyunProvider) GetCapabilities() []string
func (*SAliyunProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SAliyunProvider) GetCloudRegionExternalIdPrefix() string
func (*SAliyunProvider) GetICloudCDNDomainByName ¶
func (self *SAliyunProvider) GetICloudCDNDomainByName(name string) (cloudprovider.ICloudCDNDomain, error)
func (*SAliyunProvider) GetICloudCDNDomains ¶
func (self *SAliyunProvider) GetICloudCDNDomains() ([]cloudprovider.ICloudCDNDomain, error)
func (*SAliyunProvider) GetICloudDnsZoneById ¶
func (self *SAliyunProvider) GetICloudDnsZoneById(id string) (cloudprovider.ICloudDnsZone, error)
func (*SAliyunProvider) GetICloudDnsZones ¶
func (self *SAliyunProvider) GetICloudDnsZones() ([]cloudprovider.ICloudDnsZone, error)
func (*SAliyunProvider) GetICloudInterVpcNetworkById ¶
func (self *SAliyunProvider) GetICloudInterVpcNetworkById(id string) (cloudprovider.ICloudInterVpcNetwork, error)
func (*SAliyunProvider) GetICloudInterVpcNetworks ¶
func (self *SAliyunProvider) GetICloudInterVpcNetworks() ([]cloudprovider.ICloudInterVpcNetwork, error)
func (*SAliyunProvider) GetICloudSAMLProviders ¶
func (self *SAliyunProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
func (*SAliyunProvider) GetICloudgroupByName ¶
func (self *SAliyunProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SAliyunProvider) GetICloudgroups ¶
func (self *SAliyunProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SAliyunProvider) GetICloudroleById ¶
func (self *SAliyunProvider) GetICloudroleById(id string) (cloudprovider.ICloudrole, error)
func (*SAliyunProvider) GetICloudroleByName ¶
func (self *SAliyunProvider) GetICloudroleByName(name string) (cloudprovider.ICloudrole, error)
func (*SAliyunProvider) GetICloudroles ¶
func (self *SAliyunProvider) GetICloudroles() ([]cloudprovider.ICloudrole, error)
func (*SAliyunProvider) GetIClouduserByName ¶
func (self *SAliyunProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SAliyunProvider) GetICloudusers ¶
func (self *SAliyunProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SAliyunProvider) GetICustomCloudpolicies ¶
func (self *SAliyunProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAliyunProvider) GetIProjects ¶
func (self *SAliyunProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SAliyunProvider) GetIRegionById ¶
func (self *SAliyunProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
func (*SAliyunProvider) GetIRegions ¶
func (self *SAliyunProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SAliyunProvider) GetISSLCertificate ¶
func (self *SAliyunProvider) GetISSLCertificate(certId string) (cloudprovider.ICloudSSLCertificate, error)
func (*SAliyunProvider) GetISSLCertificates ¶
func (self *SAliyunProvider) GetISSLCertificates() ([]cloudprovider.ICloudSSLCertificate, error)
func (*SAliyunProvider) GetISystemCloudpolicies ¶
func (self *SAliyunProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SAliyunProvider) GetIamLoginUrl ¶
func (self *SAliyunProvider) GetIamLoginUrl() string
func (*SAliyunProvider) GetMetrics ¶
func (self *SAliyunProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SAliyunProvider) GetObjectCannedAcls ¶
func (self *SAliyunProvider) GetObjectCannedAcls(regionId string) []string
func (*SAliyunProvider) GetSamlEntityId ¶
func (self *SAliyunProvider) GetSamlEntityId() string
func (*SAliyunProvider) GetStorageClasses ¶
func (self *SAliyunProvider) GetStorageClasses(regionId string) []string
func (*SAliyunProvider) GetSubAccounts ¶
func (self *SAliyunProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SAliyunProvider) GetSysInfo ¶
func (self *SAliyunProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SAliyunProvider) GetVersion ¶
func (self *SAliyunProvider) GetVersion() string
type SAliyunProviderFactory ¶
type SAliyunProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
func (*SAliyunProviderFactory) GetClientRC ¶
func (self *SAliyunProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SAliyunProviderFactory) GetId ¶
func (self *SAliyunProviderFactory) GetId() string
func (*SAliyunProviderFactory) GetName ¶
func (self *SAliyunProviderFactory) GetName() string
func (*SAliyunProviderFactory) GetProvider ¶
func (self *SAliyunProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SAliyunProviderFactory) GetSupportedDnsPolicyTypes ¶
func (self *SAliyunProviderFactory) GetSupportedDnsPolicyTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsPolicyType
func (*SAliyunProviderFactory) GetSupportedDnsPolicyValues ¶
func (self *SAliyunProviderFactory) GetSupportedDnsPolicyValues() map[cloudprovider.TDnsPolicyType][]cloudprovider.TDnsPolicyValue
func (*SAliyunProviderFactory) GetSupportedDnsTypes ¶
func (self *SAliyunProviderFactory) GetSupportedDnsTypes() map[cloudprovider.TDnsZoneType][]cloudprovider.TDnsType
func (*SAliyunProviderFactory) GetSupportedDnsZoneTypes ¶
func (self *SAliyunProviderFactory) GetSupportedDnsZoneTypes() []cloudprovider.TDnsZoneType
func (*SAliyunProviderFactory) GetTTLRange ¶
func (self *SAliyunProviderFactory) GetTTLRange(zoneType cloudprovider.TDnsZoneType, productType cloudprovider.TDnsProductType) cloudprovider.TTlRange
func (*SAliyunProviderFactory) IsCloudeventRegional ¶
func (self *SAliyunProviderFactory) IsCloudeventRegional() bool
func (*SAliyunProviderFactory) IsSupportCloudIdService ¶
func (self *SAliyunProviderFactory) IsSupportCloudIdService() bool
func (*SAliyunProviderFactory) IsSupportCreateCloudgroup ¶
func (self *SAliyunProviderFactory) IsSupportCreateCloudgroup() bool
func (*SAliyunProviderFactory) IsSupportSAMLAuth ¶
func (factory *SAliyunProviderFactory) IsSupportSAMLAuth() bool
func (*SAliyunProviderFactory) IsSystemCloudpolicyUnified ¶
func (factory *SAliyunProviderFactory) IsSystemCloudpolicyUnified() bool
func (*SAliyunProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SAliyunProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SAliyunProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SAliyunProviderFactory) ValidateUpdateCloudaccountCredential(ctx context.Context, input cloudprovider.SCloudaccountCredential, cloudaccount string) (cloudprovider.SCloudaccount, error)
Click to show internal directories.
Click to hide internal directories.