Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, edgeApplicationID int64, req *CreateRequest) (Response, error)
- func (c *Client) DeleteOrigins(ctx context.Context, edgeApplicationID int64, originKey string) error
- func (c *Client) Get(ctx context.Context, edgeApplicationID int64, originKey string) (GetResponse, error)
- func (c *Client) ListOrigins(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.OriginsResponse, error)
- func (c *Client) Update(ctx context.Context, edgeApplicationID int64, originKey string, ...) (Response, error)
- type CreateRequest
- type GetResponse
- type Response
- type UpdateRequest
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) DeleteOrigins ¶
func (*Client) ListOrigins ¶
func (c *Client) ListOrigins(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.OriginsResponse, error)
type CreateRequest ¶
type CreateRequest struct {
sdk.CreateOriginsRequest
}
type GetResponse ¶
type GetResponse interface { GetOriginId() int64 GetOriginKey() string GetName() string GetOriginType() string GetAddresses() []sdk.OriginsResultResponseAddresses GetOriginProtocolPolicy() string GetIsOriginRedirectionEnabled() bool GetHostHeader() string GetMethod() string GetOriginPath() string GetConnectionTimeout() int64 GetTimeoutBetweenBytes() int64 GetHmacAuthentication() bool GetHmacRegionName() string GetHmacAccessKey() string GetHmacSecretKey() string GetBucket() string GetPrefix() string }
type UpdateRequest ¶
type UpdateRequest struct {
sdk.PatchOriginsRequest
}
Click to show internal directories.
Click to hide internal directories.