Help us shape the future of Go! Take the 2026 Go Developer Survey

diff

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDiff

func GenerateDiff(
	title string,
	outputFolder string,
	baseBranch *gitt.Branch,
	targetBranch *gitt.Branch,
	baseApps []AppInfo,
	targetApps []AppInfo,
	diffIgnoreRegex *string,
	lineCount uint,
	maxCharCount uint,
	timeInfo InfoBox,
) error

GenerateDiff generates a diff between base and target branches

func WriteNoAppsFoundMessage

func WriteNoAppsFoundMessage(
	title string,
	outputFolder string,
	selectors []selector.Selector,
	changedFiles []string,
) error

WriteNoAppsFoundMessage writes a message to the output folder when no applications are found

Types

type AppInfo added in v0.1.9

type AppInfo struct {
	Id          string
	Name        string
	SourcePath  string
	FileContent string
}

type Diff added in v0.1.4

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

type HTMLOutput added in v0.1.17

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

type HTMLSection added in v0.1.17

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

type InfoBox added in v0.1.9

type InfoBox struct {
	FullDuration               time.Duration
	ExtractDuration            time.Duration
	ArgoCDInstallationDuration time.Duration
	ClusterCreationDuration    time.Duration
	ApplicationCount           int
}

func (InfoBox) String added in v0.1.9

func (t InfoBox) String() string

type MarkdownOutput added in v0.1.17

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

type MarkdownSection added in v0.1.17

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

func (*MarkdownSection) Size added in v0.1.17

func (m *MarkdownSection) Size() int

Jump to

Keyboard shortcuts

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