Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsRecorder ¶
type MetricsRecorder interface {
Start()
}
MetricsRecorder interface for metrics
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents the hypervisor HTTP server
func NewServer ¶
func NewServer( ctx context.Context, deviceController framework.DeviceController, workerController framework.WorkerController, allocationController framework.WorkerAllocationController, metricsRecorder MetricsRecorder, backend framework.Backend, port int, ) *Server
NewServer creates a new hypervisor HTTP server
Click to show internal directories.
Click to hide internal directories.