Documentation ¶
Index ¶
- Variables
- func GetNewVersion(conf *config.Config, commits []*Commit, latestRelease *Release) string
- type Change
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetChange() *Change
- func (x *Commit) GetMessage() string
- func (x *Commit) GetRaw() []string
- func (x *Commit) GetSHA() string
- func (x *Commit) GetScope() string
- func (x *Commit) GetType() string
- func (*Commit) ProtoMessage()
- func (x *Commit) ProtoReflect() protoreflect.Message
- func (x *Commit) Reset()
- func (x *Commit) String() string
- type RawCommit
- type Release
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_semrel_structs_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type Change ¶
type Change struct { Major bool `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor bool `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` Patch bool `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"` // contains filtered or unexported fields }
func (*Change) Descriptor
deprecated
func (*Change) ProtoMessage ¶
func (*Change) ProtoMessage()
func (*Change) ProtoReflect ¶
func (x *Change) ProtoReflect() protoreflect.Message
type Commit ¶
type Commit struct { SHA string `protobuf:"bytes,1,opt,name=SHA,proto3" json:"SHA,omitempty"` Raw []string `protobuf:"bytes,2,rep,name=raw,proto3" json:"raw,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"` Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` Change *Change `protobuf:"bytes,6,opt,name=change,proto3" json:"change,omitempty"` // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetMessage ¶
func (*Commit) ProtoMessage ¶
func (*Commit) ProtoMessage()
func (*Commit) ProtoReflect ¶
func (x *Commit) ProtoReflect() protoreflect.Message
type RawCommit ¶
type RawCommit struct { SHA string `protobuf:"bytes,1,opt,name=SHA,proto3" json:"SHA,omitempty"` RawMessage string `protobuf:"bytes,2,opt,name=raw_message,json=rawMessage,proto3" json:"raw_message,omitempty"` // contains filtered or unexported fields }
func (*RawCommit) Descriptor
deprecated
func (*RawCommit) GetRawMessage ¶
func (*RawCommit) ProtoMessage ¶
func (*RawCommit) ProtoMessage()
func (*RawCommit) ProtoReflect ¶
func (x *RawCommit) ProtoReflect() protoreflect.Message
type Release ¶
type Release struct { SHA string `protobuf:"bytes,1,opt,name=SHA,proto3" json:"SHA,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*Release) Descriptor
deprecated
func (*Release) GetVersion ¶
func (*Release) ProtoMessage ¶
func (*Release) ProtoMessage()
func (*Release) ProtoReflect ¶
func (x *Release) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.