v1

package
v0.0.0-...-d4d4b81 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the eventtracker v1 API group +kubebuilder:object:generate=true +groupName=eventtracker.litmuschaos.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "eventtracker.litmuschaos.io", Version: "v1"}

	// 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 Condition

type Condition struct {
	Key      string  `json:"key,omitempty"`
	Value    *string `json:"value,omitempty"`
	Operator string  `json:"operator,omitempty"`
}

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

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

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

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

type EventTrackerPolicy

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

	Spec     EventTrackerPolicySpec     `json:"spec,omitempty"`
	Statuses []EventTrackerPolicyStatus `json:"statuses,omitempty"`
}

EventTrackerPolicy is the Schema for the eventtrackerpolicies API

func (*EventTrackerPolicy) DeepCopy

func (in *EventTrackerPolicy) DeepCopy() *EventTrackerPolicy

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

func (*EventTrackerPolicy) DeepCopyInto

func (in *EventTrackerPolicy) DeepCopyInto(out *EventTrackerPolicy)

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

func (*EventTrackerPolicy) DeepCopyObject

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

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

type EventTrackerPolicyList

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

EventTrackerPolicyList contains a list of EventTrackerPolicy

func (*EventTrackerPolicyList) DeepCopy

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

func (*EventTrackerPolicyList) DeepCopyInto

func (in *EventTrackerPolicyList) DeepCopyInto(out *EventTrackerPolicyList)

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

func (*EventTrackerPolicyList) DeepCopyObject

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

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

type EventTrackerPolicySpec

type EventTrackerPolicySpec struct {
	ConditionType string      `json:"condition_type,omitempty"`
	Conditions    []Condition `json:"conditions,omitempty"`
}

EventTrackerPolicySpec defines the desired state of EventTrackerPolicy

func (*EventTrackerPolicySpec) DeepCopy

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

func (*EventTrackerPolicySpec) DeepCopyInto

func (in *EventTrackerPolicySpec) DeepCopyInto(out *EventTrackerPolicySpec)

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

type EventTrackerPolicyStatus

type EventTrackerPolicyStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	TimeStamp    string `json:"time_stamp,omitempty"`
	Resource     string `json:"resource,omitempty"`
	ResourceName string `json:"resource_name,omitempty"`
	Result       string `json:"result,omitempty"`
	WorkflowID   string `json:"workflow_id,omitempty"`
	IsTriggered  string `json:"is_triggered,omitempty"`
}

EventTrackerPolicyStatus defines the observed state of EventTrackerPolicy

func (*EventTrackerPolicyStatus) DeepCopy

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

func (*EventTrackerPolicyStatus) DeepCopyInto

func (in *EventTrackerPolicyStatus) DeepCopyInto(out *EventTrackerPolicyStatus)

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