applyconfiguration

package
v0.0.0-...-03f3e0b Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTestApplyConfigurationCommand

func NewTestApplyConfigurationCommand(streams genericiooptions.IOStreams) *cobra.Command

Types

type TestApplyConfigurationFlags

type TestApplyConfigurationFlags struct {
	// TestDirectory is a directory that will be recursively walked to locate all directories containing a test
	// by finding directories which contain test.yaml
	// 1. test.yaml - serialized TestDescription
	// 2. input-dir - directory that will be provided to the apply-configuration command.
	// This allows for fairly arbitrary nesting strategies.
	TestDirectory string

	// OutputDirectory is the directory to where output should be stored
	OutputDirectory string

	PreservePolicy string

	ReplaceExpectedOutput bool

	Streams genericiooptions.IOStreams
}

func NewTestApplyConfigurationFlags

func NewTestApplyConfigurationFlags(streams genericiooptions.IOStreams) *TestApplyConfigurationFlags

func (*TestApplyConfigurationFlags) BindFlags

func (f *TestApplyConfigurationFlags) BindFlags(flags *pflag.FlagSet)

func (*TestApplyConfigurationFlags) ToOptions

func (*TestApplyConfigurationFlags) Validate

func (f *TestApplyConfigurationFlags) Validate() error

Jump to

Keyboard shortcuts

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