agent

package
v2.50.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by tutone: DO NOT EDIT

Code generated by tutone: DO NOT EDIT

Index

Constants

This section is empty.

Variables

View Source
var AgentReleasesFilterTypes = struct {
	// Android agent
	ANDROID AgentReleasesFilter
	// Browser agent
	BROWSER AgentReleasesFilter
	// .NET agent
	DOTNET AgentReleasesFilter
	// Elixir agent
	ELIXIR AgentReleasesFilter
	// Go agent
	GO AgentReleasesFilter
	// Infrastructure agent
	INFRASTRUCTURE AgentReleasesFilter
	// iOS agent
	IOS AgentReleasesFilter
	// Java agent
	JAVA AgentReleasesFilter
	// Node.js agent
	NODEJS AgentReleasesFilter
	// PHP agent
	PHP AgentReleasesFilter
	// Python agent
	PYTHON AgentReleasesFilter
	// Ruby agent
	RUBY AgentReleasesFilter
	// C SDK
	SDK AgentReleasesFilter
}{

	ANDROID: "ANDROID",

	BROWSER: "BROWSER",

	DOTNET: "DOTNET",

	ELIXIR: "ELIXIR",

	GO: "GO",

	INFRASTRUCTURE: "INFRASTRUCTURE",

	IOS: "IOS",

	JAVA: "JAVA",

	NODEJS: "NODEJS",

	PHP: "PHP",

	PYTHON: "PYTHON",

	RUBY: "RUBY",

	SDK: "SDK",
}

Functions

This section is empty.

Types

type Agent

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

func New

func New(config config.Config) Agent

func (*Agent) GetCurrentAgentRelease

func (a *Agent) GetCurrentAgentRelease(
	agentName AgentReleasesFilter,
) (*AgentReleasesAgentRelease, error)

The current release of the provided Agent

func (*Agent) GetCurrentAgentReleaseWithContext

func (a *Agent) GetCurrentAgentReleaseWithContext(
	ctx context.Context,
	agentName AgentReleasesFilter,
) (*AgentReleasesAgentRelease, error)

The current release of the provided Agent

type AgentReleasesAgentRelease

type AgentReleasesAgentRelease struct {
	// Patch for a bug
	Bugs []string `json:"bugs,omitempty"`
	// The date of the release
	Date Date `json:"date,omitempty"`
	// Link to agent distribution
	DownloadLink string `json:"downloadLink,omitempty"`
	// The date the release will reach the end of its life. See [New Relic's EOL Policy](https://docs.newrelic.com/docs/licenses/end-of-life/notification-changes-new-relic-saas-features-distributed-software/) for details
	EolDate Date `json:"eolDate,omitempty"`
	// New feature or instrumentation
	Features []string `json:"features,omitempty"`
	// Fix for a security vulnerability
	Security []string `json:"security,omitempty"`
	// The release note's location on the docs website. The full URL would be prefixed with [https://docs.newrelic.com](https://docs.newrelic.com/)
	Slug string `json:"slug,omitempty"`
	// The version of the release
	Version string `json:"version,omitempty"`
}

AgentReleasesAgentRelease - Information about an Agent release

type AgentReleasesFilter

type AgentReleasesFilter string

AgentReleasesFilter - Agent Release Filter

type Date

type Date string

Date - The `Date` scalar represents a date. The `Date` appears as an ISO8601 formatted string.

type DocumentationFields

type DocumentationFields struct {
	// View a list of all releases for the provided Agent
	AgentReleases []AgentReleasesAgentRelease `json:"agentReleases,omitempty"`
	// The current release of the provided Agent
	CurrentAgentRelease AgentReleasesAgentRelease `json:"currentAgentRelease,omitempty"`
}

DocumentationFields -

Jump to

Keyboard shortcuts

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