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
func New(mgr manager.Manager) (*extensionswebhook.Webhook, error)
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.
Click to show internal directories.
Click to hide internal directories.