client

package
v0.84.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PreferredIngestKeyName = "Installer Ingest License Key"
)

Variables

View Source
var (
	NRClient *newrelic.NewRelic
)

Functions

func FetchLicenseKey added in v0.30.0

func FetchLicenseKey(accountID int, profileName string, maxTimeoutSeconds *int) (string, error)

FetchLicenseKey attempts to fetch and return a customer's license key. If the initial request to fetch a license key fails, we retry the request for a maximum time duration per config.DefaultMaxTimeoutSeconds.

func NewClient added in v0.30.0

func NewClient(profileName string) (*newrelic.NewRelic, error)

NewClient initializes the New Relic client.

func RequireClient added in v0.30.0

func RequireClient(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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