jobs

package
v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func D2DJobHandler

func D2DJobHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

func ExtJsJobHandler

func ExtJsJobHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

func ExtJsJobRunHandler

func ExtJsJobRunHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

func ExtJsJobSingleHandler

func ExtJsJobSingleHandler(storeInstance *store.Store) func(http.ResponseWriter, *http.Request, map[string]string)

Types

type JobConfigResponse

type JobConfigResponse struct {
	Errors  map[string]string `json:"errors"`
	Message string            `json:"message"`
	Data    *store.Job        `json:"data"`
	Status  int               `json:"status"`
	Success bool              `json:"success"`
}

type JobRunResponse

type JobRunResponse struct {
	Errors  map[string]string `json:"errors"`
	Message string            `json:"message"`
	Data    string            `json:"data"`
	Status  int               `json:"status"`
	Success bool              `json:"success"`
}

type JobsResponse

type JobsResponse struct {
	Data   []store.Job `json:"data"`
	Digest string      `json:"digest"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL