Documentation ¶
Index ¶
Constants ¶
View Source
const ( OfflineDuration = 40 * time.Second KeyNodeProps = "nodeprops" KubeNodeName = "KUBE_NODE_NAME" )
Variables ¶
View Source
var (
ErrParseReport = errors.New("failed to parse report struct")
)
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface { Get() (m *v1.Node, err error) Desire(desired v1.Desire, override bool) (delta v1.Delta, err error) Report(reported v1.Report, override bool) (delta v1.Delta, err error) GetStats(ctx *routing.Context) (interface{}, error) GetNodeProperties(ctx *routing.Context) (interface{}, error) UpdateNodeProperties(ctx *routing.Context) (interface{}, error) }
Click to show internal directories.
Click to hide internal directories.