Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SyntheticMissing is a synthetic initial event for currently non-existent object. SyntheticMissing = k8swatch.EventType("SyntheticMissing") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceManagerAgent ¶
type ResourceManagerAgent interface { // Run starts the agents configuration monitoring loop. Run() error // UpdateNrtCR updates Node Resource Topology CRs using the given data. UpdateNrtCR(policy string, zones []*policyapi.TopologyZone) error }
ResourceManagerAgent is the interface exposed by the agent.
func NewResourceManagerAgent ¶
func NewResourceManagerAgent(setConfig SetConfigFn) (ResourceManagerAgent, error)
NewResourceManagerAgent creates a new instance of ResourceManagerAgent
type SetConfigFn ¶
SetConfigFn is used to activate an updated configuration.
Click to show internal directories.
Click to hide internal directories.