Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientWithAuthToken ¶
func ClientWithAuthToken(token string) core.ClientOption
ClientWithAuthToken sets the 'Authorization: Bearer <token>' header on every request.
func ClientWithBaseURL ¶
func ClientWithBaseURL(baseURL string) core.ClientOption
ClientWithBaseURL sets the client's base URL, overriding the default environment, if any.
func ClientWithHTTPClient ¶
func ClientWithHTTPClient(httpClient core.HTTPClient) core.ClientOption
ClientWithHTTPClient uses the given HTTPClient to issue all HTTP requests.
func ClientWithHTTPHeader ¶
func ClientWithHTTPHeader(httpHeader http.Header) core.ClientOption
ClientWithHTTPHeader adds the given http.Header to all requests issued by the client.
Types ¶
type Client ¶
type Client struct {
IssueTrigger *issuetrigger.Client
Attempt *attempt.Client
Bookmark *bookmark.Client
Destination *destination.Client
EventBulkRetry *eventbulkretry.Client
Event *event.Client
IgnoredEventBulkRetry *ignoredeventbulkretry.Client
Issue *issue.Client
Request *request.Client
RequestBulkRetry *requestbulkretry.Client
Source *source.Client
Notification *notification.Client
CustomDomain *customdomain.Client
Transformation *transformation.Client
Connection *connection.Client
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts ...core.ClientOption) *Client
Click to show internal directories.
Click to hide internal directories.