version

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentTransform

func AgentTransform(reader io.Reader, _ bool) (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) (interface{}, error)

Types

type Response

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

Jump to

Keyboard shortcuts

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