Documentation
¶
Overview ¶
A simple SDK client for Tencent Cloud EdgeOne Pages. API documentation: https://docs.edgeone.site/
Index ¶
- type Client
- func (c *Client) DescribePagesZoneCustomDomains(req *DescribePagesZoneCustomDomainsRequest) (*DescribePagesZoneCustomDomainsResponse, error)
- func (c *Client) DescribePagesZoneCustomDomainsWithContext(ctx context.Context, req *DescribePagesZoneCustomDomainsRequest) (*DescribePagesZoneCustomDomainsResponse, error)
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- type DescribePagesZoneCustomDomainsRequest
- type DescribePagesZoneCustomDomainsResponse
- type DnsVerification
- type FileVerification
- type NsVerification
- type Options
- type OptionsFunc
- type OwnershipVerification
- type PagesZoneCustomDomain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(optFns ...OptionsFunc) (*Client, error)
func (*Client) DescribePagesZoneCustomDomains ¶
func (c *Client) DescribePagesZoneCustomDomains(req *DescribePagesZoneCustomDomainsRequest) (*DescribePagesZoneCustomDomainsResponse, error)
func (*Client) DescribePagesZoneCustomDomainsWithContext ¶
func (c *Client) DescribePagesZoneCustomDomainsWithContext(ctx context.Context, req *DescribePagesZoneCustomDomainsRequest) (*DescribePagesZoneCustomDomainsResponse, error)
type DescribePagesZoneCustomDomainsRequest ¶
type DescribePagesZoneCustomDomainsRequest struct {
ProjectId *string `json:"ProjectId,omitempty"`
}
type DescribePagesZoneCustomDomainsResponse ¶
type DescribePagesZoneCustomDomainsResponse struct {
Data *struct {
Response *struct {
RequestId *string `json:"RequestId,omitempty"`
TotalCount *int64 `json:"TotalCount,omitempty"`
PagesDomains []*PagesZoneCustomDomain `json:"PagesDomains,omitempty"`
} `json:"Response,omitempty"`
} `json:"Data,omitempty"`
// contains filtered or unexported fields
}
func (*DescribePagesZoneCustomDomainsResponse) GetCode ¶
func (r *DescribePagesZoneCustomDomainsResponse) GetCode() int
func (*DescribePagesZoneCustomDomainsResponse) GetMessage ¶
func (r *DescribePagesZoneCustomDomainsResponse) GetMessage() string
type DnsVerification ¶
type DnsVerification = teo.DnsVerification
type FileVerification ¶
type FileVerification = teo.FileVerification
type NsVerification ¶
type NsVerification = teo.NsVerification
type OptionsFunc ¶
type OptionsFunc func(*Options)
func WithApiToken ¶
func WithApiToken(apiToken string) OptionsFunc
type OwnershipVerification ¶
type OwnershipVerification = teo.OwnershipVerification
type PagesZoneCustomDomain ¶
type PagesZoneCustomDomain struct {
Type *string `json:"Type,omitempty"`
Domain *string `json:"Domain,omitempty"`
ForceRedirectHTTPS *string `json:"ForceRedirectHTTPS,omitempty"`
RedirectStatusCode *int32 `json:"RedirectStatusCode,omitempty"`
CurrentCname *string `json:"CurrentCname,omitempty"`
MainDomain *string `json:"MainDomain,omitempty"`
Status *string `json:"Status,omitempty"`
OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitempty"`
Cname *string `json:"Cname,omitempty"`
Area *string `json:"Area,omitempty"`
ZoneId *string `json:"ZoneId,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.