handlers

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSomethingWentWrong = errors.New(
		"Something went wrong. Try again later or contact Enapter support.")
	ErrMetricDataTypeIsNotSupported = errors.New(
		"The requested metric data type is currently not supported.")
	ErrInvalidYAML = errors.New(
		"The query is not a valid YAML.")
)

nolint: stylecheck,revive // user-facing

Functions

This section is empty.

Types

type CheckHealth

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

func NewCheckHealth

func NewCheckHealth(logger hclog.Logger, client telemetryapi.Client) *CheckHealth

func (*CheckHealth) CheckHealth

type QueryData

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

func NewQueryData

func NewQueryData(logger hclog.Logger, telemetryAPIClient telemetryapi.Client) *QueryData

func (*QueryData) QueryData

Jump to

Keyboard shortcuts

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