app

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartGardenerSeedAdmissionController

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

NewCommandStartGardenerSeedAdmissionController creates a *cobra.Command object with default parameters

Types

type GardenerSeedAdmissionController

type GardenerSeedAdmissionController struct {
	// contains filtered or unexported fields
}

GardenerSeedAdmissionController represents all the parameters required to start the Gardener seed admission controller.

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
	// ServerCertPath is the path to a server certificate.
	ServerCertPath string
	// ServerKeyPath is the path to a TLS private key.
	ServerKeyPath string
	// Kubeconfig is path to a kubeconfig file. If not given it uses the in-cluster config.
	Kubeconfig string
}

Options has all the context and parameters needed to run a Gardener seed admission controller.

func (*Options) AddFlags

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

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

Jump to

Keyboard shortcuts

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