perf

package
v0.0.0-...-9d66df0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, opts GetOptions) ([]byte, error)

Get returns the test results requested via HTTP to a Cedar service.

Types

type GetOptions

type GetOptions struct {
	Cedar timber.GetOptions

	// Request information. See Cedar's REST documentation for more
	// information:
	// `https://github.com/evergreen-ci/cedar/wiki/Rest-V1-Usage`.
	TaskID    string
	Execution *int
	Count     bool
}

GetOptions specifies the required and optional information to create the perf HTTP GET request to Cedar.

func (GetOptions) Validate

func (opts GetOptions) Validate() error

Validate ensures GetOptions is configured correctly.

Jump to

Keyboard shortcuts

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