-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
zz_generated_info.go
26 lines (24 loc) · 1.06 KB
/
zz_generated_info.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package client
const (
InfoType = "info"
InfoFieldBuildDate = "buildDate"
InfoFieldCompiler = "compiler"
InfoFieldGitCommit = "gitCommit"
InfoFieldGitTreeState = "gitTreeState"
InfoFieldGitVersion = "gitVersion"
InfoFieldGoVersion = "goVersion"
InfoFieldMajor = "major"
InfoFieldMinor = "minor"
InfoFieldPlatform = "platform"
)
type Info struct {
BuildDate string `json:"buildDate,omitempty" yaml:"buildDate,omitempty"`
Compiler string `json:"compiler,omitempty" yaml:"compiler,omitempty"`
GitCommit string `json:"gitCommit,omitempty" yaml:"gitCommit,omitempty"`
GitTreeState string `json:"gitTreeState,omitempty" yaml:"gitTreeState,omitempty"`
GitVersion string `json:"gitVersion,omitempty" yaml:"gitVersion,omitempty"`
GoVersion string `json:"goVersion,omitempty" yaml:"goVersion,omitempty"`
Major string `json:"major,omitempty" yaml:"major,omitempty"`
Minor string `json:"minor,omitempty" yaml:"minor,omitempty"`
Platform string `json:"platform,omitempty" yaml:"platform,omitempty"`
}