precommit

package
v8.64.8 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExecutionFailed added in v8.58.0

func IsExecutionFailed(err error) bool

IsExecutionFailed asserts executionFailedError.

Types

type Config

type Config struct {
	Language         string
	Flavors          []string
	RepoName         string
	K8sSchemaVersion string
	GoGenerate       bool
}

type PreCommit

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

func New

func New(config Config) (*PreCommit, error)

func (*PreCommit) CreateHelmReadmeInputs

func (p *PreCommit) CreateHelmReadmeInputs() []input.Input

func (*PreCommit) CreatePreCommitAction

func (p *PreCommit) CreatePreCommitAction() input.Input

func (*PreCommit) CreatePreCommitConfig

func (p *PreCommit) CreatePreCommitConfig() input.Input

func (*PreCommit) CreateSchemaYamlInputs

func (p *PreCommit) CreateSchemaYamlInputs() []input.Input

func (*PreCommit) CreateValuesSchemaInputs added in v8.58.0

func (p *PreCommit) CreateValuesSchemaInputs() []input.Input

CreateValuesSchemaInputs generates helm/<chart>/values.schema.json itself, in-process, for every discovered chart. It must run after CreateSchemaYamlInputs' inputs have been written to disk: generation reads helm/<chart>/values.yaml and the generated zz_generated.app-platform.values.yaml back off disk. See giantswarm/devctl#2195.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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