v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "anomalydetector.theia.antrea.io"

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{
		Group:   GroupName,
		Version: "v1alpha1"}

	StatusResource = schema.GroupVersionResource{
		Group:    SchemeGroupVersion.Group,
		Version:  SchemeGroupVersion.Version,
		Resource: "throughputanomalydetectors"}
)
View Source
var (
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type ThroughputAnomalyDetector

type ThroughputAnomalyDetector struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Type                string                           `json:"jobType,omitempty"`
	StartInterval       metav1.Time                      `json:"startInterval,omitempty"`
	EndInterval         metav1.Time                      `json:"endInterval,omitempty"`
	ExecutorInstances   int                              `json:"executorInstances,omitempty"`
	DriverCoreRequest   string                           `json:"driverCoreRequest,omitempty"`
	DriverMemory        string                           `json:"driverMemory,omitempty"`
	ExecutorCoreRequest string                           `json:"executorCoreRequest,omitempty"`
	ExecutorMemory      string                           `json:"executorMemory,omitempty"`
	Status              ThroughputAnomalyDetectorStatus  `json:"status,omitempty"`
	Stats               []ThroughputAnomalyDetectorStats `json:"stats,omitempty"`
}

func (*ThroughputAnomalyDetector) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThroughputAnomalyDetector.

func (*ThroughputAnomalyDetector) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ThroughputAnomalyDetector) DeepCopyObject

func (in *ThroughputAnomalyDetector) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ThroughputAnomalyDetectorList

type ThroughputAnomalyDetectorList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ThroughputAnomalyDetector `json:"items"`
}

func (*ThroughputAnomalyDetectorList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThroughputAnomalyDetectorList.

func (*ThroughputAnomalyDetectorList) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ThroughputAnomalyDetectorList) DeepCopyObject

func (in *ThroughputAnomalyDetectorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ThroughputAnomalyDetectorStats

type ThroughputAnomalyDetectorStats struct {
	Id                       string `json:"id,omitempty"`
	SourceIP                 string `json:"sourceIP,omitempty"`
	SourceTransportPort      string `json:"sourceTransportPort,omitempty"`
	DestinationIP            string `json:"destinationIP,omitempty"`
	DestinationTransportPort string `json:"destinationTransportPort,omitempty"`
	FlowStartSeconds         string `json:"FlowStartSeconds,omitempty"`
	FlowEndSeconds           string `json:"FlowEndSeconds,omitempty"`
	Throughput               string `json:"Throughput,omitempty"`
	AlgoCalc                 string `json:"AlgoCalc,omitempty"`
	Anomaly                  string `json:"anomaly,omitempty"`
}

func (*ThroughputAnomalyDetectorStats) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThroughputAnomalyDetectorStats.

func (*ThroughputAnomalyDetectorStats) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ThroughputAnomalyDetectorStatus

type ThroughputAnomalyDetectorStatus struct {
	State            string      `json:"state,omitempty"`
	SparkApplication string      `json:"sparkApplication,omitempty"`
	CompletedStages  int         `json:"completedStages,omitempty"`
	TotalStages      int         `json:"totalStages,omitempty"`
	ErrorMsg         string      `json:"errorMsg,omitempty"`
	StartTime        metav1.Time `json:"startTime,omitempty"`
	EndTime          metav1.Time `json:"endTime,omitempty"`
}

func (*ThroughputAnomalyDetectorStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThroughputAnomalyDetectorStatus.

func (*ThroughputAnomalyDetectorStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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