kubernetes: k8s.io/kubernetes/test/images/agnhost/webhook Index | Files

package webhook

import "k8s.io/kubernetes/test/images/agnhost/webhook"


Package Files

addlabel.go alwaysallow.go alwaysdeny.go config.go configmap.go convert.go crd.go customresource.go main.go pods.go scheme.go


var CmdWebhook = &cobra.Command{
    Use:   "webhook",
    Short: "Starts a HTTP server, useful for testing MutatingAdmissionWebhook and ValidatingAdmissionWebhook",
    Long:  "" /* 284 byte string literal not displayed */,

    Args: cobra.MaximumNArgs(0),
    Run:  main,

CmdWebhook is used by agnhost Cobra.

type Config Uses

type Config struct {
    CertFile string
    KeyFile  string

Config contains the server (the webhook) cert and key.

Package webhook imports 20 packages (graph) and is imported by 2 packages. Updated 2020-05-29. Refresh now. Tools for package owners.