app

package
v1.41.5 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartLandscaperControlplane

func NewCommandStartLandscaperControlplane(ctx context.Context) *cobra.Command

NewCommandStartLandscaperControlplane creates a *cobra.Command object with default parameters

Types

type Options

type Options struct {
	// OperationType is the operation to be executed.
	OperationType landscaperconstants.OperationType
	// ImportsPath is the path to the imports file.
	ImportsPath string
	// ExportsPath is the path to the exports file. The parent directory exists; the export file itself must be created.
	// The format of the exports file must be json or yaml.
	ExportsPath string
	// ComponentDescriptorPath is the path to the component descriptor file.
	ComponentDescriptorPath string
}

Options has all the context and parameters needed to run the virtual garden deployer.

func NewOptions

func NewOptions() *Options

NewOptions returns a new options structure.

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific Scheduler to the specified FlagSet.

func (*Options) InitializeFromEnvironment

func (o *Options) InitializeFromEnvironment() error

InitializeFromEnvironment initializes the options from the found environment variables.

Jump to

Keyboard shortcuts

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