Documentation ¶
Index ¶
- Variables
- func GetNewVersion(conf *config.Config, commits []*Commit, latestRelease *Release) string
- type Change
- func (*Change) Descriptor() ([]byte, []int)deprecated
- func (x *Change) GetAnnotations() map[string]string
- func (x *Change) GetMajor() bool
- func (x *Change) GetMinor() bool
- func (x *Change) GetPatch() bool
- func (*Change) ProtoMessage()
- func (x *Change) ProtoReflect() protoreflect.Message
- func (x *Change) Reset()
- func (x *Change) String() string
- type Commit
- func (*Commit) Descriptor() ([]byte, []int)deprecated
- func (x *Commit) GetAnnotations() map[string]string
- 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
- func (*RawCommit) Descriptor() ([]byte, []int)deprecated
- func (x *RawCommit) GetAnnotations() map[string]string
- func (x *RawCommit) GetRawMessage() string
- func (x *RawCommit) GetSHA() string
- func (*RawCommit) ProtoMessage()
- func (x *RawCommit) ProtoReflect() protoreflect.Message
- func (x *RawCommit) Reset()
- func (x *RawCommit) String() string
- type Release
- func (*Release) Descriptor() ([]byte, []int)deprecated
- func (x *Release) GetAnnotations() map[string]string
- func (x *Release) GetSHA() string
- func (x *Release) GetVersion() string
- func (*Release) ProtoMessage()
- func (x *Release) ProtoReflect() protoreflect.Message
- func (x *Release) Reset()
- func (x *Release) String() string
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"` Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Change) Descriptor
deprecated
func (*Change) GetAnnotations ¶ added in v2.7.0
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"` Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Commit) Descriptor
deprecated
func (*Commit) GetAnnotations ¶ added in v2.7.0
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"` Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RawCommit) Descriptor
deprecated
func (*RawCommit) GetAnnotations ¶ added in v2.7.0
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"` Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Release) Descriptor
deprecated
func (*Release) GetAnnotations ¶ added in v2.7.0
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.