type SchedulerMetrics … // Equal returns true if all metrics are the same as the arguments. func (m *SchedulerMetrics) Equal(o SchedulerMetrics) bool { … } func newSchedulerMetrics() SchedulerMetrics { … } func parseSchedulerMetrics(data string) (SchedulerMetrics, error) { … }