Documentation
¶
Index ¶
- type SGoogleProvider
- func (self *SGoogleProvider) CreateICloudGlobalVpc(opts *cloudprovider.GlobalVpcCreateOptions) (cloudprovider.ICloudGlobalVpc, error)
- func (self *SGoogleProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
- func (self *SGoogleProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
- func (self *SGoogleProvider) GetAccountId() string
- func (self *SGoogleProvider) GetBalance() (float64, string, error)
- func (self *SGoogleProvider) GetBucketCannedAcls(regionId string) []string
- func (self *SGoogleProvider) GetCapabilities() []string
- func (self *SGoogleProvider) GetICloudGlobalVpcById(id string) (cloudprovider.ICloudGlobalVpc, error)
- func (self *SGoogleProvider) GetICloudGlobalVpcs() ([]cloudprovider.ICloudGlobalVpc, error)
- func (self *SGoogleProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
- func (self *SGoogleProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
- func (self *SGoogleProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
- func (self *SGoogleProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
- func (self *SGoogleProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGoogleProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
- func (self *SGoogleProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
- func (self *SGoogleProvider) GetIRegions() []cloudprovider.ICloudRegion
- func (self *SGoogleProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
- func (self *SGoogleProvider) GetIamLoginUrl() string
- func (self *SGoogleProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
- func (self *SGoogleProvider) GetObjectCannedAcls(regionId string) []string
- func (self *SGoogleProvider) GetSamlEntityId() string
- func (self *SGoogleProvider) GetStorageClasses(regionId string) []string
- func (self *SGoogleProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
- func (self *SGoogleProvider) GetSysInfo() (jsonutils.JSONObject, error)
- func (self *SGoogleProvider) GetVersion() string
- type SGoogleProviderFactory
- func (self *SGoogleProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
- func (factory *SGoogleProviderFactory) GetClouduserMinPolicyCount() int
- func (self *SGoogleProviderFactory) GetId() string
- func (self *SGoogleProviderFactory) GetName() string
- func (self *SGoogleProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
- func (factory *SGoogleProviderFactory) IsCloudpolicyWithSubscription() bool
- func (self *SGoogleProviderFactory) IsClouduserBelongCloudprovider() bool
- func (factory *SGoogleProviderFactory) IsClouduserNeedInitPolicy() bool
- func (self *SGoogleProviderFactory) IsClouduserSupportPassword() bool
- func (factory *SGoogleProviderFactory) IsClouduserpolicyWithSubscription() bool
- func (factory *SGoogleProviderFactory) IsSupportCloudIdService() bool
- func (self *SGoogleProviderFactory) IsSupportPrepaidResources() bool
- func (factory *SGoogleProviderFactory) IsSupportResetClouduserPassword() bool
- func (self *SGoogleProviderFactory) NeedSyncSkuFromCloud() bool
- func (self *SGoogleProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
- func (self *SGoogleProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, ...) (cloudprovider.SCloudaccount, error)
- func (self *SGoogleProviderFactory) 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 SGoogleProvider ¶
type SGoogleProvider struct { cloudprovider.SBaseProvider // contains filtered or unexported fields }
func (*SGoogleProvider) CreateICloudGlobalVpc ¶
func (self *SGoogleProvider) CreateICloudGlobalVpc(opts *cloudprovider.GlobalVpcCreateOptions) (cloudprovider.ICloudGlobalVpc, error)
func (*SGoogleProvider) CreateICloudpolicy ¶
func (self *SGoogleProvider) CreateICloudpolicy(opts *cloudprovider.SCloudpolicyCreateOptions) (cloudprovider.ICloudpolicy, error)
func (*SGoogleProvider) CreateIClouduser ¶
func (self *SGoogleProvider) CreateIClouduser(conf *cloudprovider.SClouduserCreateConfig) (cloudprovider.IClouduser, error)
func (*SGoogleProvider) GetAccountId ¶
func (self *SGoogleProvider) GetAccountId() string
func (*SGoogleProvider) GetBalance ¶
func (self *SGoogleProvider) GetBalance() (float64, string, error)
func (*SGoogleProvider) GetBucketCannedAcls ¶
func (self *SGoogleProvider) GetBucketCannedAcls(regionId string) []string
func (*SGoogleProvider) GetCapabilities ¶
func (self *SGoogleProvider) GetCapabilities() []string
func (*SGoogleProvider) GetICloudGlobalVpcById ¶
func (self *SGoogleProvider) GetICloudGlobalVpcById(id string) (cloudprovider.ICloudGlobalVpc, error)
func (*SGoogleProvider) GetICloudGlobalVpcs ¶
func (self *SGoogleProvider) GetICloudGlobalVpcs() ([]cloudprovider.ICloudGlobalVpc, error)
func (*SGoogleProvider) GetICloudgroupByName ¶
func (self *SGoogleProvider) GetICloudgroupByName(name string) (cloudprovider.ICloudgroup, error)
func (*SGoogleProvider) GetICloudgroups ¶
func (self *SGoogleProvider) GetICloudgroups() ([]cloudprovider.ICloudgroup, error)
func (*SGoogleProvider) GetIClouduserByName ¶
func (self *SGoogleProvider) GetIClouduserByName(name string) (cloudprovider.IClouduser, error)
func (*SGoogleProvider) GetICloudusers ¶
func (self *SGoogleProvider) GetICloudusers() ([]cloudprovider.IClouduser, error)
func (*SGoogleProvider) GetICustomCloudpolicies ¶
func (self *SGoogleProvider) GetICustomCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGoogleProvider) GetIProjects ¶
func (self *SGoogleProvider) GetIProjects() ([]cloudprovider.ICloudProject, error)
func (*SGoogleProvider) GetIRegionById ¶
func (self *SGoogleProvider) GetIRegionById(extId string) (cloudprovider.ICloudRegion, error)
func (*SGoogleProvider) GetIRegions ¶
func (self *SGoogleProvider) GetIRegions() []cloudprovider.ICloudRegion
func (*SGoogleProvider) GetISystemCloudpolicies ¶
func (self *SGoogleProvider) GetISystemCloudpolicies() ([]cloudprovider.ICloudpolicy, error)
func (*SGoogleProvider) GetIamLoginUrl ¶
func (self *SGoogleProvider) GetIamLoginUrl() string
func (*SGoogleProvider) GetMetrics ¶
func (self *SGoogleProvider) GetMetrics(opts *cloudprovider.MetricListOptions) ([]cloudprovider.MetricValues, error)
func (*SGoogleProvider) GetObjectCannedAcls ¶
func (self *SGoogleProvider) GetObjectCannedAcls(regionId string) []string
func (*SGoogleProvider) GetSamlEntityId ¶
func (self *SGoogleProvider) GetSamlEntityId() string
func (*SGoogleProvider) GetStorageClasses ¶
func (self *SGoogleProvider) GetStorageClasses(regionId string) []string
func (*SGoogleProvider) GetSubAccounts ¶
func (self *SGoogleProvider) GetSubAccounts() ([]cloudprovider.SSubAccount, error)
func (*SGoogleProvider) GetSysInfo ¶
func (self *SGoogleProvider) GetSysInfo() (jsonutils.JSONObject, error)
func (*SGoogleProvider) GetVersion ¶
func (self *SGoogleProvider) GetVersion() string
type SGoogleProviderFactory ¶
type SGoogleProviderFactory struct {
cloudprovider.SPublicCloudBaseProviderFactory
}
func (*SGoogleProviderFactory) GetClientRC ¶
func (self *SGoogleProviderFactory) GetClientRC(info cloudprovider.SProviderInfo) (map[string]string, error)
func (*SGoogleProviderFactory) GetClouduserMinPolicyCount ¶
func (factory *SGoogleProviderFactory) GetClouduserMinPolicyCount() int
func (*SGoogleProviderFactory) GetId ¶
func (self *SGoogleProviderFactory) GetId() string
func (*SGoogleProviderFactory) GetName ¶
func (self *SGoogleProviderFactory) GetName() string
func (*SGoogleProviderFactory) GetProvider ¶
func (self *SGoogleProviderFactory) GetProvider(cfg cloudprovider.ProviderConfig) (cloudprovider.ICloudProvider, error)
func (*SGoogleProviderFactory) IsCloudpolicyWithSubscription ¶
func (factory *SGoogleProviderFactory) IsCloudpolicyWithSubscription() bool
func (*SGoogleProviderFactory) IsClouduserBelongCloudprovider ¶
func (self *SGoogleProviderFactory) IsClouduserBelongCloudprovider() bool
func (*SGoogleProviderFactory) IsClouduserNeedInitPolicy ¶
func (factory *SGoogleProviderFactory) IsClouduserNeedInitPolicy() bool
func (*SGoogleProviderFactory) IsClouduserSupportPassword ¶
func (self *SGoogleProviderFactory) IsClouduserSupportPassword() bool
func (*SGoogleProviderFactory) IsClouduserpolicyWithSubscription ¶
func (factory *SGoogleProviderFactory) IsClouduserpolicyWithSubscription() bool
func (*SGoogleProviderFactory) IsSupportCloudIdService ¶
func (factory *SGoogleProviderFactory) IsSupportCloudIdService() bool
func (*SGoogleProviderFactory) IsSupportPrepaidResources ¶
func (self *SGoogleProviderFactory) IsSupportPrepaidResources() bool
func (*SGoogleProviderFactory) IsSupportResetClouduserPassword ¶
func (factory *SGoogleProviderFactory) IsSupportResetClouduserPassword() bool
func (*SGoogleProviderFactory) NeedSyncSkuFromCloud ¶
func (self *SGoogleProviderFactory) NeedSyncSkuFromCloud() bool
func (*SGoogleProviderFactory) ValidateChangeBandwidth ¶
func (self *SGoogleProviderFactory) ValidateChangeBandwidth(instanceId string, bandwidth int64) error
func (*SGoogleProviderFactory) ValidateCreateCloudaccountData ¶
func (self *SGoogleProviderFactory) ValidateCreateCloudaccountData(ctx context.Context, userCred mcclient.TokenCredential, input cloudprovider.SCloudaccountCredential) (cloudprovider.SCloudaccount, error)
func (*SGoogleProviderFactory) ValidateUpdateCloudaccountCredential ¶
func (self *SGoogleProviderFactory) 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.