import "k8s.io/metrics/pkg/apis/external_metrics/v1beta1"
Package v1beta1 is the v1beta1 version of the external metrics API.
doc.go generated.pb.go register.go types.go zz_generated.conversion.go zz_generated.deepcopy.go
const GroupName = "external.metrics.k8s.io"
GroupName is the group name use in this package
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
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
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(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(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(in *ExternalMetricValue, out *externalmetrics.ExternalMetricValue, s conversion.Scope) error
Convert_v1beta1_ExternalMetricValue_To_external_metrics_ExternalMetricValue is an autogenerated conversion function.
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
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 (in *ExternalMetricValue) DeepCopy() *ExternalMetricValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValue.
func (in *ExternalMetricValue) DeepCopyInto(out *ExternalMetricValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExternalMetricValue) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new 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_Merge(src proto.Message)
func (m *ExternalMetricValue) XXX_Size() int
func (m *ExternalMetricValue) XXX_Unmarshal(b []byte) error
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 (in *ExternalMetricValueList) DeepCopy() *ExternalMetricValueList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValueList.
func (in *ExternalMetricValueList) DeepCopyInto(out *ExternalMetricValueList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExternalMetricValueList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new 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_Merge(src proto.Message)
func (m *ExternalMetricValueList) XXX_Size() int
func (m *ExternalMetricValueList) XXX_Unmarshal(b []byte) error
Package v1beta1 imports 15 packages (graph) and is imported by 6 packages. Updated 2019-08-29. Refresh now. Tools for package owners.