params

package
v8.170.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Header(comment, githubUrl string) string

func IsFlavourCLI

func IsFlavourCLI(p Params) bool

func IsFlavourFork added in v8.104.0

func IsFlavourFork(p Params) bool

func Package

func Package(p Params) string

func RegenerableFileName

func RegenerableFileName(p Params, suffix string) string

func StepSetUpGitIdentity

func StepSetUpGitIdentity() string

Types

type Params

type Params struct {
	// Dir is the name of the directory where the files of the resource
	// should be generated.
	Dir string

	Flavours gen.FlavourSlice

	// ReleaseBranch is the branch whose pushes cut releases in the
	// auto-release workflow.
	ReleaseBranch string

	// MaintenanceBranches says a fork line's maintenance branches
	// (release-X.Y) cut releases too, each the patches of its X.Y series.
	MaintenanceBranches bool

	// PatchCandidates says a patch of the last stable release is cut as a
	// release candidate too, never tagged stable on its push.
	PatchCandidates bool

	// RepoName is the repository's name under the giantswarm organization,
	// for cliff.toml's `[remote.github].repo` field.
	RepoName string
}

Jump to

Keyboard shortcuts

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