Documentation ¶
Overview ¶
Package webhook implements a generic HTTP webhook plugin.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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.
Click to show internal directories.
Click to hide internal directories.