test

package
v0.15.0-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePromReadRequest

func GeneratePromReadRequest() *prompb.ReadRequest

GeneratePromReadRequest generates a Prometheus remote read request.

func GeneratePromReadRequestBody

func GeneratePromReadRequestBody(
	t *testing.T,
	req *prompb.ReadRequest,
) io.Reader

GeneratePromReadRequestBody generates a Prometheus remote read request body.

func GeneratePromWriteRequest

func GeneratePromWriteRequest() *prompb.WriteRequest

GeneratePromWriteRequest generates a Prometheus remote write request.

func GeneratePromWriteRequestBody

func GeneratePromWriteRequestBody(
	t *testing.T,
	req *prompb.WriteRequest,
) io.Reader

GeneratePromWriteRequestBody generates a Prometheus remote write request body.

Types

This section is empty.

Jump to

Keyboard shortcuts

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