validation

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PollingNRQLValidator

type PollingNRQLValidator struct {
	MaxAttempts       int
	Interval          time.Duration
	ProgressIndicator ux.ProgressIndicator
	// contains filtered or unexported fields
}

PollingNRQLValidator polls NRDB to assert data is being reported for the given query.

func NewPollingNRQLValidator

func NewPollingNRQLValidator(c utils.NRDBClient) *PollingNRQLValidator

NewPollingNRQLValidator returns a new instance of PollingNRQLValidator.

func (*PollingNRQLValidator) Validate

func (m *PollingNRQLValidator) Validate(ctx context.Context, query string) (string, error)

Validate polls NRDB to assert data is being reported for the given query.

Jump to

Keyboard shortcuts

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