cmd

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// InstallationTestRepository is the repository for test images of the gardener-extension-runtime-gvisor-installation container
	InstallationTestRepository *string
}

Config is a completed controller configuration.

func (*Config) Apply

func (c *Config) Apply(destCfg *Config)

Apply sets the values of this Config in the given Config.

type ConfigOptions

type ConfigOptions struct {
	// InstallationTestRepository is the repository for test images of the gardener-extension-runtime-gvisor-installation container
	InstallationTestRepository string
	// contains filtered or unexported fields
}

ConfigOptions are command line options that can be set for the Config.

func (*ConfigOptions) AddFlags

func (c *ConfigOptions) AddFlags(fs *pflag.FlagSet)

AddFlags implements Flagger.AddFlags.

func (*ConfigOptions) Complete

func (c *ConfigOptions) Complete() error

Complete implements Completer.Complete.

func (*ConfigOptions) Completed

func (c *ConfigOptions) Completed() *Config

Completed returns the completed Config. Only call this if `Complete` was successful.

Jump to

Keyboard shortcuts

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