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