package version
import "k8s.io/kubernetes/staging/src/k8s.io/apimachinery/pkg/version"
Package version supplies the type for version information collected at build time. +k8s:openapi-gen=true
Index ¶
Types ¶
type Info ¶
type Info struct { Major string `json:"major"` Minor string `json:"minor"` GitVersion string `json:"gitVersion"` GitCommit string `json:"gitCommit"` GitTreeState string `json:"gitTreeState"` BuildDate string `json:"buildDate"` GoVersion string `json:"goVersion"` Compiler string `json:"compiler"` Platform string `json:"platform"` }
Info contains versioning information. TODO: Add []string of api versions supported? It's still unclear how we'll want to distribute that information.
func (Info) String ¶
String returns info as a human-friendly version string.
Source Files ¶
doc.go types.go
- Version
- v1.7.6
- Published
- Sep 14, 2017
- Platform
- linux/amd64
- Last checked
- 41 seconds ago –
Tools for package owners.