internal

package
v0.0.0-...-8b7f7dc Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewRelicServerError = newRelicServerError{}

Functions

func IsClientError

func IsClientError(err error) bool

func NewReconcileResult

func NewReconcileResult(err error) (reconcile.Result, error)

Types

type ClientError

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

func NewClientError

func NewClientError(message string) ClientError

func (ClientError) Error

func (err ClientError) Error() string

type NewrelicClient

type NewrelicClient interface {
	Get(path string) (*http.Response, error)
	GetJson(path string) (*http.Response, error)
	PostJson(path string, payload []byte) (*http.Response, error)
	PutJson(path string, payload []byte) (*http.Response, error)
	Delete(path string) (*http.Response, error)
}

func NewNewrelicClient

func NewNewrelicClient(log logr.Logger, url string, adminKey string) NewrelicClient

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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