Documentation ¶
Index ¶
- type SemVer
- func (*SemVer) Descriptor() ([]byte, []int)
- func (m *SemVer) GetMajor() int32
- func (m *SemVer) GetMinor() int32
- func (m *SemVer) GetPatch() int32
- func (m *SemVer) GetPrerelease() string
- func (*SemVer) ProtoMessage()
- func (m *SemVer) Reset()
- func (m *SemVer) String() string
- func (m *SemVer) XXX_DiscardUnknown()
- func (m *SemVer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SemVer) XXX_Merge(src proto.Message)
- func (m *SemVer) XXX_Size() int
- func (m *SemVer) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SemVer ¶
type SemVer struct { // The major version, e.g 10 for 10.2.3. Major int32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` // The minor version, e.g. 2 for 10.2.3. Minor int32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` // The patch version, e.g 3 for 10.2.3. Patch int32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` // The pre-release version. Either this field or major/minor/patch fields // must be filled. They are mutually exclusive. Pre-release versions are // assumed to be earlier than any released versions. Prerelease string `protobuf:"bytes,4,opt,name=prerelease,proto3" json:"prerelease,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The full version of a given tool.
func (*SemVer) Descriptor ¶
func (*SemVer) GetPrerelease ¶
func (*SemVer) ProtoMessage ¶
func (*SemVer) ProtoMessage()
func (*SemVer) XXX_DiscardUnknown ¶
func (m *SemVer) XXX_DiscardUnknown()
func (*SemVer) XXX_Marshal ¶
func (*SemVer) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.