Documentation ¶
Index ¶
- Variables
- func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)
- func AddToManagerWithOptions(mgr manager.Manager, opts AddOptions) (*extensionswebhook.Webhook, error)
- func NewEnsurer(etcdStorage *config.ETCDStorage, kubeAPIServer *config.KubeAPIServer, ...) genericmutator.Ensurer
- type AddOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultAddOptions are the default AddOptions for AddToManager. DefaultAddOptions = AddOptions{} )
Functions ¶
func AddToManager ¶
func AddToManager(mgr manager.Manager) (*extensionswebhook.Webhook, error)
AddToManager creates a webhook with the default options and adds it to the manager.
func AddToManagerWithOptions ¶
func AddToManagerWithOptions(mgr manager.Manager, opts AddOptions) (*extensionswebhook.Webhook, error)
AddToManagerWithOptions creates a webhook with the given options and adds it to the manager.
func NewEnsurer ¶
func NewEnsurer(etcdStorage *config.ETCDStorage, kubeAPIServer *config.KubeAPIServer, service *config.Service, logger logr.Logger) genericmutator.Ensurer
NewEnsurer creates a new controlplaneexposure ensurer.
Types ¶
type AddOptions ¶
type AddOptions struct { // ETCDStorage is the etcd storage configuration. ETCDStorage config.ETCDStorage // KubeAPIServer is the KubeAPIServer configuration. KubeAPIServer config.KubeAPIServer // Service is the service configuration Service config.Service }
AddOptions are options to apply when adding the Alicloud exposure webhook to the manager.
Click to show internal directories.
Click to hide internal directories.