app

package
v1.7.1-0...-23dd39d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 18 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

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
}

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

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