version

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package version contains the operator's version, as well as versions of underlying components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmazonCloudWatchAgent

func AmazonCloudWatchAgent() string

AmazonCloudWatchAgent returns the default AmazonCloudWatchAgent to use when no versions are specified via CLI or configuration.

func AutoInstrumentationJava

func AutoInstrumentationJava() string

Types

type Version

type Version struct {
	Operator                string `json:"amazon-cloudwatch-agent-operator"`
	BuildDate               string `json:"build-date"`
	AmazonCloudWatchAgent   string `json:"amazon-cloudwatch-agent-version"`
	Go                      string `json:"go-version"`
	AutoInstrumentationJava string `json:"auto-instrumentation-java"`
}

Version holds this Operator's version as well as the version of some of the components it uses.

func Get

func Get() Version

Get returns the Version object with the relevant information.

func (Version) String

func (v Version) String() string

Jump to

Keyboard shortcuts

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