features

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Features

type Features struct {
	// SkipGlobs determines whether or not to interpret paths as file globs. New
	// in v1beta2.
	SkipGlobs bool

	// SkipGitVars determines whether to create builtin variables for _git_sha,
	// _git_short_sha, and _git_tag. New in v1beta3.
	SkipGitVars bool
}

Features controls which code paths are enabled by a given api_version.

These should true for old api_versions that don't support the feature, and false for new api_versions that do support the feature. This will allow the most recent schema to have all booleans false (all features enabled) without undergoing any special transformation. Older schemas will have features disabled (booleans set to true) in their Upgrade() method.

Jump to

Keyboard shortcuts

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