docker: github.com/docker/docker/dockerversion Index | Files

package dockerversion

import "github.com/docker/docker/dockerversion"

Package dockerversion is auto-generated at build-time

Index

Package Files

useragent.go version_lib.go

Variables

var (
    GitCommit             = "library-import"
    Version               = "library-import"
    BuildTime             = "library-import"
    IAmStatic             = "library-import"
    InitCommitID          = "library-import"
    PlatformName          = ""
    ProductName           = ""
    DefaultProductLicense = ""
)

Default build-time variable for library-import. These variables are overridden on build with build-time information.

func DockerUserAgent Uses

func DockerUserAgent(ctx context.Context) string

DockerUserAgent is the User-Agent the Docker client uses to identify itself. In accordance with RFC 7231 (5.5.3) is of the form:

[docker client's UA] UpstreamClient([upstream client's UA])

type UAStringKey Uses

type UAStringKey struct{}

UAStringKey is used as key type for user-agent string in net/context struct

Package dockerversion imports 5 packages (graph) and is imported by 3931 packages. Updated 2019-12-14. Refresh now. Tools for package owners.