Documentation ¶
Overview ¶
Package version provides versioning for the agent. A client is expected to be able to start and communicate with an agent that supports a compatible version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Supported = Range{Min: 0, Max: 0}
Supported defines the version range supported by the current binary.
Functions ¶
This section is empty.
Types ¶
type Range ¶
type Range struct {
Min, Max T
}
Range describes a range of versions.
func RangeFromString ¶
RangeFromString parses a Range from the given string min, max values.
type T ¶
type T uint32
func Common ¶
Common returns the highest common version between the provided ranges. Returns an error if no such version exists.
Click to show internal directories.
Click to hide internal directories.