v1alpha1

package
v0.0.0-...-1ddc5c8 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the fault v1alpha1 API group +kubebuilder:object:generate=true +groupName=fault.workflow.dcn.ssu.ac.kr

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "fault.workflow.dcn.ssu.ac.kr", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type FaultDetection

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

	Spec   FaultDetectionSpec   `json:"spec,omitempty"`
	Status FaultDetectionStatus `json:"status,omitempty"`
}

FaultDetection is the Schema for the faultdetections API

func (*FaultDetection) DeepCopy

func (in *FaultDetection) DeepCopy() *FaultDetection

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

func (*FaultDetection) DeepCopyInto

func (in *FaultDetection) DeepCopyInto(out *FaultDetection)

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

func (*FaultDetection) DeepCopyObject

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

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

type FaultDetectionList

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

FaultDetectionList contains a list of FaultDetection

func (*FaultDetectionList) DeepCopy

func (in *FaultDetectionList) DeepCopy() *FaultDetectionList

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

func (*FaultDetectionList) DeepCopyInto

func (in *FaultDetectionList) DeepCopyInto(out *FaultDetectionList)

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

func (*FaultDetectionList) DeepCopyObject

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

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

type FaultDetectionSpec

type FaultDetectionSpec struct {
	ClusterName string            `json:"clusterName,omitempty"` // Target cluster
	Method      string            `json:"method,omitempty"`      // Detection method: rule-based or ml-based
	Metrics     []string          `json:"metrics,omitempty"`     // List of metrics to monitor
	Thresholds  map[string]string `json:"thresholds,omitempty"`  // Threshold values for metrics
}

FaultDetectionSpec defines the desired state of FaultDetection

func (*FaultDetectionSpec) DeepCopy

func (in *FaultDetectionSpec) DeepCopy() *FaultDetectionSpec

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

func (*FaultDetectionSpec) DeepCopyInto

func (in *FaultDetectionSpec) DeepCopyInto(out *FaultDetectionSpec)

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

type FaultDetectionStatus

type FaultDetectionStatus struct {
	State       string      `json:"state,omitempty"`       // Current state of detection
	LastUpdated metav1.Time `json:"lastUpdated,omitempty"` // Last updated timestamp
	Message     string      `json:"message,omitempty"`     // Status message
}

FaultDetectionStatus defines the observed state of FaultDetection

func (*FaultDetectionStatus) DeepCopy

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

func (*FaultDetectionStatus) DeepCopyInto

func (in *FaultDetectionStatus) DeepCopyInto(out *FaultDetectionStatus)

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