Help us shape the future of Go! Take the 2026 Go Developer Survey

dockerinfo

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	// Success indicates if the Docker daemon information was successfully retrieved.
	//
	// Required: true
	Success bool `json:"success"`

	// APIVersion is the API version of the Docker daemon.
	//
	// Required: true
	APIVersion string `json:"apiVersion"`

	// GitCommit is the Git commit hash of the Docker daemon.
	//
	// Required: true
	GitCommit string `json:"gitCommit"`

	// GoVersion is the Go version used to build the Docker daemon.
	//
	// Required: true
	GoVersion string `json:"goVersion"`

	// Os is the operating system the Docker daemon is running on.
	//
	// Required: true
	Os string `json:"os"`

	// Arch is the architecture the Docker daemon is running on.
	//
	// Required: true
	Arch string `json:"arch"`

	// BuildTime is the build time of the Docker daemon.
	//
	// Required: true
	BuildTime string `json:"buildTime"`

	// Embedded system.Info from the Docker daemon.
	//
	// Required: true
	system.Info
}

Jump to

Keyboard shortcuts

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