test

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 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