config

package
v1.2.140 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

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) (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