metrics: k8s.io/metrics/pkg/apis/external_metrics/v1beta1 Index | Files

package v1beta1

import "k8s.io/metrics/pkg/apis/external_metrics/v1beta1"

Package v1beta1 is the v1beta1 version of the external metrics API.

Index

Package Files

doc.go generated.pb.go register.go types.go zz_generated.conversion.go zz_generated.deepcopy.go

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")
)
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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type ExternalMetricValue Uses

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 Uses

func (in *ExternalMetricValue) DeepCopy() *ExternalMetricValue

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValue.

func (*ExternalMetricValue) DeepCopyInto Uses

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 Uses

func (in *ExternalMetricValue) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ExternalMetricValue) Descriptor Uses

func (*ExternalMetricValue) Descriptor() ([]byte, []int)

func (*ExternalMetricValue) Marshal Uses

func (m *ExternalMetricValue) Marshal() (dAtA []byte, err error)

func (*ExternalMetricValue) MarshalTo Uses

func (m *ExternalMetricValue) MarshalTo(dAtA []byte) (int, error)

func (*ExternalMetricValue) MarshalToSizedBuffer Uses

func (m *ExternalMetricValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExternalMetricValue) ProtoMessage Uses

func (*ExternalMetricValue) ProtoMessage()

func (*ExternalMetricValue) Reset Uses

func (m *ExternalMetricValue) Reset()

func (*ExternalMetricValue) Size Uses

func (m *ExternalMetricValue) Size() (n int)

func (*ExternalMetricValue) String Uses

func (this *ExternalMetricValue) String() string

func (*ExternalMetricValue) Unmarshal Uses

func (m *ExternalMetricValue) Unmarshal(dAtA []byte) error

func (*ExternalMetricValue) XXX_DiscardUnknown Uses

func (m *ExternalMetricValue) XXX_DiscardUnknown()

func (*ExternalMetricValue) XXX_Marshal Uses

func (m *ExternalMetricValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalMetricValue) XXX_Merge Uses

func (m *ExternalMetricValue) XXX_Merge(src proto.Message)

func (*ExternalMetricValue) XXX_Size Uses

func (m *ExternalMetricValue) XXX_Size() int

func (*ExternalMetricValue) XXX_Unmarshal Uses

func (m *ExternalMetricValue) XXX_Unmarshal(b []byte) error

type ExternalMetricValueList Uses

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 Uses

func (in *ExternalMetricValueList) DeepCopy() *ExternalMetricValueList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMetricValueList.

func (*ExternalMetricValueList) DeepCopyInto Uses

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 Uses

func (in *ExternalMetricValueList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ExternalMetricValueList) Descriptor Uses

func (*ExternalMetricValueList) Descriptor() ([]byte, []int)

func (*ExternalMetricValueList) Marshal Uses

func (m *ExternalMetricValueList) Marshal() (dAtA []byte, err error)

func (*ExternalMetricValueList) MarshalTo Uses

func (m *ExternalMetricValueList) MarshalTo(dAtA []byte) (int, error)

func (*ExternalMetricValueList) MarshalToSizedBuffer Uses

func (m *ExternalMetricValueList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExternalMetricValueList) ProtoMessage Uses

func (*ExternalMetricValueList) ProtoMessage()

func (*ExternalMetricValueList) Reset Uses

func (m *ExternalMetricValueList) Reset()

func (*ExternalMetricValueList) Size Uses

func (m *ExternalMetricValueList) Size() (n int)

func (*ExternalMetricValueList) String Uses

func (this *ExternalMetricValueList) String() string

func (*ExternalMetricValueList) Unmarshal Uses

func (m *ExternalMetricValueList) Unmarshal(dAtA []byte) error

func (*ExternalMetricValueList) XXX_DiscardUnknown Uses

func (m *ExternalMetricValueList) XXX_DiscardUnknown()

func (*ExternalMetricValueList) XXX_Marshal Uses

func (m *ExternalMetricValueList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExternalMetricValueList) XXX_Merge Uses

func (m *ExternalMetricValueList) XXX_Merge(src proto.Message)

func (*ExternalMetricValueList) XXX_Size Uses

func (m *ExternalMetricValueList) XXX_Size() int

func (*ExternalMetricValueList) XXX_Unmarshal Uses

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.