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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
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 ¶
func (in *EventTrackerPolicyList) DeepCopy() *EventTrackerPolicyList
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 ¶
func (in *EventTrackerPolicySpec) DeepCopy() *EventTrackerPolicySpec
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 ¶
func (in *EventTrackerPolicyStatus) DeepCopy() *EventTrackerPolicyStatus
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.