APIExtensions is the list of all API extensions in the order they were added.
The following kind of changes come with a new extensions:
- New configuration key - New valid values for a configuration key - New REST API endpoint - New argument inside an existing REST API call - New HTTPs authentication mechanisms or protocols
This list is used mainly by the LXD server code, but it's in the shared package as well for reference.
var APIVersion = "1.0"
APIVersion contains the API base version. Only bumped for backward incompatible changes.
var UserAgent = getUserAgent()
UserAgent contains a string suitable as a user-agent
var Version = "3.23"
Version contains the LXD version number
APIExtensionsCount returns the number of available API extensions.
UserAgentFeatures updates the list of advertised features
UserAgentStorageBackends updates the list of storage backends to include in the user-agent
DottedVersion holds element of a version in the maj.min[.patch] format.
NewDottedVersion returns a new Version.
Parse parses a string starting with a dotted version and returns it.
Compare returns result of comparison between two versions
String returns version as a string