Documentation ¶
Index ¶
Constants ¶
View Source
const (
SocketDisabled = "disabled"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adjustment ¶ added in v0.4.0
type Adjustment struct { // Adjustments contains all adjustment CRDs for this node. Adjustments map[string]*extapi.AdjustmentSpec }
Adjustment represents external adjustments for this node.
type RawConfig ¶
type RawConfig struct { // NodeName is the node name the agent used to acquire configuration. NodeName string // Data is the raw ConfigMap data for this node. Data map[string]string }
RawConfig represents the resource manager config data in unparsed form, as received from the agent.
type Server ¶
Server is the interface for our gRPC server.
func NewConfigServer ¶
func NewConfigServer(configCb SetConfigCb, adjustmentCb SetAdjustmentCb) (Server, error)
NewConfigServer creates new Server instance.
type SetAdjustmentCb ¶ added in v0.4.0
type SetAdjustmentCb func(*Adjustment) map[string]error
SetAdjustmentCb is a callback function for a SetAdjustment request.
type SetConfigCb ¶
SetConfigCb is a callback function for a SetConfig request.
Click to show internal directories.
Click to hide internal directories.