Documentation
¶
Index ¶
- type Client
- func (c *Client) GetHttpsCertificateManager(certificateId string) (*GetHttpsCertificateManagerResponse, error)
- func (c *Client) GetHttpsCertificateManagerWithContext(ctx context.Context, certificateId string) (*GetHttpsCertificateManagerResponse, error)
- func (c *Client) GetHttpsServiceManager(domain string) (*GetHttpsServiceManagerResponse, error)
- func (c *Client) GetHttpsServiceManagerWithContext(ctx context.Context, domain string) (*GetHttpsServiceManagerResponse, error)
- func (c *Client) MigrateHttpsDomain(req *MigrateHttpsDomainRequest) (*MigrateHttpsDomainResponse, error)
- func (c *Client) MigrateHttpsDomainWithContext(ctx context.Context, req *MigrateHttpsDomainRequest) (*MigrateHttpsDomainResponse, error)
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) UpdateHttpsCertificateManager(req *UpdateHttpsCertificateManagerRequest) (*UpdateHttpsCertificateManagerResponse, error)
- func (c *Client) UpdateHttpsCertificateManagerWithContext(ctx context.Context, req *UpdateHttpsCertificateManagerRequest) (*UpdateHttpsCertificateManagerResponse, error)
- func (c *Client) UploadHttpsCertificate(req *UploadHttpsCertificateRequest) (*UploadHttpsCertificateResponse, error)
- func (c *Client) UploadHttpsCertificateWithContext(ctx context.Context, req *UploadHttpsCertificateRequest) (*UploadHttpsCertificateResponse, error)
- type GetHttpsCertificateManagerResponse
- type GetHttpsServiceManagerResponse
- type HttpsCertificateManagerDomain
- type HttpsServiceManagerDomain
- type HttpsServiceManagerDomainValidity
- type MigrateHttpsDomainRequest
- type MigrateHttpsDomainResponse
- type UpdateHttpsCertificateManagerRequest
- type UpdateHttpsCertificateManagerResponse
- type UploadHttpsCertificateRequest
- type UploadHttpsCertificateResponse
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 (*Client) GetHttpsCertificateManager ¶
func (c *Client) GetHttpsCertificateManager(certificateId string) (*GetHttpsCertificateManagerResponse, error)
func (*Client) GetHttpsCertificateManagerWithContext ¶
func (*Client) GetHttpsServiceManager ¶
func (c *Client) GetHttpsServiceManager(domain string) (*GetHttpsServiceManagerResponse, error)
func (*Client) GetHttpsServiceManagerWithContext ¶
func (*Client) MigrateHttpsDomain ¶
func (c *Client) MigrateHttpsDomain(req *MigrateHttpsDomainRequest) (*MigrateHttpsDomainResponse, error)
func (*Client) MigrateHttpsDomainWithContext ¶
func (c *Client) MigrateHttpsDomainWithContext(ctx context.Context, req *MigrateHttpsDomainRequest) (*MigrateHttpsDomainResponse, error)
func (*Client) UpdateHttpsCertificateManager ¶
func (c *Client) UpdateHttpsCertificateManager(req *UpdateHttpsCertificateManagerRequest) (*UpdateHttpsCertificateManagerResponse, error)
func (*Client) UpdateHttpsCertificateManagerWithContext ¶
func (c *Client) UpdateHttpsCertificateManagerWithContext(ctx context.Context, req *UpdateHttpsCertificateManagerRequest) (*UpdateHttpsCertificateManagerResponse, error)
func (*Client) UploadHttpsCertificate ¶
func (c *Client) UploadHttpsCertificate(req *UploadHttpsCertificateRequest) (*UploadHttpsCertificateResponse, error)
func (*Client) UploadHttpsCertificateWithContext ¶
func (c *Client) UploadHttpsCertificateWithContext(ctx context.Context, req *UploadHttpsCertificateRequest) (*UploadHttpsCertificateResponse, error)
type GetHttpsCertificateManagerResponse ¶
type GetHttpsCertificateManagerResponse struct {
Data *struct {
AuthenticateNum int32 `json:"authenticate_num"`
AuthenticateDomains []string `json:"authenticate_domain"`
Domains []HttpsCertificateManagerDomain `json:"domains"`
// contains filtered or unexported fields
} `json:"data,omitempty"`
// contains filtered or unexported fields
}
type GetHttpsServiceManagerResponse ¶
type GetHttpsServiceManagerResponse struct {
Data *struct {
Status int32 `json:"status"`
Domains []HttpsServiceManagerDomain `json:"result"`
// contains filtered or unexported fields
} `json:"data,omitempty"`
// contains filtered or unexported fields
}
type HttpsServiceManagerDomain ¶
type HttpsServiceManagerDomain struct {
CertificateId string `json:"certificate_id"`
CommonName string `json:"commonName"`
Https bool `json:"https"`
ForceHttps bool `json:"force_https"`
PaymentType string `json:"payment_type"`
DomainType string `json:"domain_type"`
Validity HttpsServiceManagerDomainValidity `json:"validity"`
}
type MigrateHttpsDomainResponse ¶
type MigrateHttpsDomainResponse struct {
Data *struct {
Status bool `json:"status"`
// contains filtered or unexported fields
} `json:"data,omitempty"`
// contains filtered or unexported fields
}
type UpdateHttpsCertificateManagerResponse ¶
type UpdateHttpsCertificateManagerResponse struct {
Data *struct {
Status bool `json:"status"`
// contains filtered or unexported fields
} `json:"data,omitempty"`
// contains filtered or unexported fields
}
type UploadHttpsCertificateResponse ¶
type UploadHttpsCertificateResponse struct {
Data *struct {
Status int32 `json:"status"`
Result struct {
CertificateId string `json:"certificate_id"`
CommonName string `json:"commonName"`
Serial string `json:"serial"`
} `json:"result"`
// contains filtered or unexported fields
} `json:"data,omitempty"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.