const CloudControllerManagerWebhookPort … type WebhookOptions … func NewWebhookOptions() *WebhookOptions { … } func (o *WebhookOptions) AddFlags(fs *pflag.FlagSet, allWebhooks, disabledByDefaultWebhooks []string) { … } func (o *WebhookOptions) Validate(allWebhooks, disabledByDefaultWebhooks []string) []error { … } func (o *WebhookOptions) ApplyTo(cfg *config.WebhookConfiguration) error { … } type WebhookServingOptions … func NewWebhookServingOptions(defaults ProviderDefaults) *WebhookServingOptions { … } func (o *WebhookServingOptions) AddFlags(fs *pflag.FlagSet) { … } func (o *WebhookServingOptions) Validate() []error { … } func (o *WebhookServingOptions) ApplyTo(cfg **server.SecureServingInfo, webhookCfg config.WebhookConfiguration) error { … } func createListener(addr string, config net.ListenConfig) (net.Listener, int, error) { … }