changelog

package
v50.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Changelog

type Changelog struct {
	PackageName    string
	NewPackage     bool
	RemovedPackage bool
	Modified       *report.Package
}

Changelog describes a changelog of the package during this generation

func (Changelog) HasBreakingChanges

func (c Changelog) HasBreakingChanges() bool

HasBreakingChanges returns if this report of changelog contains breaking changes

func (Changelog) String

func (c Changelog) String() string

func (Changelog) ToMarkdown

func (c Changelog) ToMarkdown() string

ToMarkdown returns the markdown string of this changelog

type Exporter

type Exporter struct {
	// SDKRoot ...
	SDKRoot string
	// BackupRoot ...
	BackupRoot string
}

Exporter ...

func (Exporter) ExportForPackage

func (p Exporter) ExportForPackage(relPkgDir string) (*Changelog, error)

ExportForPackage generates the Changelog for the given relPkgDir relPkgDir is the package path relative to the root of SDK, e.g. services/compute/mgmt/2020-06-01/compute

Jump to

Keyboard shortcuts

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