Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PartialAPIKey ¶
PartialAPIKey - Returns a partial API key to ensure we don't log the full API Key
Types ¶
type NewRelicClientInterface ¶
type NewRelicClientInterface interface {
Alerts() *alerts.Alerts
Notifications() *notifications.Notifications
Workflows() *workflows.Workflows
}
NewRelicClientInterface defines the methods for interacting with the NR API
func InitNewClient ¶
func InitNewClient(apiKey string, regionName string) (NewRelicClientInterface, error)
InitNewClient initalizes a given client's CRUD functionality
type NewRelicClientWrapper ¶
type NewRelicClientWrapper struct {
// contains filtered or unexported fields
}
NewRelicClientWrapper wraps the New Relic client and implements NewRelicClientInterface
func (*NewRelicClientWrapper) Alerts ¶
func (n *NewRelicClientWrapper) Alerts() *alerts.Alerts
Alerts returns the Alerts client
func (*NewRelicClientWrapper) Notifications ¶
func (n *NewRelicClientWrapper) Notifications() *notifications.Notifications
Notifications returns the notifications client
func (*NewRelicClientWrapper) Workflows ¶
func (n *NewRelicClientWrapper) Workflows() *workflows.Workflows
Workflows returns the Workflows client
Click to show internal directories.
Click to hide internal directories.