analyzer

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnomalyAnalyzer added in v0.8.0

type AnomalyAnalyzer struct {
	// contains filtered or unexported fields
}

func NewAnomalyAnalyzer added in v0.8.0

func NewAnomalyAnalyzer(kubeClient kubernetes.Interface,
	nodeName string,
	podInformer coreinformers.PodInformer,
	nodeInformer coreinformers.NodeInformer,
	nodeQOSInformer v1alpha1.NodeQOSInformer,
	podQOSInformer v1alpha1.PodQOSInformer,
	actionInformer v1alpha1.AvoidanceActionInformer,
	stateChann chan map[string][]common.TimeSeries,
	noticeCh chan<- executor.AvoidanceExecutor,
) *AnomalyAnalyzer

NewAnomalyAnalyzer create an analyzer manager

func (*AnomalyAnalyzer) Analyze added in v0.8.0

func (s *AnomalyAnalyzer) Analyze(state map[string][]common.TimeSeries)

func (*AnomalyAnalyzer) Name added in v0.8.0

func (s *AnomalyAnalyzer) Name() string

func (*AnomalyAnalyzer) Run added in v0.8.0

func (s *AnomalyAnalyzer) Run(stop <-chan struct{})

func (*AnomalyAnalyzer) ToggleScheduleSetting added in v0.8.0

func (s *AnomalyAnalyzer) ToggleScheduleSetting(ae *executor.AvoidanceExecutor, toBeDisable bool)

type ObjectIdentity added in v0.8.0

type ObjectIdentity struct {
	Namespace  string
	APIVersion string
	Kind       string
	Name       string
	Labels     map[string]string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL