Documentation
¶
Index ¶
- type Action
- type DeleteRunnerReq
- type Handler
- func (h *Handler) DeleteRunner(ctx *gin.Context, req DeleteRunnerReq) (ginx.Result, error)
- func (h *Handler) ListRunner(ctx *gin.Context, req ListRunnerReq) (ginx.Result, error)
- func (h *Handler) ListTags(ctx *gin.Context) (ginx.Result, error)
- func (h *Handler) PrivateRoutes(server *gin.Engine)
- func (h *Handler) Register(ctx *gin.Context, req RegisterRunnerReq) (ginx.Result, error)
- func (h *Handler) UpdateRunner(ctx *gin.Context, req UpdateRunnerReq) (ginx.Result, error)
- type ListRunnerReq
- type Page
- type RegisterRunnerReq
- type RetrieveRunnerTags
- type RetrieveWorkers
- type Runner
- type RunnerTags
- type UpdateRunnerReq
- type Variables
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteRunnerReq ¶
type DeleteRunnerReq struct {
Id int64 `json:"id"`
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) DeleteRunner ¶
func (*Handler) ListRunner ¶
func (*Handler) PrivateRoutes ¶ added in v1.3.0
func (*Handler) UpdateRunner ¶
type ListRunnerReq ¶
type ListRunnerReq struct {
Page
}
type RegisterRunnerReq ¶
type RetrieveRunnerTags ¶
type RetrieveRunnerTags struct {
RunnerTags []RunnerTags `json:"runner_tags"`
}
type RetrieveWorkers ¶
type RunnerTags ¶
type UpdateRunnerReq ¶
type UpdateRunnerReq struct {
Id int64 `json:"id"`
Name string `json:"name"`
CodebookUid string `json:"codebook_uid"`
CodebookSecret string `json:"codebook_secret"`
WorkerName string `json:"worker_name"`
Tags []string `json:"tags"`
Desc string `json:"desc"`
Variables []Variables `json:"variables"`
}
Click to show internal directories.
Click to hide internal directories.