params

package
v7.40.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasFlavor

func HasFlavor(p Params, flavor string) bool
func Header(comment, githubUrl string) 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
	// Language is the primary language of the target repository (e.g. "go", "generic").
	Language string
	// Flavors is a list of additional checker flavors to include (e.g. "bash", "md", "helmchart").
	Flavors []string
	// RepoName is the name of the repository under giantswarm organization (e.g. "devctl").
	RepoName string
	// WorkingDir is the root directory of the repository (used for detecting helm charts).
	WorkingDir string
	// HelmCharts is the list of helm chart names discovered under helm/ in WorkingDir.
	HelmCharts []string
	// K8sSchemaVersion is the Kubernetes JSON schema version used in helm chart .schema.yaml.
	K8sSchemaVersion string
}

Jump to

Keyboard shortcuts

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