Documentation
¶
Index ¶
- func RenderReleaseMarkdown(cl *Changelog, version string) (string, error)
- type ChangeEntry
- func (m *ChangeEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *ChangeEntry) CloneVT() *ChangeEntry
- func (this *ChangeEntry) EqualMessageVT(thatMsg any) bool
- func (this *ChangeEntry) EqualVT(that *ChangeEntry) bool
- func (x *ChangeEntry) GetDescription() string
- func (x *ChangeEntry) GetDescriptionMarkdown() string
- func (x *ChangeEntry) MarshalJSON() ([]byte, error)
- func (x *ChangeEntry) MarshalProtoJSON(s *json.MarshalState)
- func (x *ChangeEntry) MarshalProtoText() string
- func (m *ChangeEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *ChangeEntry) MarshalToVT(dAtA []byte) (int, error)
- func (m *ChangeEntry) MarshalVT() (dAtA []byte, err error)
- func (*ChangeEntry) ProtoMessage()
- func (x *ChangeEntry) Reset()
- func (m *ChangeEntry) SizeVT() (n int)
- func (x *ChangeEntry) String() string
- func (x *ChangeEntry) UnmarshalJSON(b []byte) error
- func (x *ChangeEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *ChangeEntry) UnmarshalVT(dAtA []byte) error
- func (e *ChangeEntry) Validate() error
- type Changelog
- func (m *Changelog) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Changelog) CloneVT() *Changelog
- func (this *Changelog) EqualMessageVT(thatMsg any) bool
- func (this *Changelog) EqualVT(that *Changelog) bool
- func (x *Changelog) GetReleases() []*Release
- func (x *Changelog) MarshalJSON() ([]byte, error)
- func (x *Changelog) MarshalProtoJSON(s *json.MarshalState)
- func (x *Changelog) MarshalProtoText() string
- func (m *Changelog) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Changelog) MarshalToVT(dAtA []byte) (int, error)
- func (m *Changelog) MarshalVT() (dAtA []byte, err error)
- func (*Changelog) ProtoMessage()
- func (x *Changelog) Reset()
- func (m *Changelog) SizeVT() (n int)
- func (x *Changelog) String() string
- func (x *Changelog) UnmarshalJSON(b []byte) error
- func (x *Changelog) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Changelog) UnmarshalVT(dAtA []byte) error
- func (c *Changelog) Validate() error
- type Release
- func (m *Release) CloneMessageVT() protobuf_go_lite.CloneMessage
- func (m *Release) CloneVT() *Release
- func (this *Release) EqualMessageVT(thatMsg any) bool
- func (this *Release) EqualVT(that *Release) bool
- func (x *Release) GetDate() string
- func (x *Release) GetFeatures() []*ChangeEntry
- func (x *Release) GetFixes() []*ChangeEntry
- func (x *Release) GetImprovements() []*ChangeEntry
- func (x *Release) GetReleaseUrl() string
- func (x *Release) GetSecurity() []*ChangeEntry
- func (x *Release) GetSummary() string
- func (x *Release) GetSummaryMarkdown() string
- func (x *Release) GetVersion() string
- func (x *Release) MarshalJSON() ([]byte, error)
- func (x *Release) MarshalProtoJSON(s *json.MarshalState)
- func (x *Release) MarshalProtoText() string
- func (m *Release) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *Release) MarshalToVT(dAtA []byte) (int, error)
- func (m *Release) MarshalVT() (dAtA []byte, err error)
- func (*Release) ProtoMessage()
- func (x *Release) Reset()
- func (m *Release) SizeVT() (n int)
- func (x *Release) String() string
- func (x *Release) UnmarshalJSON(b []byte) error
- func (x *Release) UnmarshalProtoJSON(s *json.UnmarshalState)
- func (m *Release) UnmarshalVT(dAtA []byte) error
- func (r *Release) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ChangeEntry ¶
type ChangeEntry struct {
// description is the user-facing description.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// description_markdown is the display-ready markdown description.
DescriptionMarkdown string `protobuf:"bytes,2,opt,name=description_markdown,json=descriptionMarkdown,proto3" json:"descriptionMarkdown,omitempty"`
// contains filtered or unexported fields
}
ChangeEntry is a single changelog entry.
func (*ChangeEntry) CloneMessageVT ¶
func (m *ChangeEntry) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*ChangeEntry) CloneVT ¶
func (m *ChangeEntry) CloneVT() *ChangeEntry
func (*ChangeEntry) EqualMessageVT ¶
func (this *ChangeEntry) EqualMessageVT(thatMsg any) bool
func (*ChangeEntry) EqualVT ¶
func (this *ChangeEntry) EqualVT(that *ChangeEntry) bool
func (*ChangeEntry) GetDescription ¶
func (x *ChangeEntry) GetDescription() string
func (*ChangeEntry) GetDescriptionMarkdown ¶
func (x *ChangeEntry) GetDescriptionMarkdown() string
func (*ChangeEntry) MarshalJSON ¶
func (x *ChangeEntry) MarshalJSON() ([]byte, error)
MarshalJSON marshals the ChangeEntry to JSON.
func (*ChangeEntry) MarshalProtoJSON ¶
func (x *ChangeEntry) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the ChangeEntry message to JSON.
func (*ChangeEntry) MarshalProtoText ¶
func (x *ChangeEntry) MarshalProtoText() string
func (*ChangeEntry) MarshalToSizedBufferVT ¶
func (m *ChangeEntry) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*ChangeEntry) MarshalToVT ¶
func (m *ChangeEntry) MarshalToVT(dAtA []byte) (int, error)
func (*ChangeEntry) MarshalVT ¶
func (m *ChangeEntry) MarshalVT() (dAtA []byte, err error)
func (*ChangeEntry) ProtoMessage ¶
func (*ChangeEntry) ProtoMessage()
func (*ChangeEntry) Reset ¶
func (x *ChangeEntry) Reset()
func (*ChangeEntry) SizeVT ¶
func (m *ChangeEntry) SizeVT() (n int)
func (*ChangeEntry) String ¶
func (x *ChangeEntry) String() string
func (*ChangeEntry) UnmarshalJSON ¶
func (x *ChangeEntry) UnmarshalJSON(b []byte) error
UnmarshalJSON unmarshals the ChangeEntry from JSON.
func (*ChangeEntry) UnmarshalProtoJSON ¶
func (x *ChangeEntry) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the ChangeEntry message from JSON.
func (*ChangeEntry) UnmarshalVT ¶
func (m *ChangeEntry) UnmarshalVT(dAtA []byte) error
func (*ChangeEntry) Validate ¶
func (e *ChangeEntry) Validate() error
Validate checks the user-facing change entry fields.
type Changelog ¶
type Changelog struct {
// releases is the list of releases, newest first.
Releases []*Release `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"`
// contains filtered or unexported fields
}
Changelog contains all release entries.
func GetChangelog ¶
GetChangelog returns the embedded changelog.
func ParseOrgChangelog ¶
ParseOrgChangelog parses the constrained CHANGELOG.org subset.
func (*Changelog) CloneMessageVT ¶
func (m *Changelog) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Changelog) EqualMessageVT ¶
func (*Changelog) GetReleases ¶
func (*Changelog) MarshalJSON ¶
MarshalJSON marshals the Changelog to JSON.
func (*Changelog) MarshalProtoJSON ¶
func (x *Changelog) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Changelog message to JSON.
func (*Changelog) MarshalProtoText ¶
func (*Changelog) MarshalToSizedBufferVT ¶
func (*Changelog) ProtoMessage ¶
func (*Changelog) ProtoMessage()
func (*Changelog) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Changelog from JSON.
func (*Changelog) UnmarshalProtoJSON ¶
func (x *Changelog) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Changelog message from JSON.
func (*Changelog) UnmarshalVT ¶
type Release ¶
type Release struct {
// version is the semver version string (e.g. "0.1.0").
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// date is the release date in YYYY-MM-DD format.
Date string `protobuf:"bytes,2,opt,name=date,proto3" json:"date,omitempty"`
// summary is a 1-2 sentence summary of the release.
Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
// summary_markdown is the display-ready markdown summary.
SummaryMarkdown string `protobuf:"bytes,4,opt,name=summary_markdown,json=summaryMarkdown,proto3" json:"summaryMarkdown,omitempty"`
// features is the list of new feature entries.
Features []*ChangeEntry `protobuf:"bytes,5,rep,name=features,proto3" json:"features,omitempty"`
// fixes is the list of bug fix entries.
Fixes []*ChangeEntry `protobuf:"bytes,6,rep,name=fixes,proto3" json:"fixes,omitempty"`
// improvements is the list of improvement entries.
Improvements []*ChangeEntry `protobuf:"bytes,7,rep,name=improvements,proto3" json:"improvements,omitempty"`
// security is the list of security-related entries.
Security []*ChangeEntry `protobuf:"bytes,8,rep,name=security,proto3" json:"security,omitempty"`
// release_url is an optional public release URL.
ReleaseUrl string `protobuf:"bytes,9,opt,name=release_url,json=releaseUrl,proto3" json:"releaseUrl,omitempty"`
// contains filtered or unexported fields
}
Release is a single versioned release.
func (*Release) CloneMessageVT ¶
func (m *Release) CloneMessageVT() protobuf_go_lite.CloneMessage
func (*Release) EqualMessageVT ¶
func (*Release) GetFeatures ¶
func (x *Release) GetFeatures() []*ChangeEntry
func (*Release) GetFixes ¶
func (x *Release) GetFixes() []*ChangeEntry
func (*Release) GetImprovements ¶
func (x *Release) GetImprovements() []*ChangeEntry
func (*Release) GetReleaseUrl ¶
func (*Release) GetSecurity ¶
func (x *Release) GetSecurity() []*ChangeEntry
func (*Release) GetSummary ¶
func (*Release) GetSummaryMarkdown ¶
func (*Release) GetVersion ¶
func (*Release) MarshalJSON ¶
MarshalJSON marshals the Release to JSON.
func (*Release) MarshalProtoJSON ¶
func (x *Release) MarshalProtoJSON(s *json.MarshalState)
MarshalProtoJSON marshals the Release message to JSON.
func (*Release) MarshalProtoText ¶
func (*Release) MarshalToSizedBufferVT ¶
func (*Release) ProtoMessage ¶
func (*Release) ProtoMessage()
func (*Release) UnmarshalJSON ¶
UnmarshalJSON unmarshals the Release from JSON.
func (*Release) UnmarshalProtoJSON ¶
func (x *Release) UnmarshalProtoJSON(s *json.UnmarshalState)
UnmarshalProtoJSON unmarshals the Release message from JSON.