version

package
v0.0.0-...-98ba599 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

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

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

func BuildDate

func BuildDate() time.Time

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) Descriptor() ([]byte, []int)

func (*Info) GetBuildDate

func (m *Info) GetBuildDate() *google_protobuf.Timestamp

func (*Info) GetGitCommit

func (m *Info) GetGitCommit() string

func (*Info) GetGitDate

func (m *Info) GetGitDate() *google_protobuf.Timestamp

func (*Info) GetVersion

func (m *Info) GetVersion() string

func (Info) JSON

func (m Info) JSON() string

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) Reset

func (m *Info) Reset()

func (*Info) String

func (m *Info) String() string

Jump to

Keyboard shortcuts

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