Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 490 for mywebhook (0.25 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    func mutationAnnotationValue(configuration, webhook string, mutated bool) string {
    	return fmt.Sprintf(`{"configuration":"%s","webhook":"%s","mutated":%t}`, configuration, webhook, mutated)
    }
    
    func patchAnnotationValue(configuration, webhook string, patch string) string {
    	return strings.Replace(fmt.Sprintf(`{"configuration": "%s", "webhook": "%s", "patch": %s, "patchType": "JSONPatch"}`, configuration, webhook, patch), " ", "", -1)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	SideEffectClassUnknown SideEffectClass = "Unknown"
    	// SideEffectClassNone means that calling the webhook will have no side effects.
    	SideEffectClassNone SideEffectClass = "None"
    	// SideEffectClassSome means that calling the webhook will possibly have side effects.
    	// If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  3. cmd/kube-apiserver/app/options/options_test.go

    		"--audit-policy-file=/policy",
    		"--audit-webhook-config-file=/webhook-config",
    		"--audit-webhook-mode=blocking",
    		"--audit-webhook-batch-buffer-size=42",
    		"--audit-webhook-batch-max-size=43",
    		"--audit-webhook-batch-max-wait=1s",
    		"--audit-webhook-batch-throttle-enable=false",
    		"--audit-webhook-batch-throttle-qps=43.5",
    		"--audit-webhook-batch-throttle-burst=44",
    		"--audit-webhook-truncate-enabled=true",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. plugin/pkg/admission/imagepolicy/admission.go

    	if err := normalizeWebhookConfig(&whConfig); err != nil {
    		return nil, err
    	}
    
    	clientConfig, err := webhook.LoadKubeconfig(whConfig.KubeConfigFile, nil)
    	if err != nil {
    		return nil, err
    	}
    	retryBackoff := webhook.DefaultRetryBackoffWithInitialDelay(whConfig.RetryBackoff)
    	gw, err := webhook.NewGenericWebhook(legacyscheme.Scheme, legacyscheme.Codecs, clientConfig, groupVersions, retryBackoff)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    )
    
    // WebhookRejectionErrorType defines different error types that happen in a webhook rejection.
    type WebhookRejectionErrorType string
    
    const (
    	namespace = "apiserver"
    	subsystem = "admission"
    
    	// WebhookRejectionCallingWebhookError identifies a calling webhook error which causes
    	// a webhook admission to reject a request
    	WebhookRejectionCallingWebhookError WebhookRejectionErrorType = "calling_webhook_error"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // +optional
      optional string matchPolicy = 7;
    }
    
    // MutatingWebhook describes an admission webhook and the resources and operations it applies to.
    message MutatingWebhook {
      // The name of the admission webhook.
      // Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where
      // "imagepolicy" is the name of the webhook, and kubernetes.io is the name
      // of the organization.
      // Required.
      optional string name = 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/validation/validation_test.go

    			Name:         "webhook.k8s.io",
    			ClientConfig: validClientConfig,
    			SideEffects:  &unknownSideEffect,
    		}, {
    			Name:         "webhook.k8s.io",
    			ClientConfig: validClientConfig,
    			SideEffects:  &unknownSideEffect,
    		},
    		}, true),
    		expectedError: `webhooks[1].name: Duplicate value: "webhook.k8s.io"`,
    	}, {
    		name: "Operations must not be empty or nil",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 147.1K bytes
    - Viewed (0)
  8. internal/event/config_test.go

    		{config1, "eu-west-1", []ARN{{TargetID{"1", "webhook"}, "eu-west-1"}}},
    		{config1, "", []ARN{{TargetID{"1", "webhook"}, ""}}},
    		{config2, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}}},
    		{config2, "", []ARN{{TargetID{"1", "webhook"}, ""}}},
    		{config3, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}, {TargetID{"2", "amqp"}, "us-east-1"}}},
    		{config3, "", []ARN{{TargetID{"1", "webhook"}, ""}, {TargetID{"2", "amqp"}, ""}}},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// If a request with the dry-run attribute would trigger a call to this webhook, the request will instead fail.
    	SideEffectClassUnknown SideEffectClass = "Unknown"
    	// SideEffectClassNone means that calling the webhook will have no side effects.
    	SideEffectClassNone SideEffectClass = "None"
    	// SideEffectClassSome means that calling the webhook will possibly have side effects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/validating/plugin.go

    type Plugin struct {
    	*generic.Webhook
    }
    
    var _ admission.ValidationInterface = &Plugin{}
    
    // NewValidatingAdmissionWebhook returns a generic admission webhook plugin.
    func NewValidatingAdmissionWebhook(configFile io.Reader) (*Plugin, error) {
    	handler := admission.NewHandler(admission.Connect, admission.Create, admission.Delete, admission.Update)
    	p := &Plugin{}
    	var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top