Discover Packages
github.com/vmware-tanzu/antrea
pkg
antctl
transform
version
package
Version:
v0.12.1
Opens a new window with list of versions in this module.
Published: Feb 11, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
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.
type Response struct {
AgentVersion string `json:"agentVersion,omitempty"`
ControllerVersion string `json:"controllerVersion,omitempty"`
AntctlVersion string `json:"antctlVersion,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.