summaryrefslogtreecommitdiff
path: root/dockerversion
diff options
context:
space:
mode:
authorDaniel Hiltgen <dhiltgen@users.noreply.github.com>2018-08-17 17:05:21 -0700
committerTibor Vass <tiborvass@users.noreply.github.com>2018-08-17 17:05:21 -0700
commit896d1b1c61a48e2df1a7b4644ddde6ee97db6111 (patch)
treeba64f37c651d16661bce6f890e57e867f52196b8 /dockerversion
parent8613b34a7e363948555eb986fd6078d9f9c808d7 (diff)
downloaddocker-896d1b1c61a48e2df1a7b4644ddde6ee97db6111.tar.gz
Expose license status in Info (#37612)
* Expose license status in Info This wires up a new field in the Info payload that exposes the license. For moby this is hardcoded to always report a community edition. Downstream enterprise dockerd will have additional licensing logic wired into this function to report details about the current license status. Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com> * Code review comments Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com> * Add windows autogen support Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
Diffstat (limited to 'dockerversion')
-rw-r--r--dockerversion/version_lib.go19
1 files changed, 10 insertions, 9 deletions
diff --git a/dockerversion/version_lib.go b/dockerversion/version_lib.go
index ff1816503b..77b87891be 100644
--- a/dockerversion/version_lib.go
+++ b/dockerversion/version_lib.go
@@ -6,13 +6,14 @@ package dockerversion // import "github.com/docker/docker/dockerversion"
// Default build-time variable for library-import.
// This file is overridden on build with build-time informations.
const (
- GitCommit = "library-import"
- Version = "library-import"
- BuildTime = "library-import"
- IAmStatic = "library-import"
- ContainerdCommitID = "library-import"
- RuncCommitID = "library-import"
- InitCommitID = "library-import"
- PlatformName = ""
- ProductName = ""
+ GitCommit = "library-import"
+ Version = "library-import"
+ BuildTime = "library-import"
+ IAmStatic = "library-import"
+ ContainerdCommitID = "library-import"
+ RuncCommitID = "library-import"
+ InitCommitID = "library-import"
+ PlatformName = ""
+ ProductName = ""
+ DefaultProductLicense = ""
)