Documentation ¶
Index ¶
- Variables
- type CliBuildInformation
- func (*CliBuildInformation) Descriptor() ([]byte, []int)deprecated
- func (x *CliBuildInformation) GetCliBuildVersion() *SemVer
- func (x *CliBuildInformation) GetCliMinimalVersion() *SemVer
- func (*CliBuildInformation) ProtoMessage()
- func (x *CliBuildInformation) ProtoReflect() protoreflect.Message
- func (x *CliBuildInformation) Reset()
- func (x *CliBuildInformation) String() string
- type CliVersionHandler
- type SemVer
- func (*SemVer) Descriptor() ([]byte, []int)deprecated
- func (x *SemVer) GetBuild() string
- func (x *SemVer) GetMajor() uint64
- func (x *SemVer) GetMinor() uint64
- func (x *SemVer) GetPatch() uint64
- func (x *SemVer) GetPrerelease() string
- func (*SemVer) ProtoMessage()
- func (x *SemVer) ProtoReflect() protoreflect.Message
- func (x *SemVer) Reset()
- func (x *SemVer) String() string
- func (v *SemVer) ToVersion() *semver.Version
Constants ¶
This section is empty.
Variables ¶
View Source
var File_util_version_version_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CliBuildInformation ¶
type CliBuildInformation struct { CliBuildVersion *SemVer `protobuf:"bytes,1,opt,name=cli_build_version,json=cliBuildVersion,proto3" json:"cli_build_version,omitempty"` CliMinimalVersion *SemVer `protobuf:"bytes,2,opt,name=cli_minimal_version,json=cliMinimalVersion,proto3" json:"cli_minimal_version,omitempty"` // contains filtered or unexported fields }
func (*CliBuildInformation) Descriptor
deprecated
func (*CliBuildInformation) Descriptor() ([]byte, []int)
Deprecated: Use CliBuildInformation.ProtoReflect.Descriptor instead.
func (*CliBuildInformation) GetCliBuildVersion ¶
func (x *CliBuildInformation) GetCliBuildVersion() *SemVer
func (*CliBuildInformation) GetCliMinimalVersion ¶
func (x *CliBuildInformation) GetCliMinimalVersion() *SemVer
func (*CliBuildInformation) ProtoMessage ¶
func (*CliBuildInformation) ProtoMessage()
func (*CliBuildInformation) ProtoReflect ¶
func (x *CliBuildInformation) ProtoReflect() protoreflect.Message
func (*CliBuildInformation) Reset ¶
func (x *CliBuildInformation) Reset()
func (*CliBuildInformation) String ¶
func (x *CliBuildInformation) String() string
type CliVersionHandler ¶
type CliVersionHandler interface {
CliVersionInformation(ctx context.Context) (*CliBuildInformation, error)
}
type SemVer ¶
type SemVer struct { Major uint64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor uint64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch uint64 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` Prerelease string `protobuf:"bytes,4,opt,name=prerelease,proto3" json:"prerelease,omitempty"` Build string `protobuf:"bytes,5,opt,name=build,proto3" json:"build,omitempty"` // contains filtered or unexported fields }
func (*SemVer) Descriptor
deprecated
func (*SemVer) GetPrerelease ¶
func (*SemVer) ProtoMessage ¶
func (*SemVer) ProtoMessage()
func (*SemVer) ProtoReflect ¶
func (x *SemVer) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.