Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewRelicServerError = newRelicServerError{}
Functions ¶
func IsClientError ¶
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.