diagnose

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultMaxValidationAttempts = 20
)

Variables

View Source
var Command = &cobra.Command{
	Use:   "diagnose",
	Short: "Troubleshoot your New Relic installation",
}

Command represents the diagnose command.

Functions

func PrintPaymentRequiredErrorMessage added in v0.46.0

func PrintPaymentRequiredErrorMessage()

Types

type ConfigValidator added in v0.26.0

type ConfigValidator struct {
	*validation.PollingNRQLValidator
	PostRetryDelaySec int
	PostMaxRetries    int
	// contains filtered or unexported fields
}

func NewConfigValidator added in v0.26.0

func NewConfigValidator(client *newrelic.NewRelic) *ConfigValidator

func (*ConfigValidator) Validate added in v0.28.0

func (c *ConfigValidator) Validate(ctx context.Context) error

type MockConfigValidator added in v0.26.2

type MockConfigValidator struct {
	Error error
}

func NewMockConfigValidator added in v0.26.2

func NewMockConfigValidator() *MockConfigValidator

func (*MockConfigValidator) Validate added in v0.28.0

func (v *MockConfigValidator) Validate(ctx context.Context) error

type ValidationTracerEvent added in v0.26.0

type ValidationTracerEvent struct {
	EventType string `json:"eventType"`
	Hostname  string `json:"hostname"`
	Purpose   string `json:"purpose"`
	GUID      string `json:"guid"`
}

Jump to

Keyboard shortcuts

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