Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(hnd resourcemonitor.Handle, nrtupdaterArgs nrtupdater.Args, resourcemonitorArgs resourcemonitor.Args, rteArgs Args) error
Types ¶
type Args ¶
type Args struct { Debug bool ReferenceContainer *sharedcpuspool.ContainerIdent TopologyManagerPolicy string TopologyManagerScope string KubeletConfigFile string PodResourcesSocketPath string SleepInterval time.Duration PodReadinessEnable bool NotifyFilePath string MaxEventsPerTimeUnit int64 TimeUnitToLimitEvents time.Duration PrometheusMode string }
type ResourceObserver ¶ added in v0.3.2
type ResourceObserver struct { Infos <-chan nrtupdater.MonitorInfo // contains filtered or unexported fields }
func NewResourceObserver ¶ added in v0.3.2
func NewResourceObserver(hnd resourcemonitor.Handle, args resourcemonitor.Args) (*ResourceObserver, error)
func (*ResourceObserver) Run ¶ added in v0.3.2
func (rm *ResourceObserver) Run(eventsChan <-chan notification.Event, condChan chan<- v1.PodCondition)
func (*ResourceObserver) Stop ¶ added in v0.4.0
func (rm *ResourceObserver) Stop()
Click to show internal directories.
Click to hide internal directories.