machines

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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