shared

package
v0.5.4-rc7 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Shared definitions (constants & errors) for opni alerting

Index

Constants

View Source
const (
	AlertingV1Alpha = "v1alpha"
)

Variables

View Source
var (
	AlertingErrNotImplemented     = WithUnimplementedError("Not implemented")
	AlertingErrNotImplementedNOOP = WithUnimplementedError("Alerting NOOP : Not implemented")
)

Functions

func WithUnimplementedError

func WithUnimplementedError(msg string) error

func WithUnimplementedErrorf

func WithUnimplementedErrorf(format string, args ...interface{}) error

Types

type UnimplementedError

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

func (*UnimplementedError) Error

func (e *UnimplementedError) Error() string

func (*UnimplementedError) GRPCStatus

func (e *UnimplementedError) GRPCStatus() *status.Status

Jump to

Keyboard shortcuts

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