controlplaneexposure

package
v1.36.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// DefaultAddOptions are the default AddOptions for AddToManager.
	DefaultAddOptions = AddOptions{}
)

Functions

func New added in v1.7.0

New creates a new control plane exposure webhook with default options.

func NewEnsurer

func NewEnsurer(etcdStorage *config.ETCDStorage, logger logr.Logger) genericmutator.Ensurer

NewEnsurer creates a new controlplaneexposure ensurer.

func NewWithOptions added in v1.7.0

func NewWithOptions(mgr manager.Manager, opts AddOptions) (*extensionswebhook.Webhook, error)

NewWithOptions a new control plane exposure webhook with the given options.

Types

type AddOptions

type AddOptions struct {
	// ETCDStorage is the etcd storage configuration.
	ETCDStorage config.ETCDStorage
}

AddOptions are options to apply when adding the GCP exposure webhook to the manager.

Jump to

Keyboard shortcuts

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