type APICall … type APIResponsiveness … // SummaryKind returns the summary of API responsiveness. func (a *APIResponsiveness) SummaryKind() string { … } // PrintHumanReadable returns metrics with JSON format. func (a *APIResponsiveness) PrintHumanReadable() string { … } // PrintJSON returns metrics of PerfData(50, 90 and 99th percentiles) with JSON format. func (a *APIResponsiveness) PrintJSON() string { … } func (a *APIResponsiveness) Len() int { … } func (a *APIResponsiveness) Swap(i, j int) { … } func (a *APIResponsiveness) Less(i, j int) bool { … } const currentAPICallMetricsVersion … // APICallToPerfData transforms APIResponsiveness to PerfData. func APICallToPerfData(apicalls *APIResponsiveness) *e2eperftype.PerfData { … }