Documentation ¶
Index ¶
- type SHCSOProvider
- func (self *SHCSOProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
- func (self *SHCSOProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
- func (self *SHCSOProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SHCSOProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SHCSOProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
- func (self *SHCSOProvider) GetAccountId() string
- func (self *SHCSOProvider) GetBalance() (float64, string, error)
- func (self *SHCSOProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SHCSOProvider) GetCapabilities() []string
- func (self *SHCSOProvider) GetCloudRegionExternalIdPrefix() string
- func (self *SHCSOProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
- func (self *SHCSOProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SHCSOProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SHCSOProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SHCSOProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SHCSOProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SHCSOProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SHCSOProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
- func (self *SHCSOProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SHCSOProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SHCSOProvider) GetIamLoginUrl() string
- func (self *SHCSOProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SHCSOProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SHCSOProvider) GetSamlEntityId() string
- func (self *SHCSOProvider) GetStorageClasses(regionId string) []string
- func (self *SHCSOProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SHCSOProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SHCSOProvider) GetVersion() string
- type SHCSOProviderFactory
- func (self *SHCSOProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (self *SHCSOProviderFactory) GetId() string
- func (self *SHCSOProviderFactory) GetMaxCloudEventKeepDays() int
- func (self *SHCSOProviderFactory) GetMaxCloudEventSyncDays() int
- func (self *SHCSOProviderFactory) GetName() string
- func (self *SHCSOProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (self *SHCSOProviderFactory) IsCloudeventRegional() bool
- func (self *SHCSOProviderFactory) IsMultiTenant() bool
- func (self *SHCSOProviderFactory) IsSupportCloudIdService() bool
- func (self *SHCSOProviderFactory) IsSupportClouduserPolicy() bool
- func (self *SHCSOProviderFactory) IsSupportCreateCloudgroup() bool
- func (factory *SHCSOProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
- func (factory *SHCSOProviderFactory) IsSupportCrossRegionVpcPeering() bool
- func (factory *SHCSOProviderFactory) IsSupportModifyRouteTable() bool
- func (factory *SHCSOProviderFactory) IsSupportSAMLAuth() bool
- func (factory *SHCSOProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
- func (self *SHCSOProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (self *SHCSOProviderFactory) 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 SHCSOProvider ¶
type SHCSOProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SHCSOProvider) CreateICloudSAMLProvider ¶
func (self *SHCSOProvider) CreateICloudSAMLProvider(opts *cloudprovider.SAMLProviderCreateOptions) (cloudprovider.ICloudSAMLProvider, error)
func (*SHCSOProvider) CreateICloudgroup ¶
func (self *SHCSOProvider) CreateICloudgroup(name, desc string) (cloudprovider.ICloudgroup, error)
func (*SHCSOProvider) CreateICloudpolicy ¶
func (self *SHCSOProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SHCSOProvider) CreateIClouduser ¶
func (self *SHCSOProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SHCSOProvider) CreateIProject ¶
func (self *SHCSOProvider) CreateIProject(name string) (cloudprovider.ICloudProject, error)
func (*SHCSOProvider) GetAccountId ¶
func (self *SHCSOProvider) GetAccountId() string
func (*SHCSOProvider) GetBalance ¶
func (self *SHCSOProvider) GetBalance() (float64, string, error)
func (*SHCSOProvider) GetBucketCannedAcls ¶
func (self *SHCSOProvider) GetBucketCannedAcls(regionId string) []string
func (*SHCSOProvider) GetCapabilities ¶
func (self *SHCSOProvider) GetCapabilities() []string
func (*SHCSOProvider) GetCloudRegionExternalIdPrefix ¶
func (self *SHCSOProvider) GetCloudRegionExternalIdPrefix() string
func (*SHCSOProvider) GetICloudSAMLProviders ¶
func (self *SHCSOProvider) GetICloudSAMLProviders() ([]cloudprovider.ICloudSAMLProvider, error)
func (*SHCSOProvider) GetICloudgroupByName ¶
func (self *SHCSOProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SHCSOProvider) GetICloudgroups ¶
func (self *SHCSOProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SHCSOProvider) GetIClouduserByName ¶
func (self *SHCSOProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SHCSOProvider) GetICloudusers ¶
func (self *SHCSOProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SHCSOProvider) GetICustomCloudpolicies ¶
func (self *SHCSOProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SHCSOProvider) GetIProjects ¶
func (self *SHCSOProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SHCSOProvider) GetIRegionById ¶
func (self *SHCSOProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
func (*SHCSOProvider) GetIRegions ¶
func (self *SHCSOProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SHCSOProvider) GetISystemCloudpolicies ¶
func (self *SHCSOProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SHCSOProvider) GetIamLoginUrl ¶
func (self *SHCSOProvider) GetIamLoginUrl() string
func (*SHCSOProvider) GetMetrics ¶
func (self *SHCSOProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SHCSOProvider) GetObjectCannedAcls ¶
func (self *SHCSOProvider) GetObjectCannedAcls(regionId string) []string
func (*SHCSOProvider) GetSamlEntityId ¶
func (self *SHCSOProvider) GetSamlEntityId() string
func (*SHCSOProvider) GetStorageClasses ¶
func (self *SHCSOProvider) GetStorageClasses(regionId string) []string
func (*SHCSOProvider) GetSubAccounts ¶
func (self *SHCSOProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SHCSOProvider) GetSysInfo ¶
func (self *SHCSOProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SHCSOProvider) GetVersion ¶
func (self *SHCSOProvider) GetVersion() string
type SHCSOProviderFactory ¶
type SHCSOProviderFactory struct {
cloudprovider.SPrivateCloudBaseProviderFactory
}
func (*SHCSOProviderFactory) GetClientRC ¶
func (self *SHCSOProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SHCSOProviderFactory) GetId ¶
func (self *SHCSOProviderFactory) GetId() string
func (*SHCSOProviderFactory) GetMaxCloudEventKeepDays ¶
func (self *SHCSOProviderFactory) GetMaxCloudEventKeepDays() int
func (*SHCSOProviderFactory) GetMaxCloudEventSyncDays ¶
func (self *SHCSOProviderFactory) GetMaxCloudEventSyncDays() int
func (*SHCSOProviderFactory) GetName ¶
func (self *SHCSOProviderFactory) GetName() string
func (*SHCSOProviderFactory) GetProvider ¶
func (self *SHCSOProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SHCSOProviderFactory) IsCloudeventRegional ¶
func (self *SHCSOProviderFactory) IsCloudeventRegional() bool
func (*SHCSOProviderFactory) IsMultiTenant ¶
func (self *SHCSOProviderFactory) IsMultiTenant() bool
func (*SHCSOProviderFactory) IsSupportCloudIdService ¶
func (self *SHCSOProviderFactory) IsSupportCloudIdService() bool
func (*SHCSOProviderFactory) IsSupportClouduserPolicy ¶
func (self *SHCSOProviderFactory) IsSupportClouduserPolicy() bool
func (*SHCSOProviderFactory) IsSupportCreateCloudgroup ¶
func (self *SHCSOProviderFactory) IsSupportCreateCloudgroup() bool
func (*SHCSOProviderFactory) IsSupportCrossCloudEnvVpcPeering ¶
func (factory *SHCSOProviderFactory) IsSupportCrossCloudEnvVpcPeering() bool
func (*SHCSOProviderFactory) IsSupportCrossRegionVpcPeering ¶
func (factory *SHCSOProviderFactory) IsSupportCrossRegionVpcPeering() bool
func (*SHCSOProviderFactory) IsSupportModifyRouteTable ¶
func (factory *SHCSOProviderFactory) IsSupportModifyRouteTable() bool
func (*SHCSOProviderFactory) IsSupportSAMLAuth ¶
func (factory *SHCSOProviderFactory) IsSupportSAMLAuth() bool
func (*SHCSOProviderFactory) IsSupportVpcPeeringVpcCidrOverlap ¶
func (factory *SHCSOProviderFactory) IsSupportVpcPeeringVpcCidrOverlap() bool
func (*SHCSOProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SHCSOProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SHCSOProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SHCSOProviderFactory) 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.