Documentation
¶
Index ¶
- type BackSourceAddress
- type BackSourceHeaderRule
- type BackSourceRule
- type BackSourceRuleCondition
- type BucketBackSourceConfiguration
- type BucketMonitorStatistic
- type BucketMonitorStatisticQueryResult
- type BucketSpaceStatistic
- type BucketSpaceStatisticQueryResult
- type CName
- type CNameInfo
- type CNameQueryResult
- type ICP
- type ImageExtensions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackSourceAddress ¶
type BackSourceAddress struct { /* 地址协议, 如http (Optional) */ Protocol *string `json:"protocol"` /* 域名 (Optional) */ HostName *string `json:"hostName"` /* 将前缀替换为指定的内容 (Optional) */ ReplaceKeyPrefixWith *string `json:"replaceKeyPrefixWith"` /* 将key替换为指定内容 (Optional) */ ReplaceKeyWith *string `json:"replaceKeyWith"` /* 将后缀替换为指定的内容 (Optional) */ ReplaceKeySuffixWith *string `json:"replaceKeySuffixWith"` }
type BackSourceHeaderRule ¶
type BackSourceHeaderRule struct { /* 是否允许所有的Http header (Optional) */ AllowAllHeaders *bool `json:"allowAllHeaders"` /* 允许的http header列表 (Optional) */ AllowHeaders []string `json:"allowHeaders"` /* 禁止的http header列表 (Optional) */ NotAllowHeaders []string `json:"notAllowHeaders"` /* 设置指定http header参数,类型为Map\<String, String> (Optional) */ SetHeaders *interface{} `json:"setHeaders"` }
type BackSourceRule ¶
type BackSourceRule struct { /* 回源类型 (Optional) */ BackSourceType *string `json:"backSourceType"` /* (Optional) */ Condition *BackSourceRuleCondition `json:"condition"` /* (Optional) */ Address *BackSourceAddress `json:"address"` /* 是否允许query String (Optional) */ AllowQueryString *bool `json:"allowQueryString"` /* 是否跟随重定向 (Optional) */ FollowRedirects *bool `json:"followRedirects"` /* (Optional) */ HeaderRule *BackSourceHeaderRule `json:"headerRule"` }
type BackSourceRuleCondition ¶
type BucketBackSourceConfiguration ¶
type BucketBackSourceConfiguration struct { /* 回源配置规则 (Optional) */ BackSourceRules []BackSourceRule `json:"backSourceRules"` }
type BucketMonitorStatistic ¶
type BucketMonitorStatisticQueryResult ¶
type BucketMonitorStatisticQueryResult struct { /* 查询结果总数 (Optional) */ TotalCount int `json:"totalCount"` /* bucket 统计列表 (Optional) */ QueryList []BucketMonitorStatistic `json:"queryList"` }
type BucketSpaceStatistic ¶
type BucketSpaceStatisticQueryResult ¶
type BucketSpaceStatisticQueryResult struct { /* 查询结果总数 (Optional) */ TotalCount int `json:"totalCount"` /* bucket 统计列表 (Optional) */ QueryList []BucketSpaceStatistic `json:"queryList"` }
type CName ¶
type CName struct { /* 自定义域名id (Optional) */ Id int `json:"id"` /* 用户pin (Optional) */ Pin string `json:"pin"` /* 源站域名 (Optional) */ OriginDomain string `json:"originDomain"` /* 自定义域名 (Optional) */ Cname string `json:"cname"` /* 自定义域名状态 (Optional) */ Status int `json:"status"` /* bucket name (Optional) */ BucketName string `json:"bucketName"` /* cname是否成功,1:已解析;0:未解析 (Optional) */ IsCName int `json:"isCName"` /* 创建时间 (Optional) */ CreateTime string `json:"createTime"` /* http版本,0:http,1:https (Optional) */ ProtoType int `json:"protoType"` }
type CNameQueryResult ¶
type ImageExtensions ¶
type ImageExtensions struct { /* 原图保护图像格式列表,符合固定XML格式,例如\<?xml version="1.0" encoding="UTF-8"?>\<Condition>\<Extension>jpg\</Extension>\</Condition> */ ImageExtensions string `json:"imageExtensions"` }
Source Files
¶
- BackSourceAddress.go
- BackSourceHeaderRule.go
- BackSourceRule.go
- BackSourceRuleCondition.go
- BucketBackSourceConfiguration.go
- BucketMonitorStatistic.go
- BucketMonitorStatisticQueryResult.go
- BucketSpaceStatistic.go
- BucketSpaceStatisticQueryResult.go
- CName.go
- CNameInfo.go
- CNameQueryResult.go
- ICP.go
- ImageExtensions.go
Click to show internal directories.
Click to hide internal directories.