Documentation ¶
Overview ¶
Package utils contains methods to support security, cache, and webhook functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJobServiceClient ¶
GetJobServiceClient returns the job service client instance.
Types ¶
type JobLogRespHandler ¶
type JobLogRespHandler struct {
// contains filtered or unexported fields
}
JobLogRespHandler handles the response from jobservice to show the log of a job
type ResponseHandler ¶
ResponseHandler provides utility to handle http response.
func NewJobLogRespHandler ¶
func NewJobLogRespHandler(apiHandler *api.BaseAPI) ResponseHandler
NewJobLogRespHandler ...
func NewStatusRespHandler ¶
func NewStatusRespHandler(sc int) ResponseHandler
NewStatusRespHandler ...
type StatusRespHandler ¶
type StatusRespHandler struct {
// contains filtered or unexported fields
}
StatusRespHandler handles the response to check if the status is expected, if not returns an error.
Click to show internal directories.
Click to hide internal directories.