proto

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package proto contains auto-generated Go-code based of Protobuf descriptions

Index

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

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetArch

func (x *BuildInfo) GetArch() string

func (*BuildInfo) GetBranch

func (x *BuildInfo) GetBranch() string

func (*BuildInfo) GetBuiltBy

func (x *BuildInfo) GetBuiltBy() string

func (*BuildInfo) GetCommit

func (x *BuildInfo) GetCommit() string

func (*BuildInfo) GetDate

func (x *BuildInfo) GetDate() *Timestamp

func (*BuildInfo) GetDirty

func (x *BuildInfo) GetDirty() bool

func (*BuildInfo) GetOs

func (x *BuildInfo) GetOs() string

func (*BuildInfo) GetTag

func (x *BuildInfo) GetTag() string

func (*BuildInfo) GetVersion

func (x *BuildInfo) GetVersion() string

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect

func (x *BuildInfo) ProtoReflect() protoreflect.Message

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

func (*BuildInfo) ToString

func (bi *BuildInfo) ToString() string

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

func (x *Error) ProtoReflect() protoreflect.Message

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

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 Time

func Time(s time.Time) *Timestamp

func TimeNow

func TimeNow() *Timestamp

func (*Timestamp) Descriptor deprecated

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

Deprecated: Use Timestamp.ProtoReflect.Descriptor instead.

func (*Timestamp) GetNanos

func (x *Timestamp) GetNanos() int32

func (*Timestamp) GetSeconds

func (x *Timestamp) GetSeconds() int32

func (*Timestamp) ProtoMessage

func (*Timestamp) ProtoMessage()

func (*Timestamp) ProtoReflect

func (x *Timestamp) ProtoReflect() protoreflect.Message

func (*Timestamp) Reset

func (x *Timestamp) Reset()

func (*Timestamp) String

func (x *Timestamp) String() string

func (*Timestamp) Time

func (t *Timestamp) Time() time.Time

Directories

Path Synopsis
feature

Jump to

Keyboard shortcuts

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