Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIFakeIntakePayloadsJsonGETResponse ¶
type APIFakeIntakePayloadsJsonGETResponse struct {
Payloads []ParsedPayload `json:"payloads"`
}
type APIFakeIntakePayloadsRawGETResponse ¶
type APIFakeIntakePayloadsRawGETResponse struct {
Payloads []Payload `json:"payloads"`
}
type PARTaskResult ¶ added in v0.79.0
type PARTaskResult struct {
TaskID string `json:"task_id"`
Success bool `json:"success"`
Outputs map[string]interface{} `json:"outputs,omitempty"`
ErrorCode int `json:"error_code,omitempty"`
ErrorDetails string `json:"error_details,omitempty"`
}
PARTaskResult captures what the Private Action Runner published for a completed task.
type ParsedPayload ¶
type ResponseOverride ¶ added in v0.51.0
type ResponseOverride struct {
Endpoint string `json:"endpoint"`
StatusCode int `json:"status_code"`
ContentType string `json:"content_type"`
Method string `json:"method"`
Body []byte `json:"body"`
}
ResponseOverride is a hardcoded response for requests to the given endpoint
Click to show internal directories.
Click to hide internal directories.