kubernetesk8s.io/kubernetes/plugin/pkg/webhook Index | Files

package webhook

import "k8s.io/kubernetes/plugin/pkg/webhook"

Package webhook implements a generic HTTP webhook plugin.

Index

Types

type GenericWebhook

type GenericWebhook struct {
	RestClient *restclient.RESTClient
}

func NewGenericWebhook

func NewGenericWebhook(kubeConfigFile string, groupVersions []unversioned.GroupVersion) (*GenericWebhook, error)

New creates a new GenericWebhook from the provided kubeconfig file.

Source Files

webhook.go

Version
v1.3.0-alpha.4
Published
May 17, 2016
Platform
js/wasm
Imports
9 packages
Last checked
43 seconds ago

Tools for package owners.