Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceManager ¶
type ResourceManager interface { // Start starts the resource manager. Start() error // Stop stops the resource manager. Stop() // SetConfig dynamically updates the resource manager configuration. SetConfig(*config.RawConfig) error // SetAdjustment dynamically updates external adjustments. SetAdjustment(*config.Adjustment) map[string]error // SendEvent sends an event to be processed by the resource manager. SendEvent(event interface{}) error // Add-ons for testing. ResourceManagerTestAPI }
ResourceManager is the interface we expose for controlling the CRI resource manager.
func NewResourceManager ¶
func NewResourceManager() (ResourceManager, error)
NewResourceManager creates a new ResourceManager instance.
type ResourceManagerTestAPI ¶
type ResourceManagerTestAPI interface { }
ResourceManagerTestAPI is dummy if we're compiling without test build flag.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.