kubernetes/staging/src/k8s.io/cloud-provider/app/webhooks.go

var runtimeScheme

var codecs

var deserializer

var encoder

func init() {}

var WebhooksDisabledByDefault

type WebhookConfig

type WebhookHandler

func NewWebhookHandlers(webhookConfigs map[string]WebhookConfig, completedConfig *config.CompletedConfig, cloud cloudprovider.Interface) map[string]WebhookHandler {}

func WebhookNames(webhooks map[string]WebhookConfig) []string {}

func newHandler(webhooks map[string]WebhookHandler) *mux.PathRecorderMux {}

func (h WebhookHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {}

// parseRequest extracts an AdmissionReview from an http.Request if possible
func parseRequest(r *http.Request) (*admissionv1.AdmissionReview, error) {}