Documentation ¶
Index ¶
- Constants
- Variables
- type AliyunClient
- func (client *AliyunClient) AccountId() (string, error)
- func (client *AliyunClient) NewCommonRequest(product string, apiVersion ApiVersion) *requests.CommonRequest
- func (client *AliyunClient) WithCdnClient(do func(*cdn.CdnClient) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithCenClient(do func(*cbn.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithCloudApiClient(do func(*cloudapi.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithCmsClient(do func(*cms.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithCsClient(do func(*cs.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithCsProjectClient(clusterId, endpoint string, clusterCerts cs.ClusterCerts, ...) (interface{}, error)
- func (client *AliyunClient) WithDataHubClient(do func(*datahub.DataHub) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithDdsClient(do func(*dds.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithDnsClient(do func(*dns.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithDrdsClient(do func(*drds.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithEcsClient(do func(*ecs.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithEssClient(do func(*ess.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithFcClient(do func(*fc.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithKmsClient(do func(*kms.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithLogClient(do func(*sls.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithMnsClient(do func(*ali_mns.MNSClient) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithMnsQueueManager(do func(ali_mns.AliQueueManager) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithMnsSubscriptionManagerByTopicName(topicName string, do func(ali_mns.AliMNSTopic) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithMnsTopicManager(do func(ali_mns.AliTopicManager) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithOssBucketByName(bucketName string, do func(*oss.Bucket) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithOssClient(do func(*oss.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithOtsClient(do func(*ots.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithPvtzClient(do func(*pvtz.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithRamClient(do func(ram.RamClientInterface) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithRdsClient(do func(*rds.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithRkvClient(do func(*r_kvstore.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithSlbClient(do func(*slb.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithStsClient(do func(*sts.Client) (interface{}, error)) (interface{}, error)
- func (client *AliyunClient) WithTableStoreClient(instanceName string, ...) (interface{}, error)
- func (client *AliyunClient) WithVpcClient(do func(*vpc.Client) (interface{}, error)) (interface{}, error)
- type ApiVersion
- type Config
- type Endpoint
- type Endpoints
- type Product
- type Products
- type Region
- type RegionIds
- type ServiceCode
Constants ¶
View Source
const ( ApiVersion20140526 = ApiVersion("2014-05-26") ApiVersion20160815 = ApiVersion("2016-08-15") ApiVersion20140515 = ApiVersion("2014-05-15") )
View Source
const ( ECSCode = ServiceCode("ECS") ESSCode = ServiceCode("ESS") RAMCode = ServiceCode("RAM") VPCCode = ServiceCode("VPC") SLBCode = ServiceCode("SLB") RDSCode = ServiceCode("RDS") OSSCode = ServiceCode("OSS") CONTAINCode = ServiceCode("CS") DOMAINCode = ServiceCode("DOMAIN") CDNCode = ServiceCode("CDN") CMSCode = ServiceCode("CMS") KMSCode = ServiceCode("KMS") OTSCode = ServiceCode("OTS") PVTZCode = ServiceCode("PVTZ") LOGCode = ServiceCode("LOG") FCCode = ServiceCode("FC") DDSCode = ServiceCode("DDS") STSCode = ServiceCode("STS") CENCode = ServiceCode("CEN") KVSTORECode = ServiceCode("KVSTORE") DATAHUBCode = ServiceCode("DATAHUB") MNSCode = ServiceCode("MNS") CLOUDAPICode = ServiceCode("CLOUDAPI") DRDSCode = ServiceCode("DRDS") )
View Source
const ( Hangzhou = Region("cn-hangzhou") Qingdao = Region("cn-qingdao") Beijing = Region("cn-beijing") Hongkong = Region("cn-hongkong") Shenzhen = Region("cn-shenzhen") Shanghai = Region("cn-shanghai") Zhangjiakou = Region("cn-zhangjiakou") Huhehaote = Region("cn-huhehaote") APSouthEast1 = Region("ap-southeast-1") APNorthEast1 = Region("ap-northeast-1") APSouthEast2 = Region("ap-southeast-2") APSouthEast3 = Region("ap-southeast-3") APSouthEast5 = Region("ap-southeast-5") APSouth1 = Region("ap-south-1") USWest1 = Region("us-west-1") USEast1 = Region("us-east-1") MEEast1 = Region("me-east-1") EUCentral1 = Region("eu-central-1") EUWest1 = Region("eu-west-1") ShenZhenFinance = Region("cn-shenzhen-finance-1") ShanghaiFinance = Region("cn-shanghai-finance-1") )
Constants of region definition
Variables ¶
View Source
var ValidRegions = []Region{ Hangzhou, Qingdao, Beijing, Shenzhen, Hongkong, Shanghai, Zhangjiakou, Huhehaote, USWest1, USEast1, APNorthEast1, APSouthEast1, APSouthEast2, APSouthEast3, APSouthEast5, APSouth1, MEEast1, EUCentral1, EUWest1, ShenZhenFinance, ShanghaiFinance, }
Functions ¶
This section is empty.
Types ¶
type AliyunClient ¶
type AliyunClient struct { Region Region RegionId string //In order to build ots table client, add accesskey and secretkey in aliyunclient temporarily. AccessKey string SecretKey string SecurityToken string OtsInstanceName string // contains filtered or unexported fields }
AliyunClient of aliyun
func (*AliyunClient) AccountId ¶
func (client *AliyunClient) AccountId() (string, error)
func (*AliyunClient) NewCommonRequest ¶
func (client *AliyunClient) NewCommonRequest(product string, apiVersion ApiVersion) *requests.CommonRequest
func (*AliyunClient) WithCdnClient ¶
func (client *AliyunClient) WithCdnClient(do func(*cdn.CdnClient) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithCenClient ¶
func (client *AliyunClient) WithCenClient(do func(*cbn.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithCloudApiClient ¶
func (client *AliyunClient) WithCloudApiClient(do func(*cloudapi.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithCmsClient ¶
func (client *AliyunClient) WithCmsClient(do func(*cms.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithCsClient ¶
func (client *AliyunClient) WithCsClient(do func(*cs.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithCsProjectClient ¶
func (client *AliyunClient) WithCsProjectClient(clusterId, endpoint string, clusterCerts cs.ClusterCerts, do func(*cs.ProjectClient) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithDataHubClient ¶
func (client *AliyunClient) WithDataHubClient(do func(*datahub.DataHub) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithDdsClient ¶
func (client *AliyunClient) WithDdsClient(do func(*dds.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithDnsClient ¶
func (client *AliyunClient) WithDnsClient(do func(*dns.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithDrdsClient ¶ added in v1.24.0
func (client *AliyunClient) WithDrdsClient(do func(*drds.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithEcsClient ¶
func (client *AliyunClient) WithEcsClient(do func(*ecs.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithEssClient ¶
func (client *AliyunClient) WithEssClient(do func(*ess.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithFcClient ¶
func (client *AliyunClient) WithFcClient(do func(*fc.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithKmsClient ¶
func (client *AliyunClient) WithKmsClient(do func(*kms.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithLogClient ¶
func (client *AliyunClient) WithLogClient(do func(*sls.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithMnsClient ¶
func (client *AliyunClient) WithMnsClient(do func(*ali_mns.MNSClient) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithMnsQueueManager ¶
func (client *AliyunClient) WithMnsQueueManager(do func(ali_mns.AliQueueManager) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithMnsSubscriptionManagerByTopicName ¶
func (client *AliyunClient) WithMnsSubscriptionManagerByTopicName(topicName string, do func(ali_mns.AliMNSTopic) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithMnsTopicManager ¶
func (client *AliyunClient) WithMnsTopicManager(do func(ali_mns.AliTopicManager) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithOssBucketByName ¶
func (*AliyunClient) WithOssClient ¶
func (client *AliyunClient) WithOssClient(do func(*oss.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithOtsClient ¶
func (client *AliyunClient) WithOtsClient(do func(*ots.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithPvtzClient ¶
func (client *AliyunClient) WithPvtzClient(do func(*pvtz.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithRamClient ¶
func (client *AliyunClient) WithRamClient(do func(ram.RamClientInterface) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithRdsClient ¶
func (client *AliyunClient) WithRdsClient(do func(*rds.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithRkvClient ¶
func (client *AliyunClient) WithRkvClient(do func(*r_kvstore.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithSlbClient ¶
func (client *AliyunClient) WithSlbClient(do func(*slb.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithStsClient ¶
func (client *AliyunClient) WithStsClient(do func(*sts.Client) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithTableStoreClient ¶
func (client *AliyunClient) WithTableStoreClient(instanceName string, do func(*tablestore.TableStoreClient) (interface{}, error)) (interface{}, error)
func (*AliyunClient) WithVpcClient ¶
func (client *AliyunClient) WithVpcClient(do func(*vpc.Client) (interface{}, error)) (interface{}, error)
type ApiVersion ¶
type ApiVersion string
type Config ¶
type Config struct { AccessKey string SecretKey string Region Region RegionId string SecurityToken string OtsInstanceName string LogEndpoint string AccountId string FcEndpoint string MNSEndpoint string DRDSEndpoint string }
Config of aliyun
type ServiceCode ¶
type ServiceCode string
Load endpoints from endpoints.xml or environment variables to meet specified application scenario, like private cloud.
Click to show internal directories.
Click to hide internal directories.