Documentation ¶
Index ¶
- func NewMutatingWebhook(...) admissionregv1.MutatingWebhook
- func NewMutatingWebhookConfiguration() *admissionregv1.MutatingWebhookConfiguration
- func NewRule(operations []admissionregv1.OperationType, ...) admissionregv1.RuleWithOperations
- func NewValidatingWebhook(validatingWebhookName, webhookServiceNamespace, webhookServiceName, ... string, ...) admissionregv1.ValidatingWebhook
- func NewValidatingWebhookConfiguration() *admissionregv1.ValidatingWebhookConfiguration
- func RegisterMutatingWebhook(name string, webhook admissionregv1.MutatingWebhook)
- func RegisterValidatingWebhook(name string, webhook admissionregv1.ValidatingWebhook)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMutatingWebhook ¶
func NewMutatingWebhook( mutatingWebhookName, webhookServiceNamespace, webhookServiceName, webhookPath string, caBundle []byte, namespaceSelector *metav1.LabelSelector, rules []admissionregv1.RuleWithOperations, ) admissionregv1.MutatingWebhook
func NewMutatingWebhookConfiguration ¶
func NewMutatingWebhookConfiguration() *admissionregv1.MutatingWebhookConfiguration
func NewRule ¶
func NewRule( operations []admissionregv1.OperationType, apiGroups, apiVersions, resources []string, ) admissionregv1.RuleWithOperations
func NewValidatingWebhook ¶
func NewValidatingWebhook( validatingWebhookName, webhookServiceNamespace, webhookServiceName, webhookPath string, caBundle []byte, namespaceSelector *metav1.LabelSelector, rules []admissionregv1.RuleWithOperations, ) admissionregv1.ValidatingWebhook
func NewValidatingWebhookConfiguration ¶
func NewValidatingWebhookConfiguration() *admissionregv1.ValidatingWebhookConfiguration
func RegisterMutatingWebhook ¶
func RegisterMutatingWebhook(name string, webhook admissionregv1.MutatingWebhook)
func RegisterValidatingWebhook ¶
func RegisterValidatingWebhook(name string, webhook admissionregv1.ValidatingWebhook)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.