cockroach: github.com/abhinavdahiya/cockroach/build Index | Files

package build

import "github.com/abhinavdahiya/cockroach/build"

Package build is a generated protocol buffer package.

It is generated from these files:

cockroach/build/info.proto

It has these top-level messages:

Info

Index

Package Files

info.go info.pb.go

Variables

var (
    ErrInvalidLengthInfo = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowInfo   = fmt.Errorf("proto: integer overflow")
)

type Info Uses

type Info struct {
    GoVersion    string `protobuf:"bytes,1,opt,name=go_version,json=goVersion" json:"go_version"`
    Tag          string `protobuf:"bytes,2,opt,name=tag" json:"tag"`
    Time         string `protobuf:"bytes,3,opt,name=time" json:"time"`
    Dependencies string `protobuf:"bytes,4,opt,name=dependencies" json:"dependencies"`
    CgoCompiler  string `protobuf:"bytes,5,opt,name=cgo_compiler,json=cgoCompiler" json:"cgo_compiler"`
    Platform     string `protobuf:"bytes,6,opt,name=platform" json:"platform"`
}

Info describes build information for this CockroachDB binary.

func GetInfo Uses

func GetInfo() Info

GetInfo returns an Info struct populated with the build information.

func (*Info) Descriptor Uses

func (*Info) Descriptor() ([]byte, []int)

func (*Info) Marshal Uses

func (m *Info) Marshal() (data []byte, err error)

func (*Info) MarshalTo Uses

func (m *Info) MarshalTo(data []byte) (int, error)

func (*Info) ProtoMessage Uses

func (*Info) ProtoMessage()

func (*Info) Reset Uses

func (m *Info) Reset()

func (Info) Short Uses

func (b Info) Short() string

Short returns a pretty printed build and version summary.

func (*Info) Size Uses

func (m *Info) Size() (n int)

func (*Info) String Uses

func (m *Info) String() string

func (*Info) Unmarshal Uses

func (m *Info) Unmarshal(data []byte) error

Package build imports 6 packages (graph). Updated 2017-03-13. Refresh now. Tools for package owners. This is a dead-end fork (no commits since the fork).