dockerversion

package
v0.6.7-0...-92a6266 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 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             = "library-import"
	Version               = "library-import"
	BuildTime             = "library-import"
	IAmStatic             = "library-import"
	InitCommitID          = "library-import"
	PlatformName          = ""
	ProductName           = ""
	DefaultProductLicense = ""
)

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

Variables

This section is empty.

Functions

func DockerUserAgent

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

type UAStringKey

type UAStringKey struct{}

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

Jump to

Keyboard shortcuts

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