dispatchapi

package
v0.0.0-...-35541fa Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDispatchRoutes

func AddDispatchRoutes(mux *http.ServeMux, _ *serverops.Config, dispatchService dispatchservice.Service)

Types

type AssignRequest

type AssignRequest struct {
	LeaserID      string   `json:"leaserId"`
	LeaseDuration string   `json:"leaseDuration"`
	JobTypes      []string `json:"jobTypes"`
}

type JobUpdateRequest

type JobUpdateRequest struct {
	LeaserID string `json:"leaserId"`
}

Jump to

Keyboard shortcuts

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