features

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 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 {
	// SkipStdout determines whether to verify stdout or not.
	// New in github.com/abcxyz/abc/templates/model/goldentest/v1beta4.
	SkipStdout bool

	// SkipABCRenamed determines whether to rename git/github related dirs/files or not.
	// New in github.com/abcxyz/abc/templates/model/goldentest/v1beta4.
	SkipABCRenamed bool
}

Features controls which code paths are enabled in abc goldentest 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