Documentation
¶
Index ¶
- type Client
- func (c *Client) GetCustomDomain(req *GetCustomDomainRequest) (*GetCustomDomainResponse, error)
- func (c *Client) GetCustomDomainWithContext(ctx context.Context, req *GetCustomDomainRequest) (*GetCustomDomainResponse, error)
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) UpdateCustomDomain(req *UpdateCustomDomainRequest) (*UpdateCustomDomainResponse, error)
- func (c *Client) UpdateCustomDomainWithContext(ctx context.Context, req *UpdateCustomDomainRequest) (*UpdateCustomDomainResponse, error)
- type CustomDomainAuthConfig
- type CustomDomainAuthJwtClaimTran
- type CustomDomainAuthJwtConfig
- type CustomDomainAuthJwtMatchModeConfig
- type CustomDomainAuthJwtTokenConfig
- type CustomDomainCertConfig
- type CustomDomainRecord
- type CustomDomainRouteConfig
- type CustomDomainRoutePathConfig
- type GetCustomDomainRequest
- type GetCustomDomainResponse
- type UpdateCustomDomainRequest
- type UpdateCustomDomainResponse
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) GetCustomDomain ¶
func (c *Client) GetCustomDomain(req *GetCustomDomainRequest) (*GetCustomDomainResponse, error)
func (*Client) GetCustomDomainWithContext ¶
func (c *Client) GetCustomDomainWithContext(ctx context.Context, req *GetCustomDomainRequest) (*GetCustomDomainResponse, error)
func (*Client) UpdateCustomDomain ¶
func (c *Client) UpdateCustomDomain(req *UpdateCustomDomainRequest) (*UpdateCustomDomainResponse, error)
func (*Client) UpdateCustomDomainWithContext ¶
func (c *Client) UpdateCustomDomainWithContext(ctx context.Context, req *UpdateCustomDomainRequest) (*UpdateCustomDomainResponse, error)
type CustomDomainAuthConfig ¶
type CustomDomainAuthConfig struct {
AuthType string `json:"authType"`
JwtConfig *CustomDomainAuthJwtConfig `json:"jwtConfig,omitempty"`
}
type CustomDomainAuthJwtConfig ¶
type CustomDomainAuthJwtConfig struct {
Jwks string `json:"jwks"`
TokenConfig *CustomDomainAuthJwtTokenConfig `json:"tokenConfig,omitempty"`
ClaimTrans []*CustomDomainAuthJwtClaimTran `json:"claimTrans,omitempty"`
MatchMode *CustomDomainAuthJwtMatchModeConfig `json:"matchMode,omitempty"`
}
type CustomDomainCertConfig ¶
type CustomDomainRecord ¶
type CustomDomainRecord struct {
DomainName string `json:"domainName"`
Protocol string `json:"protocol"`
AuthConfig *CustomDomainAuthConfig `json:"authConfig,omitempty"`
CertConfig *CustomDomainCertConfig `json:"certConfig,omitempty"`
RouteConfig *CustomDomainRouteConfig `json:"routeConfig,omitempty"`
DomainStatus string `json:"domainStatus"`
CnameValid bool `json:"cnameValid"`
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
}
type CustomDomainRouteConfig ¶
type CustomDomainRouteConfig struct {
Routes []*CustomDomainRoutePathConfig `json:"routes"`
}
type CustomDomainRoutePathConfig ¶
type CustomDomainRoutePathConfig struct {
EnableJwt int32 `json:"enableJwt"`
FunctionId int64 `json:"functionId"`
FunctionName string `json:"functionName"`
FunctionUniqueName string `json:"functionUniqueName"`
Methods []string `json:"methods"`
Path string `json:"path"`
Qualifier string `json:"qualifier,omitempty"`
}
type GetCustomDomainRequest ¶
type GetCustomDomainResponse ¶
type GetCustomDomainResponse struct {
ReturnObj *CustomDomainRecord `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*GetCustomDomainResponse) GetErrorMessage ¶
func (r *GetCustomDomainResponse) GetErrorMessage() string
func (*GetCustomDomainResponse) GetMessage ¶
func (r *GetCustomDomainResponse) GetMessage() string
func (*GetCustomDomainResponse) GetStatusCode ¶
func (r *GetCustomDomainResponse) GetStatusCode() string
type UpdateCustomDomainRequest ¶
type UpdateCustomDomainRequest struct {
RegionId *string `json:"-"`
DomainName *string `json:"domainName,omitempty"`
Protocol *string `json:"protocol,omitempty"`
AuthConfig *CustomDomainAuthConfig `json:"authConfig,omitempty"`
CertConfig *CustomDomainCertConfig `json:"certConfig,omitempty"`
RouteConfig *CustomDomainRouteConfig `json:"routeConfig,omitempty"`
}
type UpdateCustomDomainResponse ¶
type UpdateCustomDomainResponse struct {
ReturnObj *CustomDomainRecord `json:"returnObj,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCustomDomainResponse) GetError ¶
func (r *UpdateCustomDomainResponse) GetError() string
func (*UpdateCustomDomainResponse) GetErrorMessage ¶
func (r *UpdateCustomDomainResponse) GetErrorMessage() string
func (*UpdateCustomDomainResponse) GetMessage ¶
func (r *UpdateCustomDomainResponse) GetMessage() string
func (*UpdateCustomDomainResponse) GetStatusCode ¶
func (r *UpdateCustomDomainResponse) GetStatusCode() string
Click to show internal directories.
Click to hide internal directories.