README ¶ Outputs take a byte.Buffer Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func HttpPost(reader *bytes.Reader, url string) error func Metric(outputs []cnsbench.Output, outputName, benchmarkName string, metrics ...string) func Output(outputName string, bm *cnsbench.Benchmark, ...) error type OutputStruct Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HttpPost ¶ func HttpPost(reader *bytes.Reader, url string) error func Metric ¶ func Metric(outputs []cnsbench.Output, outputName, benchmarkName string, metrics ...string) func Output ¶ func Output(outputName string, bm *cnsbench.Benchmark, startTime, completionTime, initCompletionTime int64) error Types ¶ type OutputStruct ¶ type OutputStruct struct { Name string `json:"name"` Spec cnsbench.BenchmarkSpec `json:"spec"` StartTime int64 `json:"startTime"` CompletionTime int64 `json:"completionTime"` InitCompletionTime int64 `json:"initCompletionTime"` } Source Files ¶ View all Source files output.go post.go Click to show internal directories. Click to hide internal directories.