Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the external metrics API.
Index ¶
- Constants
- Variables
- func Convert_external_metrics_ExternalMetricValueList_To_v1beta1_ExternalMetricValueList(in *externalmetrics.ExternalMetricValueList, out *ExternalMetricValueList, ...) error
- func Convert_external_metrics_ExternalMetricValue_To_v1beta1_ExternalMetricValue(in *externalmetrics.ExternalMetricValue, out *ExternalMetricValue, ...) error
- func Convert_v1beta1_ExternalMetricValueList_To_external_metrics_ExternalMetricValueList(in *ExternalMetricValueList, out *externalmetrics.ExternalMetricValueList, ...) error
- func Convert_v1beta1_ExternalMetricValue_To_external_metrics_ExternalMetricValue(in *ExternalMetricValue, out *externalmetrics.ExternalMetricValue, ...) error
- func RegisterConversions(s *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ExternalMetricValue
- func (in *ExternalMetricValue) DeepCopy() *ExternalMetricValue
- func (in *ExternalMetricValue) DeepCopyInto(out *ExternalMetricValue)
- func (in *ExternalMetricValue) DeepCopyObject() runtime.Object
- func (*ExternalMetricValue) Descriptor() ([]byte, []int)
- func (m *ExternalMetricValue) Marshal() (dAtA []byte, err error)
- func (m *ExternalMetricValue) MarshalTo(dAtA []byte) (int, error)
- func (m *ExternalMetricValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExternalMetricValue) ProtoMessage()
- func (m *ExternalMetricValue) Reset()
- func (m *ExternalMetricValue) Size() (n int)
- func (this *ExternalMetricValue) String() string
- func (m *ExternalMetricValue) Unmarshal(dAtA []byte) error
- func (m *ExternalMetricValue) XXX_DiscardUnknown()
- func (m *ExternalMetricValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalMetricValue) XXX_Merge(src proto.Message)
- func (m *ExternalMetricValue) XXX_Size() int
- func (m *ExternalMetricValue) XXX_Unmarshal(b []byte) error
- type ExternalMetricValueList
- func (in *ExternalMetricValueList) DeepCopy() *ExternalMetricValueList
- func (in *ExternalMetricValueList) DeepCopyInto(out *ExternalMetricValueList)
- func (in *ExternalMetricValueList) DeepCopyObject() runtime.Object
- func (*ExternalMetricValueList) Descriptor() ([]byte, []int)
- func (m *ExternalMetricValueList) Marshal() (dAtA []byte, err error)
- func (m *ExternalMetricValueList) MarshalTo(dAtA []byte) (int, error)
- func (m *ExternalMetricValueList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExternalMetricValueList) ProtoMessage()
- func (m *ExternalMetricValueList) Reset()
- func (m *ExternalMetricValueList) Size() (n int)
- func (this *ExternalMetricValueList) String() string
- func (m *ExternalMetricValueList) Unmarshal(dAtA []byte) error
- func (m *ExternalMetricValueList) XXX_DiscardUnknown()
- func (m *ExternalMetricValueList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalMetricValueList) XXX_Merge(src proto.Message)
- func (m *ExternalMetricValueList) XXX_Size() int
- func (m *ExternalMetricValueList) XXX_Unmarshal(b []byte) error
Constants ¶
const GroupName = "external.metrics.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // SchemeBuilder points to a list of functions added to Scheme. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_external_metrics_ExternalMetricValueList_To_v1beta1_ExternalMetricValueList ¶
func Convert_external_metrics_ExternalMetricValueList_To_v1beta1_ExternalMetricValueList(in *externalmetrics.ExternalMetricValueList, out *ExternalMetricValueList, s conversion.Scope) error
Convert_external_metrics_ExternalMetricValueList_To_v1beta1_ExternalMetricValueList is an autogenerated conversion function.
func Convert_external_metrics_ExternalMetricValue_To_v1beta1_ExternalMetricValue ¶
func Convert_external_metrics_ExternalMetricValue_To_v1beta1_ExternalMetricValue(in *externalmetrics.ExternalMetricValue, out *ExternalMetricValue, s conversion.Scope) error
Convert_external_metrics_ExternalMetricValue_To_v1beta1_ExternalMetricValue is an autogenerated conversion function.
func Convert_v1beta1_ExternalMetricValueList_To_external_metrics_ExternalMetricValueList ¶
func Convert_v1beta1_ExternalMetricValueList_To_external_metrics_ExternalMetricValueList(in *ExternalMetricValueList, out *externalmetrics.ExternalMetricValueList, s conversion.Scope) error
Convert_v1beta1_ExternalMetricValueList_To_external_metrics_ExternalMetricValueList is an autogenerated conversion function.
func Convert_v1beta1_ExternalMetricValue_To_external_metrics_ExternalMetricValue ¶
func Convert_v1beta1_ExternalMetricValue_To_external_metrics_ExternalMetricValue(in *ExternalMetricValue, out *externalmetrics.ExternalMetricValue, s conversion.Scope) error
Convert_v1beta1_ExternalMetricValue_To_external_metrics_ExternalMetricValue is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ExternalMetricValue ¶
type ExternalMetricValue struct { metav1.TypeMeta `json:",inline"` // the name of the metric MetricName string `json:"metricName" protobuf:"bytes,1,name=metricName"` // a set of labels that identify a single time series for the metric MetricLabels map[string]string `json:"metricLabels" protobuf:"bytes,2,rep,name=metricLabels"` // indicates the time at which the metrics were produced Timestamp metav1.Time `json:"timestamp" protobuf:"bytes,3,name=timestamp"` // indicates the window ([Timestamp-Window, Timestamp]) from // which these metrics were calculated, when returning rate // metrics calculated from cumulative metrics (or zero for // non-calculated instantaneous metrics). WindowSeconds *int64 `json:"window,omitempty" protobuf:"bytes,4,opt,name=window"` // the value of the metric Value resource.Quantity `json:"value" protobuf:"bytes,5,name=value"` }
ExternalMetricValue is a metric value for external metric A single metric value is identified by metric name and a set of string labels. For one metric there can be multiple values with different sets of labels.
func (*ExternalMetricValue) DeepCopy ¶
func (in *ExternalMetricValue) DeepCopy() *ExternalMetricValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValue.
func (*ExternalMetricValue) DeepCopyInto ¶
func (in *ExternalMetricValue) DeepCopyInto(out *ExternalMetricValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalMetricValue) DeepCopyObject ¶
func (in *ExternalMetricValue) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExternalMetricValue) Descriptor ¶
func (*ExternalMetricValue) Descriptor() ([]byte, []int)
func (*ExternalMetricValue) Marshal ¶
func (m *ExternalMetricValue) Marshal() (dAtA []byte, err error)
func (*ExternalMetricValue) MarshalTo ¶
func (m *ExternalMetricValue) MarshalTo(dAtA []byte) (int, error)
func (*ExternalMetricValue) MarshalToSizedBuffer ¶
func (m *ExternalMetricValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExternalMetricValue) ProtoMessage ¶
func (*ExternalMetricValue) ProtoMessage()
func (*ExternalMetricValue) Reset ¶
func (m *ExternalMetricValue) Reset()
func (*ExternalMetricValue) Size ¶
func (m *ExternalMetricValue) Size() (n int)
func (*ExternalMetricValue) String ¶
func (this *ExternalMetricValue) String() string
func (*ExternalMetricValue) Unmarshal ¶
func (m *ExternalMetricValue) Unmarshal(dAtA []byte) error
func (*ExternalMetricValue) XXX_DiscardUnknown ¶
func (m *ExternalMetricValue) XXX_DiscardUnknown()
func (*ExternalMetricValue) XXX_Marshal ¶
func (m *ExternalMetricValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalMetricValue) XXX_Merge ¶
func (m *ExternalMetricValue) XXX_Merge(src proto.Message)
func (*ExternalMetricValue) XXX_Size ¶
func (m *ExternalMetricValue) XXX_Size() int
func (*ExternalMetricValue) XXX_Unmarshal ¶
func (m *ExternalMetricValue) XXX_Unmarshal(b []byte) error
type ExternalMetricValueList ¶
type ExternalMetricValueList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // value of the metric matching a given set of labels Items []ExternalMetricValue `json:"items" protobuf:"bytes,2,rep,name=items"` }
ExternalMetricValueList is a list of values for a given metric for some set labels
func (*ExternalMetricValueList) DeepCopy ¶
func (in *ExternalMetricValueList) DeepCopy() *ExternalMetricValueList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValueList.
func (*ExternalMetricValueList) DeepCopyInto ¶
func (in *ExternalMetricValueList) DeepCopyInto(out *ExternalMetricValueList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ExternalMetricValueList) DeepCopyObject ¶
func (in *ExternalMetricValueList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ExternalMetricValueList) Descriptor ¶
func (*ExternalMetricValueList) Descriptor() ([]byte, []int)
func (*ExternalMetricValueList) Marshal ¶
func (m *ExternalMetricValueList) Marshal() (dAtA []byte, err error)
func (*ExternalMetricValueList) MarshalTo ¶
func (m *ExternalMetricValueList) MarshalTo(dAtA []byte) (int, error)
func (*ExternalMetricValueList) MarshalToSizedBuffer ¶
func (m *ExternalMetricValueList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExternalMetricValueList) ProtoMessage ¶
func (*ExternalMetricValueList) ProtoMessage()
func (*ExternalMetricValueList) Reset ¶
func (m *ExternalMetricValueList) Reset()
func (*ExternalMetricValueList) Size ¶
func (m *ExternalMetricValueList) Size() (n int)
func (*ExternalMetricValueList) String ¶
func (this *ExternalMetricValueList) String() string
func (*ExternalMetricValueList) Unmarshal ¶
func (m *ExternalMetricValueList) Unmarshal(dAtA []byte) error
func (*ExternalMetricValueList) XXX_DiscardUnknown ¶
func (m *ExternalMetricValueList) XXX_DiscardUnknown()
func (*ExternalMetricValueList) XXX_Marshal ¶
func (m *ExternalMetricValueList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalMetricValueList) XXX_Merge ¶
func (m *ExternalMetricValueList) XXX_Merge(src proto.Message)
func (*ExternalMetricValueList) XXX_Size ¶
func (m *ExternalMetricValueList) XXX_Size() int
func (*ExternalMetricValueList) XXX_Unmarshal ¶
func (m *ExternalMetricValueList) XXX_Unmarshal(b []byte) error