Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRFC6902Patch ¶
CreateRFC6902Patch creates an RFC6902 patch that captures the difference between the specified resources.
func RegisterWebhook ¶
func RegisterWebhook(kubeClient kubernetes.Interface, admissionTLSCaBundle, admissionFailurePolicy string) error
RegisterWebhook registers the admission webhook.
Types ¶
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
Webhook represents an admission webhook.
func NewWebhook ¶
func NewWebhook(tlsCertificate tls.Certificate) *Webhook
NewWebhook creates a new instance of the admission webhook.
Click to show internal directories.
Click to hide internal directories.