integration

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PyroscopeTest

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

func (*PyroscopeTest) Ingest added in v1.6.0

func (p *PyroscopeTest) Ingest(t *testing.T, req *http.Request, expectStatus int)

func (*PyroscopeTest) NewRequestBuilder added in v1.6.0

func (p *PyroscopeTest) NewRequestBuilder(t *testing.T) *RequestBuilder

func (*PyroscopeTest) Start

func (p *PyroscopeTest) Start(t *testing.T)

func (*PyroscopeTest) Stop

func (p *PyroscopeTest) Stop(t *testing.T)

func (*PyroscopeTest) TempAppName added in v1.6.0

func (p *PyroscopeTest) TempAppName() string

func (*PyroscopeTest) URL added in v1.2.0

func (p *PyroscopeTest) URL() string

type RequestBuilder added in v1.6.0

type RequestBuilder struct {
	AppName string
	// contains filtered or unexported fields
}

func (*RequestBuilder) IngestJFRRequestBody added in v1.6.0

func (b *RequestBuilder) IngestJFRRequestBody(jfr []byte, labels []byte) *http.Request

func (*RequestBuilder) IngestJFRRequestFiles added in v1.6.0

func (b *RequestBuilder) IngestJFRRequestFiles(jfrPath, labelsPath string) *http.Request

func (*RequestBuilder) IngestPPROFRequest added in v1.6.0

func (b *RequestBuilder) IngestPPROFRequest(profilePath, prevProfilePath, sampleTypeConfigPath string) *http.Request

func (*RequestBuilder) Push added in v1.6.0

func (b *RequestBuilder) Push(request *connect.Request[pushv1.PushRequest], expectStatus int, expectedError string)

func (*RequestBuilder) PushClient added in v1.6.0

func (*RequestBuilder) PushPPROFRequestFromBytes added in v1.7.0

func (b *RequestBuilder) PushPPROFRequestFromBytes(rawProfile []byte, name string) *connect.Request[pushv1.PushRequest]

func (*RequestBuilder) PushPPROFRequestFromFile added in v1.7.0

func (b *RequestBuilder) PushPPROFRequestFromFile(file string, metric string) *connect.Request[pushv1.PushRequest]

func (*RequestBuilder) QueryClient added in v1.6.0

func (*RequestBuilder) Render added in v1.6.0

func (*RequestBuilder) SelectMergeProfile added in v1.6.0

func (b *RequestBuilder) SelectMergeProfile(metric string, query map[string]string) *connect.Response[profilev1.Profile]

func (*RequestBuilder) Spy added in v1.6.0

func (b *RequestBuilder) Spy(spy string) *RequestBuilder

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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