Documentation ¶
Overview ¶
Package measurer wraps the logic used to perform the measurements.
Index ¶
- type Measurer
- func (m *Measurer) Metrics(start, end time.Time, cpu, ram int64)
- func (m *Measurer) MetricsAsString() [][]string
- func (m *Measurer) ReadyTimes() []time.Time
- func (m *Measurer) ReadyTimesAsDuration() []string
- func (m *Measurer) ReadyTimesAsUnixNano() []string
- func (m *Measurer) SetOffloadingStartTimestamp(t time.Time)
- func (m *Measurer) SetPodReady(pod string, t time.Time)
- func (m *Measurer) ToCSV(w io.Writer)
- func (m *Measurer) ToTable(w io.Writer)
- type Metric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Measurer ¶
type Measurer struct {
// contains filtered or unexported fields
}
func NewMeasurer ¶
func (*Measurer) MetricsAsString ¶
func (*Measurer) ReadyTimes ¶
func (*Measurer) ReadyTimesAsDuration ¶
func (*Measurer) ReadyTimesAsUnixNano ¶
func (*Measurer) SetOffloadingStartTimestamp ¶
Click to show internal directories.
Click to hide internal directories.