output

package
v0.0.0-...-525fac3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

Outputs take a byte.Buffer

Documentation

Index

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL