Help us shape the future of Go! Take the 2026 Go Developer Survey

anomalydetector

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Spark Application CRUD functions, for unit tests
	CreateSparkApplication   = controllerutil.CreateSparkApplication
	DeleteSparkApplication   = controllerutil.DeleteSparkApplication
	GetSparkApplication      = controllerutil.GetSparkApplication
	GetSparkMonitoringSvcDNS = controllerutil.GetSparkMonitoringSvcDNS
)

Functions

This section is empty.

Types

type AnomalyDetectorController

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

func NewAnomalyDetectorController

func NewAnomalyDetectorController(
	crdClient versioned.Interface,
	kubeClient kubernetes.Interface,
	taDetectorInformer crdv1a1informers.ThroughputAnomalyDetectorInformer,
) *AnomalyDetectorController

func (*AnomalyDetectorController) CreateThroughputAnomalyDetector

func (c *AnomalyDetectorController) CreateThroughputAnomalyDetector(namespace string, ThroughputAnomalyDetector *crdv1alpha1.ThroughputAnomalyDetector) (*crdv1alpha1.ThroughputAnomalyDetector, error)

func (*AnomalyDetectorController) DeleteThroughputAnomalyDetector

func (c *AnomalyDetectorController) DeleteThroughputAnomalyDetector(namespace, name string) error

func (*AnomalyDetectorController) GetThroughputAnomalyDetector

func (c *AnomalyDetectorController) GetThroughputAnomalyDetector(namespace, name string) (*crdv1alpha1.ThroughputAnomalyDetector, error)

func (*AnomalyDetectorController) IfTADexists added in v0.6.0

func (c *AnomalyDetectorController) IfTADexists(namespace, id string) error

func (*AnomalyDetectorController) ListThroughputAnomalyDetector

func (c *AnomalyDetectorController) ListThroughputAnomalyDetector(namespace string) ([]*crdv1alpha1.ThroughputAnomalyDetector, error)

func (*AnomalyDetectorController) Run

func (c *AnomalyDetectorController) Run(stopCh <-chan struct{})

Run will create defaultWorkers workers (go routines) which will process the Service events from the workqueue.

type NamespacedId

type NamespacedId struct {
	Namespace string
	Id        string
}

Jump to

Keyboard shortcuts

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