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: 10 Imported by: 0

README

This package is used for making binaries that can be used for integration testing and for our actual commands. We probably don't need to move this to library-go because operators will not need to depend on it.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecApplyConfiguration

func ExecApplyConfiguration(ctx context.Context, binaryPath string, flagValues ApplyConfigurationFlagValues) (libraryapplyconfiguration.ApplyConfigurationResult, error)

ExecApplyConfiguration takes a binaryPath, inputDir, and desiredOutputDir and runs the binary It then reads the result directory and returns the result.

Types

type ApplyConfigurationFlagValues

type ApplyConfigurationFlagValues struct {
	InputDirectory  string
	OutputDirectory string
	Now             time.Time
	Controllers     []string
}

Jump to

Keyboard shortcuts

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