Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the tools v1alpha1 API group +kubebuilder:object:generate=true +groupName=tools.swoll.criticalstack.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "tools.swoll.criticalstack.com", 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 Trace ¶
type Trace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TraceSpec `json:"spec,omitempty"` Status TraceStatus `json:"status,omitempty"` }
Trace is the Schema for the traces API +kubebuilder:printcolumn:name="Name",type=string,JSONPath=`.metadata.name` +kubebuilder:printcolumn:name="Job",type=string,JSONPath=`.status.job` +kubebuilder:printcolumn:name="Syscalls",type=string,JSONPath=`.spec.syscalls` +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state`
func (*Trace) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trace.
func (*Trace) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Trace) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TraceList ¶
type TraceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Trace `json:"items"` }
TraceList contains a list of Trace
func (*TraceList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceList.
func (*TraceList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TraceList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TraceSpec ¶
type TraceSpec struct { LabelSelector metav1.LabelSelector `json:"labelSelector,omitempty" yaml:"labelSelector,omitempty"` FieldSelector metav1.LabelSelector `json:"fieldSelector,omitempty" yaml:"fieldSelector,omitempty"` HostSelector []string `json:"hostSelector,omitempty" yaml:"hostSelector,omitempty"` Syscalls []string `json:"syscalls,omitempty" yaml:"syscalls,omitempty"` Duration metav1.Duration `json:"duration,omitempty" yaml:"duration,omitempty"` SampleRate int `json:"sampleRate,omitempty" yaml:"sampleRate,omitempty"` }
TraceSpec defines the desired state of Trace
func (*TraceSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceSpec.
func (*TraceSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TraceState ¶
type TraceState string
const ( TraceUnknown TraceState = "" TracePending TraceState = "Pending" TraceRunning TraceState = "Running" TraceComplete TraceState = "Complete" TraceFailed TraceState = "Failed" )
type TraceStatus ¶
type TraceStatus struct { State TraceState `json:"state,omitempty" yaml:"state,omitempty"` StartTime *metav1.Time `json:"startTime,omitempty" yaml:"startTime,omitempty"` CompletionTime *metav1.Time `json:"completionTime,omitempty" yaml:"completeTime,omitempty"` JobID string `json:"job,omitempty" yaml:"job,omitempty"` }
TraceStatus defines the observed state of Trace
func (*TraceStatus) DeepCopy ¶
func (in *TraceStatus) DeepCopy() *TraceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TraceStatus.
func (*TraceStatus) DeepCopyInto ¶
func (in *TraceStatus) DeepCopyInto(out *TraceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.