Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Package is filled at linking time Package = "github.com/moby/buildkit" // Version holds the complete version number. Filled in at linking time. Version = defaultVersion // Revision is filled with the VCS (e.g. git) revision being used to build // the program at linking time. Revision = "" )
Functions ¶
func SetUserAgentProduct ¶
SetUserAgentProduct sets a callback to get the version of a product to be included in the User-Agent header. The callback is called every time the User-Agent header is generated. Caller must ensure that the callback is cached if it is expensive to compute.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.