Documentation ¶
Overview ¶
Package proto contains auto-generated Go-code based of Protobuf descriptions
Index ¶
- Variables
- type BuildInfo
- func (*BuildInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfo) GetArch() string
- func (x *BuildInfo) GetBranch() string
- func (x *BuildInfo) GetBuiltBy() string
- func (x *BuildInfo) GetCommit() string
- func (x *BuildInfo) GetDate() *Timestamp
- func (x *BuildInfo) GetDirty() bool
- func (x *BuildInfo) GetOs() string
- func (x *BuildInfo) GetTag() string
- func (x *BuildInfo) GetVersion() string
- func (*BuildInfo) ProtoMessage()
- func (x *BuildInfo) ProtoReflect() protoreflect.Message
- func (x *BuildInfo) Reset()
- func (x *BuildInfo) String() string
- func (bi *BuildInfo) ToString() string
- type BuildInfos
- func (*BuildInfos) Descriptor() ([]byte, []int)deprecated
- func (x *BuildInfos) GetClient() *BuildInfo
- func (x *BuildInfos) GetDaemon() *BuildInfo
- func (*BuildInfos) ProtoMessage()
- func (x *BuildInfos) ProtoReflect() protoreflect.Message
- func (x *BuildInfos) Reset()
- func (x *BuildInfos) String() string
- func (bi *BuildInfos) ToString() string
- type Empty
- type Error
- type Timestamp
- func (*Timestamp) Descriptor() ([]byte, []int)deprecated
- func (x *Timestamp) GetNanos() int32
- func (x *Timestamp) GetSeconds() int32
- func (*Timestamp) ProtoMessage()
- func (x *Timestamp) ProtoReflect() protoreflect.Message
- func (x *Timestamp) Reset()
- func (x *Timestamp) String() string
- func (t *Timestamp) Time() time.Time
Constants ¶
This section is empty.
Variables ¶
View Source
var File_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuildInfo ¶
type BuildInfo struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Date *Timestamp `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"` Commit string `protobuf:"bytes,3,opt,name=commit,proto3" json:"commit,omitempty"` Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` Branch string `protobuf:"bytes,5,opt,name=branch,proto3" json:"branch,omitempty"` BuiltBy string `protobuf:"bytes,6,opt,name=built_by,json=builtBy,proto3" json:"built_by,omitempty"` Os string `protobuf:"bytes,7,opt,name=os,proto3" json:"os,omitempty"` Arch string `protobuf:"bytes,8,opt,name=arch,proto3" json:"arch,omitempty"` Dirty bool `protobuf:"varint,9,opt,name=dirty,proto3" json:"dirty,omitempty"` // contains filtered or unexported fields }
func (*BuildInfo) Descriptor
deprecated
func (*BuildInfo) GetBuiltBy ¶
func (*BuildInfo) GetVersion ¶
func (*BuildInfo) ProtoMessage ¶
func (*BuildInfo) ProtoMessage()
func (*BuildInfo) ProtoReflect ¶
func (x *BuildInfo) ProtoReflect() protoreflect.Message
type BuildInfos ¶
type BuildInfos struct { Client *BuildInfo `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"` Daemon *BuildInfo `protobuf:"bytes,2,opt,name=daemon,proto3" json:"daemon,omitempty"` // contains filtered or unexported fields }
func (*BuildInfos) Descriptor
deprecated
func (*BuildInfos) Descriptor() ([]byte, []int)
Deprecated: Use BuildInfos.ProtoReflect.Descriptor instead.
func (*BuildInfos) GetClient ¶
func (x *BuildInfos) GetClient() *BuildInfo
func (*BuildInfos) GetDaemon ¶
func (x *BuildInfos) GetDaemon() *BuildInfo
func (*BuildInfos) ProtoMessage ¶
func (*BuildInfos) ProtoMessage()
func (*BuildInfos) ProtoReflect ¶
func (x *BuildInfos) ProtoReflect() protoreflect.Message
func (*BuildInfos) Reset ¶
func (x *BuildInfos) Reset()
func (*BuildInfos) String ¶
func (x *BuildInfos) String() string
func (*BuildInfos) ToString ¶
func (bi *BuildInfos) ToString() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Timestamp ¶
type Timestamp struct { Seconds int32 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` // contains filtered or unexported fields }
An UNIX timestamp since 1970-01-01 (UTC)
func (*Timestamp) Descriptor
deprecated
func (*Timestamp) GetSeconds ¶
func (*Timestamp) ProtoMessage ¶
func (*Timestamp) ProtoMessage()
func (*Timestamp) ProtoReflect ¶
func (x *Timestamp) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.