kubernetes/test/images/agnhost/webhook/main.go

var certFile

var keyFile

var port

var sidecarImage

var CmdWebhook

func init() {}

type admitv1beta1Func

type admitv1Func

type admitHandler

func newDelegateToV1AdmitHandler(f admitv1Func) admitHandler {}

func delegateV1beta1AdmitToV1(f admitv1Func) admitv1beta1Func {}

// serve handles the http portion of a request prior to handing to an admit
// function
func serve(w http.ResponseWriter, r *http.Request, admit admitHandler) {}

func serveAlwaysAllowDelayFiveSeconds(w http.ResponseWriter, r *http.Request) {}

func serveAlwaysDeny(w http.ResponseWriter, r *http.Request) {}

func serveAddLabel(w http.ResponseWriter, r *http.Request) {}

func servePods(w http.ResponseWriter, r *http.Request) {}

func serveAttachingPods(w http.ResponseWriter, r *http.Request) {}

func serveMutatePods(w http.ResponseWriter, r *http.Request) {}

func serveMutatePodsSidecar(w http.ResponseWriter, r *http.Request) {}

func serveConfigmaps(w http.ResponseWriter, r *http.Request) {}

func serveMutateConfigmaps(w http.ResponseWriter, r *http.Request) {}

func serveCustomResource(w http.ResponseWriter, r *http.Request) {}

func serveMutateCustomResource(w http.ResponseWriter, r *http.Request) {}

func serveCRD(w http.ResponseWriter, r *http.Request) {}

func main(cmd *cobra.Command, args []string) {}