config

package
v1.2.340 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 12 Imported by: ? 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

This section is empty.

Types

type Config

type Config struct {
	Cli    cli    `json:"cli"`
	Config config `json:"config"`
	Helm   helm   `json:"helm"`
}

func NewConfig

func NewConfig(ctx context.Context, fileReader fileReader, configRelPath string) (c Config, err error)

func (Config) IsConfigDockerfileContextAddFileAccepted

func (c Config) IsConfigDockerfileContextAddFileAccepted(relPath string) bool

func (Config) IsConfigGoTemplateRenderingEnvNameAccepted

func (c Config) IsConfigGoTemplateRenderingEnvNameAccepted(envName string) (bool, error)

func (Config) IsConfigStapelFromLatestAccepted

func (c Config) IsConfigStapelFromLatestAccepted() bool

func (Config) IsConfigStapelGitBranchAccepted

func (c Config) IsConfigStapelGitBranchAccepted() bool

func (Config) IsConfigStapelMountBuildDirAccepted

func (c Config) IsConfigStapelMountBuildDirAccepted() bool

func (Config) IsConfigStapelMountFromPathAccepted

func (c Config) IsConfigStapelMountFromPathAccepted(fromPath string) bool

func (Config) IsCustomTagsAccepted added in v1.2.6

func (c Config) IsCustomTagsAccepted() bool

func (Config) IsUncommittedConfigAccepted

func (c Config) IsUncommittedConfigAccepted() bool

func (Config) IsUncommittedDockerfileAccepted

func (c Config) IsUncommittedDockerfileAccepted(relPath string) bool

func (Config) IsUncommittedDockerignoreAccepted

func (c Config) IsUncommittedDockerignoreAccepted(relPath string) bool

func (Config) UncommittedConfigGoTemplateRenderingFilePathMatcher added in v1.2.7

func (c Config) UncommittedConfigGoTemplateRenderingFilePathMatcher() path_matcher.PathMatcher

func (Config) UncommittedConfigTemplateFilePathMatcher added in v1.2.7

func (c Config) UncommittedConfigTemplateFilePathMatcher() path_matcher.PathMatcher

func (Config) UncommittedHelmFilePathMatcher added in v1.2.7

func (c Config) UncommittedHelmFilePathMatcher() path_matcher.PathMatcher

Jump to

Keyboard shortcuts

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