dockerversion

package
v17.11.0-ce-rc4+incomp... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package dockerversion is auto-generated at build-time

Index

Constants

View Source
const (
	GitCommit          string = "library-import"
	Version            string = "library-import"
	BuildTime          string = "library-import"
	IAmStatic          string = "library-import"
	ContainerdCommitID string = "library-import"
	RuncCommitID       string = "library-import"
	InitCommitID       string = "library-import"
)

Default build-time variable for library-import. This file is overridden on build with build-time informations.

View Source
const UAStringKey = "upstream-user-agent"

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

Variables

This section is empty.

Functions

func DockerUserAgent added in v1.11.0

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])

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL