changelog

package
v0.16.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The default CHANGELOG directory inside the k/k repository.
	RepoChangelogDir = "CHANGELOG"

	TocEnd = "<!-- END MUNGE: GENERATED_TOC -->"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Changelog

type Changelog struct {
	// contains filtered or unexported fields
}

Changelog can be used to generate the changelog for a release.

func New

func New(opts *Options) *Changelog

New creates a new Changelog instance.

func (*Changelog) Run

func (c *Changelog) Run() error

Run starts the changelog generation.

func (*Changelog) SetImpl

func (c *Changelog) SetImpl(impl impl)

SetImpl can be used to set the internal implementation.

type Options

type Options struct {
	RepoPath     string
	Tag          string
	Branch       string
	Bucket       string
	Tars         string
	Images       string
	HTMLFile     string
	JSONFile     string
	RecordDir    string
	ReplayDir    string
	CVEDataDir   string
	CloneCVEMaps bool
	Dependencies bool
}

Options are the main settings for generating the changelog.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL