cluster

package
v0.6.62 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(setup Setupper, logger *shared.Logger) *Handler

func (*Handler) SetupCluster

func (h *Handler) SetupCluster(w http.ResponseWriter, r *http.Request)

type Setupper

type Setupper interface {
	Setup(clusterID string, memoryMB int, cpuMillicores int) error
}

Setupper creates or updates the per-cluster cgroup slice on this node.

Jump to

Keyboard shortcuts

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