Versions in this module Expand all Collapse all v1 v1.6.0 Jul 29, 2026 v1.5.2 Mar 19, 2026 Changes in this version + func NewHostPathRequestor(host, path string) hostpath + func NewNamespaceRequestor(host string) namespaceGetter + func NewSampleProducerConsumer(client backend.Client, requestor Requestor, checker ResponseChecker, ...) sampler.ProducerConsumer + type KnownError struct + func (ke KnownError) Category() string + func (ke KnownError) Error() string + func (ke KnownError) Unwrap() error + type Requestor interface + GetBaseURL func() string + NewHTTPRequest func(ctx context.Context, sampleID uint64) (*http.Request, error) + type ResponseChecker interface + CheckError func(error) error + CheckResponse func(backend.RequestResponse) error + func NewResponseChecker() ResponseChecker + type ResponseCheckerFunc func(backend.RequestResponse) error + func (c ResponseCheckerFunc) CheckResponse(rr backend.RequestResponse) error + type SampleCollector interface + Collect func(backend.SampleResult)