json

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GlobalResultDir = "results"
)

Variables

This section is empty.

Functions

func New

func New(workingDir string) (report.Top, error)

Types

type Function

type Function struct {
	// contains filtered or unexported fields
}

func (*Function) BenchResult

func (f *Function) BenchResult(bresult string) error

func (*Function) HttpTestConfig

func (f *Function) HttpTestConfig(config string) error

func (*Function) LogWriter

func (f *Function) LogWriter() (io.Writer, error)

func (*Function) Request

func (f *Function) Request() (report.Request, error)

func (*Function) StackDescription

func (f *Function) StackDescription(sdesc string) error

type Request

type Request struct {
	// contains filtered or unexported fields
}

func (*Request) Error

func (r *Request) Error(id uint64, error string) error

func (*Request) RawResult

func (r *Request) RawResult(raw string) error

func (*Request) Result

func (r *Request) Result(result report.Result) error

func (*Request) Summary

func (r *Request) Summary(summary string) error

type Test

type Test struct {
	ProviderName string
	// contains filtered or unexported fields
}

func (*Test) Description

func (test *Test) Description(desc string) error

func (*Test) Function

func (test *Test) Function(functionName, description, runtime, memorySize string) (report.Function, error)

type Top

type Top struct {
	// contains filtered or unexported fields
}

func (*Top) LogWriter

func (t *Top) LogWriter() (io.Writer, error)

func (*Top) Test

func (t *Top) Test(testId string, providerName string) (report.Test, error)

Jump to

Keyboard shortcuts

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