Documentation
¶
Index ¶
- func CheckPageRow(c echo.Context) (page int, row int, err error)
- func GetHTTPRequest(URL string, username string, password string) ([]byte, error)
- func GetJSONRawBody(c echo.Context) (map[string]interface{}, error)
- func IsNotFoundError(err error) bool
- func ReturnErrorMsg(c echo.Context, msg string) error
- func ReturnInternalError(c echo.Context, err error, reason string) error
- func UrlDecode(text string) string
- func UrlEncode(text string) string
- func ValidateTaskClearOptions(opt model.TaskClearOption) error
- func WorkflowDagID(workflow *model.Workflow) string
- type ErrorResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHTTPRequest ¶ added in v0.4.1
func IsNotFoundError ¶ added in v0.5.1
func ValidateTaskClearOptions ¶ added in v0.3.1
func ValidateTaskClearOptions(opt model.TaskClearOption) error
func WorkflowDagID ¶ added in v0.5.1
WorkflowDagID returns the Airflow DAG ID for the given workflow. workflow_key is used when set (stable runtime key); falls back to workflow.ID for legacy records.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.