app

package
v1.39.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is a const for the name of this component.
	Name = "gardener-seed-admission-controller"
)

Variables

This section is empty.

Functions

func NewSeedAdmissionControllerCommand added in v1.17.0

func NewSeedAdmissionControllerCommand() *cobra.Command

NewSeedAdmissionControllerCommand creates a new *cobra.Command able to run gardener-seed-admission-controller.

Types

type Options

type Options struct {
	// BindAddress is the address the HTTP server should bind to.
	BindAddress string
	// Port is the port that should be opened by the HTTP server.
	Port int
	// ServerCertDir is the path to server TLS cert and key.
	ServerCertDir string
	// AllowInvalidExtensionResources causes the seed-admission-controller to allow invalid extension resources.
	AllowInvalidExtensionResources bool
}

Options has all the context and parameters needed to run gardener-seed-admission-controller.

func (*Options) AddFlags

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

AddFlags adds gardener-seed-admission-controller's flags to the specified FlagSet.

func (*Options) Run added in v1.17.0

func (o *Options) Run(ctx context.Context) error

Run runs gardener-seed-admission-controller using the specified options.

Jump to

Keyboard shortcuts

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