Documentation
¶
Index ¶
- func HandleCreate(machines core.MachineStore) http.HandlerFunc
- func HandleDelete(machines core.MachineStore, runners core.RunnerStore, scheduler core.Scheduler) http.HandlerFunc
- func HandleFind(machines core.MachineStore) http.HandlerFunc
- func HandleList(machines core.MachineStore) http.HandlerFunc
- func HandleRunners(machines core.MachineStore, runners core.RunnerStore) http.HandlerFunc
- func HandleUpdate() http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCreate ¶
func HandleCreate(machines core.MachineStore) http.HandlerFunc
HandleCreate returns an http.HandlerFunc to create a new machine in the system.
func HandleDelete ¶
func HandleDelete( machines core.MachineStore, runners core.RunnerStore, scheduler core.Scheduler, ) http.HandlerFunc
HandleDelete returns an http.HandlerFunc that handles an http.Request to delete a machine entry from the datastore.
func HandleFind ¶
func HandleFind(machines core.MachineStore) http.HandlerFunc
HandleFind returns an http.HandlerFunc that writes json-encoded machine details to the response body.
func HandleList ¶
func HandleList(machines core.MachineStore) http.HandlerFunc
HandleList returns an http.HandlerFunc that processes http requests to list all machines of an organization.
func HandleRunners ¶
func HandleRunners(machines core.MachineStore, runners core.RunnerStore) http.HandlerFunc
HandleRunners returns an http.HandlerFunc that processes http requests to list all runners of a machine.
func HandleUpdate ¶
func HandleUpdate() http.HandlerFunc
HandleUpdate returns an http.HandlerFunc that processes http requests to update a machine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.