Documentation ¶
Overview ¶
Package admission contains admission controller logic
Index ¶
- func NewMutatingWebhook(...) admissionregv1.MutatingWebhook
- func NewMutatingWebhookConfiguration(webhooks []admissionregv1.MutatingWebhook, meshName, fsmVersion string) *admissionregv1.MutatingWebhookConfiguration
- func NewRule(operations []admissionregv1.OperationType, ...) admissionregv1.RuleWithOperations
- func NewValidatingWebhook(validatingWebhookName, webhookServiceNamespace, webhookServiceName, ... string, ...) admissionregv1.ValidatingWebhook
- func NewValidatingWebhookConfiguration(webhooks []admissionregv1.ValidatingWebhook, meshName, fsmVersion string) *admissionregv1.ValidatingWebhookConfiguration
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, objectSelector *metav1.LabelSelector, failurePolicy admissionregv1.FailurePolicyType, rules []admissionregv1.RuleWithOperations, ) admissionregv1.MutatingWebhook
NewMutatingWebhook creates a new MutatingWebhook
func NewMutatingWebhookConfiguration ¶
func NewMutatingWebhookConfiguration(webhooks []admissionregv1.MutatingWebhook, meshName, fsmVersion string) *admissionregv1.MutatingWebhookConfiguration
NewMutatingWebhookConfiguration creates a new MutatingWebhookConfiguration
func NewRule ¶
func NewRule( operations []admissionregv1.OperationType, apiGroups, apiVersions, resources []string, ) admissionregv1.RuleWithOperations
NewRule creates a new Rule
func NewValidatingWebhook ¶
func NewValidatingWebhook( validatingWebhookName, webhookServiceNamespace, webhookServiceName, webhookPath string, caBundle []byte, namespaceSelector *metav1.LabelSelector, objectSelector *metav1.LabelSelector, failurePolicy admissionregv1.FailurePolicyType, rules []admissionregv1.RuleWithOperations, ) admissionregv1.ValidatingWebhook
NewValidatingWebhook creates a new ValidatingWebhook
func NewValidatingWebhookConfiguration ¶
func NewValidatingWebhookConfiguration(webhooks []admissionregv1.ValidatingWebhook, meshName, fsmVersion string) *admissionregv1.ValidatingWebhookConfiguration
NewValidatingWebhookConfiguration creates a new ValidatingWebhookConfiguration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.