Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 350 for invalidating (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/plugins.go

    	"k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle"
    	validatingadmissionpolicy "k8s.io/apiserver/pkg/admission/plugin/policy/validating"
    	mutatingwebhook "k8s.io/apiserver/pkg/admission/plugin/webhook/mutating"
    	validatingwebhook "k8s.io/apiserver/pkg/admission/plugin/webhook/validating"
    )
    
    // RegisterAllAdmissionPlugins registers all admission plugins
    func RegisterAllAdmissionPlugins(plugins *admission.Plugins) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. pkg/util/flag/flags.go

    var (
    	_ pflag.Value = &IPVar{}
    	_ pflag.Value = &IPPortVar{}
    	_ pflag.Value = &PortRangeVar{}
    	_ pflag.Value = &ReservedMemoryVar{}
    	_ pflag.Value = &RegisterWithTaintsVar{}
    )
    
    // IPVar is used for validating a command line option that represents an IP. It implements the pflag.Value interface
    type IPVar struct {
    	Val *string
    }
    
    // Set sets the flag value
    func (v *IPVar) Set(s string) error {
    	if len(s) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 19 03:30:46 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/deepcopy.go

    		in, out := &in.XMapType, &out.XMapType
    		*out = new(string)
    		**out = **in
    	}
    
    	if in.XValidations != nil {
    		inValidations, outValidations := &in.XValidations, &out.XValidations
    		*outValidations = make([]ValidationRule, len(*inValidations))
    		for i := range *inValidations {
    			in.XValidations[i].DeepCopyInto(&out.XValidations[i])
    		}
    	}
    
    	return out
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 17:55:23 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go

    		expectResult           *metav1.Status
    		expectErr              string
    	}{
    		// Allowed validating
    		{
    			name: "v1beta1 allowed validating",
    			uid:  "123",
    			review: &admissionv1beta1.AdmissionReview{
    				Response: &admissionv1beta1.AdmissionResponse{Allowed: true},
    			},
    			expectAllowed: true,
    		},
    		{
    			name: "v1 allowed validating",
    			uid:  "123",
    			review: &admissionv1.AdmissionReview{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. releasenotes/notes/http-route-validation.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - https://github.com/istio/istio/issues/48534
    
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 239 bytes
    - Viewed (0)
  6. pkg/registry/apiserverinternal/storageversion/strategy_test.go

    	if len(errs) != 0 {
    		t.Errorf("Unexpected error validating %v", errs)
    	}
    	storageVersionWithoutName := &apiserverinternal.StorageVersion{
    		ObjectMeta: metav1.ObjectMeta{Name: ""},
    	}
    	Strategy.PrepareForUpdate(ctx, storageVersionWithoutName, storageVersion)
    	errs = Strategy.ValidateUpdate(ctx, storageVersionWithoutName, storageVersion)
    	if len(errs) != 0 {
    		t.Errorf("Unexpected error validating %v", errs)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 06 07:26:18 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/controller/controller.go

    		return true, ""
    	}
    	// If some validating webhooks does not support dryRun(sideEffects=Unknown or Some), we will get this error.
    	// We should assume valdiation is ready because there is no point in retrying this request.
    	if strings.Contains(err.Error(), unsupportedDryRunMessageFragment) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/AbstractVirtualFileSystemTest.groovy

                return updateFunction.update(SnapshotHierarchy.NodeDiffListener.NOOP)
            }
        }
    
        def "does not store snapshot when invalidation happened in between"() {
            def location = '/my/location/new'
            when:
            start {
                vfs.store(location, { ->
                    instant.snapshottingStarted
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go

    			}},
    
    			SkipBenchmark: true,
    			ExpectAllow:   true,
    			ExpectAnnotations: map[string]string{
    				"failed-open.validating.webhook.admission.k8s.io/round_0_index_0": "internalErr A",
    				"failed-open.validating.webhook.admission.k8s.io/round_0_index_1": "internalErr B",
    				"failed-open.validating.webhook.admission.k8s.io/round_0_index_2": "internalErr C",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    }
    
    // ObserveWebhookFailOpen records validating or mutating webhook that fail open.
    func (m *AdmissionMetrics) ObserveWebhookFailOpen(ctx context.Context, name, stepType string) {
    	m.webhookFailOpen.WithContext(ctx).WithLabelValues(name, stepType).Inc()
    }
    
    // ObserveMatchConditionEvalError records validating or mutating webhook that are not called due to match conditions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
Back to top