package
0.17.0
Repository: https://github.com/wndhydrnt/saturn-bot.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetTaskV1Request generates requests for GetTaskV1.
NewGetWorkV1Request generates requests for GetWorkV1.
NewListRunsV1Request generates requests for ListRunsV1.
NewListTasksV1Request generates requests for ListTasksV1.
NewReportWorkV1Request calls the generic ReportWorkV1 builder with application/json body.
NewReportWorkV1RequestWithBody generates requests for ReportWorkV1 with any type of body.
NewScheduleRunV1Request calls the generic ScheduleRunV1 builder with application/json body.
NewScheduleRunV1RequestWithBody generates requests for ScheduleRunV1 with any type of body.
ParseGetTaskV1ResponseBody parses an HTTP response from a GetTaskV1WithResponse call.
ParseGetWorkV1ResponseBody parses an HTTP response from a GetWorkV1WithResponse call.
ParseListRunsV1ResponseBody parses an HTTP response from a ListRunsV1WithResponse call.
ParseListTasksV1ResponseBody parses an HTTP response from a ListTasksV1WithResponse call.
ParseReportWorkV1ResponseBody parses an HTTP response from a ReportWorkV1WithResponse call.
ParseScheduleRunV1ResponseBody parses an HTTP response from a ScheduleRunV1WithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Constants

Defines values for RunV1Reason.
Defines values for RunV1Status.
Defines values for RunV1Status.
Defines values for RunV1Reason.
Defines values for RunV1Reason.
Defines values for RunV1Reason.
Defines values for ReportWorkV1ResponseResult.
Defines values for RunV1Status.
Defines values for RunV1Status.
Defines values for RunV1Reason.

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
Error defines model for Error.
GetTaskV1Response defines model for GetTaskV1Response.
No description provided by the author
GetWorkV1Response defines model for GetWorkV1Response.
No description provided by the author
GetWorkV1Task defines model for GetWorkV1Task.
ListOptions defines model for ListOptions.
ListRunsV1Params defines parameters for ListRunsV1.
ListRunsV1Response defines model for ListRunsV1Response.
No description provided by the author
ListTasksV1Response defines model for ListTasksV1Response.
No description provided by the author
Page defines model for Page.
ReportWorkV1Request defines model for ReportWorkV1Request.
ReportWorkV1Response defines model for ReportWorkV1Response.
No description provided by the author
ReportWorkV1TaskResult Result of the run of a task.
RunV1 defines model for RunV1.
ScheduleRunV1Request defines model for ScheduleRunV1Request.
ScheduleRunV1Response defines model for ScheduleRunV1Response.
No description provided by the author

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.

# Type aliases

ClientOption allows setting custom parameters during construction.
ReportWorkV1JSONRequestBody defines body for ReportWorkV1 for application/json ContentType.
ReportWorkV1ResponseResult Indicator of the result of the operation.
RequestEditorFn is the function signature for the RequestEditor callback function.
RunV1Reason defines model for RunV1.Reason.
RunV1Status defines model for RunV1.Status.
ScheduleRunV1JSONRequestBody defines body for ScheduleRunV1 for application/json ContentType.