version

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentTransform

func AgentTransform(reader io.Reader, _ bool, _ map[string]string) (interface{}, error)

AgentVersion is the AddonTransform for the version command. This function will try to parse the response as a AgentVersionResponse and then populate it with the version of antctl to a transformedVersionResponse object.

func ControllerTransform

func ControllerTransform(reader io.Reader, _ bool, _ map[string]string) (interface{}, error)

func FlowAggregatorTransform added in v1.5.0

func FlowAggregatorTransform(reader io.Reader, _ bool, _ map[string]string) (interface{}, error)

FlowAggregatorTransform is the AddonTransform for the flow aggregator version command. This function will try to parse the response as a FlowAggregatorVersionResponse and then populate it with the version of antctl to a transformedVersionResponse object.

Types

type Response

type Response struct {
	AgentVersion          string `json:"agentVersion,omitempty"`
	ControllerVersion     string `json:"controllerVersion,omitempty"`
	FlowAggregatorVersion string `json:"flowAggregatorVersion,omitempty"`
	AntctlVersion         string `json:"antctlVersion,omitempty"`
}

Jump to

Keyboard shortcuts

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