Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the monitoring v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:defaulter-gen=TypeMeta +groupName=metrics.tekton.dev
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ByStatement
- type Metric
- type MetricDimensionRef
- type MetricGaugeMatch
- type MetricHistogramDuration
- type PipelineMonitor
- type PipelineMonitorList
- type PipelineMonitorSpec
- type PipelineMonitorStatus
- type PipelineRunMonitor
- type PipelineRunMonitorList
- type PipelineRunMonitorSpec
- type PipelineRunMonitorStatus
- type RunDimensions
- type TaskMonitor
- type TaskMonitorList
- type TaskMonitorSpec
- type TaskMonitorStatus
- type TaskRunMonitor
- type TaskRunMonitorList
- type TaskRunMonitorSpec
- type TaskRunMonitorStatus
Constants ¶
This section is empty.
Variables ¶
var (
// AddToScheme adds Build types to the scheme.
AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: monitoring.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ByStatement ¶
type ByStatement struct {
MetricDimensionRef `json:",inline"`
}
func (*ByStatement) DeepCopy ¶
func (in *ByStatement) DeepCopy() *ByStatement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ByStatement.
func (*ByStatement) DeepCopyInto ¶
func (in *ByStatement) DeepCopyInto(out *ByStatement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Metric ¶
type Metric struct { Type string `json:"type"` Name string `json:"name"` By []ByStatement `json:"by,omitempty"` Duration *MetricHistogramDuration `json:"duration,omitempty"` Match *MetricGaugeMatch `json:"match,omitempty"` }
Metric represents the specification of a set of metrics.
func (*Metric) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metric.
func (*Metric) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricDimensionRef ¶
type MetricDimensionRef struct { Condition *string `json:"condition,omitempty"` Param *string `json:"param,omitempty"` Label *string `json:"label,omitempty"` }
func (*MetricDimensionRef) DeepCopy ¶
func (in *MetricDimensionRef) DeepCopy() *MetricDimensionRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricDimensionRef.
func (*MetricDimensionRef) DeepCopyInto ¶
func (in *MetricDimensionRef) DeepCopyInto(out *MetricDimensionRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MetricDimensionRef) Key ¶
func (t *MetricDimensionRef) Key() (string, error)
func (*MetricDimensionRef) Value ¶
func (t *MetricDimensionRef) Value(runDimentions *RunDimensions) (string, error)
type MetricGaugeMatch ¶
type MetricGaugeMatch struct { Key MetricDimensionRef `json:"key"` Operator metav1.LabelSelectorOperator `json:"operator"` Values []string `json:"values"` }
func (*MetricGaugeMatch) DeepCopy ¶
func (in *MetricGaugeMatch) DeepCopy() *MetricGaugeMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricGaugeMatch.
func (*MetricGaugeMatch) DeepCopyInto ¶
func (in *MetricGaugeMatch) DeepCopyInto(out *MetricGaugeMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricHistogramDuration ¶
func (*MetricHistogramDuration) DeepCopy ¶
func (in *MetricHistogramDuration) DeepCopy() *MetricHistogramDuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricHistogramDuration.
func (*MetricHistogramDuration) DeepCopyInto ¶
func (in *MetricHistogramDuration) DeepCopyInto(out *MetricHistogramDuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineMonitor ¶
type PipelineMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PipelineMonitorSpec `json:"spec"` Status PipelineMonitorStatus `json:"status"` }
PipelineMonitor ... +k8s:openapi-gen=true
func (*PipelineMonitor) DeepCopy ¶
func (in *PipelineMonitor) DeepCopy() *PipelineMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineMonitor.
func (*PipelineMonitor) DeepCopyInto ¶
func (in *PipelineMonitor) DeepCopyInto(out *PipelineMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineMonitor) DeepCopyObject ¶
func (in *PipelineMonitor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineMonitorList ¶
type PipelineMonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PipelineMonitor `json:"items"` }
PipelineMonitorList ...
func (*PipelineMonitorList) DeepCopy ¶
func (in *PipelineMonitorList) DeepCopy() *PipelineMonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineMonitorList.
func (*PipelineMonitorList) DeepCopyInto ¶
func (in *PipelineMonitorList) DeepCopyInto(out *PipelineMonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineMonitorList) DeepCopyObject ¶
func (in *PipelineMonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineMonitorSpec ¶
type PipelineMonitorSpec struct { PipelineName string `json:"pipelineName"` Metrics []Metric `json:"metrics"` }
PipelineMonitorSpec ...
func (*PipelineMonitorSpec) DeepCopy ¶
func (in *PipelineMonitorSpec) DeepCopy() *PipelineMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineMonitorSpec.
func (*PipelineMonitorSpec) DeepCopyInto ¶
func (in *PipelineMonitorSpec) DeepCopyInto(out *PipelineMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineMonitorStatus ¶
PipelineMonitorStatus
func (*PipelineMonitorStatus) DeepCopy ¶
func (in *PipelineMonitorStatus) DeepCopy() *PipelineMonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineMonitorStatus.
func (*PipelineMonitorStatus) DeepCopyInto ¶
func (in *PipelineMonitorStatus) DeepCopyInto(out *PipelineMonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineRunMonitor ¶
type PipelineRunMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PipelineRunMonitorSpec `json:"spec"` Status PipelineRunMonitorStatus `json:"status"` }
PipelineRunMonitor ... +k8s:openapi-gen=true
func (*PipelineRunMonitor) DeepCopy ¶
func (in *PipelineRunMonitor) DeepCopy() *PipelineRunMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineRunMonitor.
func (*PipelineRunMonitor) DeepCopyInto ¶
func (in *PipelineRunMonitor) DeepCopyInto(out *PipelineRunMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineRunMonitor) DeepCopyObject ¶
func (in *PipelineRunMonitor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineRunMonitorList ¶
type PipelineRunMonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PipelineRunMonitor `json:"items"` }
PipelineRunMonitorList ...
func (*PipelineRunMonitorList) DeepCopy ¶
func (in *PipelineRunMonitorList) DeepCopy() *PipelineRunMonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineRunMonitorList.
func (*PipelineRunMonitorList) DeepCopyInto ¶
func (in *PipelineRunMonitorList) DeepCopyInto(out *PipelineRunMonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PipelineRunMonitorList) DeepCopyObject ¶
func (in *PipelineRunMonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PipelineRunMonitorSpec ¶
type PipelineRunMonitorSpec struct { Selector metav1.LabelSelector `json:"selector"` Metrics []Metric `json:"metrics"` }
PipelineRunMonitorSpec ...
func (*PipelineRunMonitorSpec) DeepCopy ¶
func (in *PipelineRunMonitorSpec) DeepCopy() *PipelineRunMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineRunMonitorSpec.
func (*PipelineRunMonitorSpec) DeepCopyInto ¶
func (in *PipelineRunMonitorSpec) DeepCopyInto(out *PipelineRunMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineRunMonitorStatus ¶
PipelineRunMonitorStatus
func (*PipelineRunMonitorStatus) DeepCopy ¶
func (in *PipelineRunMonitorStatus) DeepCopy() *PipelineRunMonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineRunMonitorStatus.
func (*PipelineRunMonitorStatus) DeepCopyInto ¶
func (in *PipelineRunMonitorStatus) DeepCopyInto(out *PipelineRunMonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunDimensions ¶
type RunDimensions struct { Resource string Name string Namespace string IsDeleted bool Status duckv1.Status Labels map[string]string Params pipelinev1beta1.Params Object runtime.Object }
func (*RunDimensions) GetId ¶
func (r *RunDimensions) GetId() string
type TaskMonitor ¶
type TaskMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TaskMonitorSpec `json:"spec"` Status TaskMonitorStatus `json:"status"` }
TaskMonitor ... +k8s:openapi-gen=true
func (*TaskMonitor) DeepCopy ¶
func (in *TaskMonitor) DeepCopy() *TaskMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskMonitor.
func (*TaskMonitor) DeepCopyInto ¶
func (in *TaskMonitor) DeepCopyInto(out *TaskMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskMonitor) DeepCopyObject ¶
func (in *TaskMonitor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskMonitorList ¶
type TaskMonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TaskMonitor `json:"items"` }
TaskMonitorList ...
func (*TaskMonitorList) DeepCopy ¶
func (in *TaskMonitorList) DeepCopy() *TaskMonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskMonitorList.
func (*TaskMonitorList) DeepCopyInto ¶
func (in *TaskMonitorList) DeepCopyInto(out *TaskMonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskMonitorList) DeepCopyObject ¶
func (in *TaskMonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskMonitorSpec ¶
TaskMonitorSpec ...
func (*TaskMonitorSpec) DeepCopy ¶
func (in *TaskMonitorSpec) DeepCopy() *TaskMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskMonitorSpec.
func (*TaskMonitorSpec) DeepCopyInto ¶
func (in *TaskMonitorSpec) DeepCopyInto(out *TaskMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskMonitorStatus ¶
TaskMonitorStatus
func (*TaskMonitorStatus) DeepCopy ¶
func (in *TaskMonitorStatus) DeepCopy() *TaskMonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskMonitorStatus.
func (*TaskMonitorStatus) DeepCopyInto ¶
func (in *TaskMonitorStatus) DeepCopyInto(out *TaskMonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskRunMonitor ¶
type TaskRunMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TaskRunMonitorSpec `json:"spec"` Status TaskRunMonitorStatus `json:"status"` }
TaskRunMonitor ... +k8s:openapi-gen=true
func (*TaskRunMonitor) DeepCopy ¶
func (in *TaskRunMonitor) DeepCopy() *TaskRunMonitor
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRunMonitor.
func (*TaskRunMonitor) DeepCopyInto ¶
func (in *TaskRunMonitor) DeepCopyInto(out *TaskRunMonitor)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskRunMonitor) DeepCopyObject ¶
func (in *TaskRunMonitor) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskRunMonitorList ¶
type TaskRunMonitorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []TaskRunMonitor `json:"items"` }
TaskRunMonitorList ...
func (*TaskRunMonitorList) DeepCopy ¶
func (in *TaskRunMonitorList) DeepCopy() *TaskRunMonitorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRunMonitorList.
func (*TaskRunMonitorList) DeepCopyInto ¶
func (in *TaskRunMonitorList) DeepCopyInto(out *TaskRunMonitorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TaskRunMonitorList) DeepCopyObject ¶
func (in *TaskRunMonitorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TaskRunMonitorSpec ¶
type TaskRunMonitorSpec struct { Selector metav1.LabelSelector `json:"selector"` Metrics []Metric `json:"metrics"` }
TaskRunMonitorSpec ...
func (*TaskRunMonitorSpec) DeepCopy ¶
func (in *TaskRunMonitorSpec) DeepCopy() *TaskRunMonitorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRunMonitorSpec.
func (*TaskRunMonitorSpec) DeepCopyInto ¶
func (in *TaskRunMonitorSpec) DeepCopyInto(out *TaskRunMonitorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskRunMonitorStatus ¶
TaskRunMonitorStatus
func (*TaskRunMonitorStatus) DeepCopy ¶
func (in *TaskRunMonitorStatus) DeepCopy() *TaskRunMonitorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskRunMonitorStatus.
func (*TaskRunMonitorStatus) DeepCopyInto ¶
func (in *TaskRunMonitorStatus) DeepCopyInto(out *TaskRunMonitorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.