kubernetes/vendor/github.com/prometheus/common/model/value.go

var ZeroSample

type Sample

// Equal compares first the metrics, then the timestamp, then the value. The
// semantics of value equality is defined by SampleValue.Equal.
func (s *Sample) Equal(o *Sample) bool {}

func (s Sample) String() string {}

// MarshalJSON implements json.Marshaler.
func (s Sample) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON implements json.Unmarshaler.
func (s *Sample) UnmarshalJSON(b []byte) error {}

type Samples

func (s Samples) Len() int {}

// Less compares first the metrics, then the timestamp.
func (s Samples) Less(i, j int) bool {}

func (s Samples) Swap(i, j int) {}

// Equal compares two sets of samples and returns true if they are equal.
func (s Samples) Equal(o Samples) bool {}

type SampleStream

func (ss SampleStream) String() string {}

func (ss SampleStream) MarshalJSON() ([]byte, error) {}

func (ss *SampleStream) UnmarshalJSON(b []byte) error {}

type Scalar

func (s Scalar) String() string {}

// MarshalJSON implements json.Marshaler.
func (s Scalar) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON implements json.Unmarshaler.
func (s *Scalar) UnmarshalJSON(b []byte) error {}

type String

func (s *String) String() string {}

// MarshalJSON implements json.Marshaler.
func (s String) MarshalJSON() ([]byte, error) {}

// UnmarshalJSON implements json.Unmarshaler.
func (s *String) UnmarshalJSON(b []byte) error {}

type Vector

func (vec Vector) String() string {}

func (vec Vector) Len() int      {}

func (vec Vector) Swap(i, j int) {}

// Less compares first the metrics, then the timestamp.
func (vec Vector) Less(i, j int) bool {}

// Equal compares two sets of samples and returns true if they are equal.
func (vec Vector) Equal(o Vector) bool {}

type Matrix

func (m Matrix) Len() int           {}

func (m Matrix) Less(i, j int) bool {}

func (m Matrix) Swap(i, j int)      {}

func (mat Matrix) String() string {}