Documentation ¶
Overview ¶
Code generated by hack/codegen-version.sh. DO NOT EDIT.
Package version is a generated protocol buffer package.
It is generated from these files:
pkg/version/version.proto
It has these top-level messages:
Info
Index ¶
- Constants
- Variables
- func BuildDate() time.Time
- type Info
- func (*Info) Descriptor() ([]byte, []int)
- func (m *Info) GetBuildDate() *google_protobuf.Timestamp
- func (m *Info) GetGitCommit() string
- func (m *Info) GetGitDate() *google_protobuf.Timestamp
- func (m *Info) GetVersion() string
- func (m Info) JSON() string
- func (*Info) ProtoMessage()
- func (m *Info) Reset()
- func (m *Info) String() string
Constants ¶
View Source
const ( // Git commit (e.g. 1b4716ab84903b2e477135a3dc5afdb07f685cb7) GitCommit string = "78c053231958e0709e9a668a1557968d9a7ec46b" // Version contains a (potentially) human-readable version // For example 1.1.0 or 1b4716ab84903b2e477135a3dc5afdb07f685cb7 Version string = "0.6.0" )
Variables ¶
View Source
var (
GitDate time.Time
)
Functions ¶
Types ¶
type Info ¶
type Info struct { Version string `protobuf:"bytes,1,opt,name=Version" json:"Version,omitempty"` GitDate *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=GitDate" json:"GitDate,omitempty"` BuildDate *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=BuildDate" json:"BuildDate,omitempty"` GitCommit string `protobuf:"bytes,4,opt,name=GitCommit" json:"GitCommit,omitempty"` }
func VersionInfo ¶
func VersionInfo() Info
func (*Info) Descriptor ¶
func (*Info) GetBuildDate ¶
func (m *Info) GetBuildDate() *google_protobuf.Timestamp
func (*Info) GetGitCommit ¶
func (*Info) GetGitDate ¶
func (m *Info) GetGitDate() *google_protobuf.Timestamp
func (*Info) GetVersion ¶
func (*Info) ProtoMessage ¶
func (*Info) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.