Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetMatchConditions (0.2 sec)

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

    	GetTimeoutSeconds() *int32
    	// GetAdmissionReviewVersions gets the webhook AdmissionReviewVersions field.
    	GetAdmissionReviewVersions() []string
    
    	// GetMatchConditions gets the webhook match conditions field.
    	GetMatchConditions() []v1.MatchCondition
    
    	// GetMutatingWebhook if the accessor contains a MutatingWebhook, returns it and true, else returns false.
    	GetMutatingWebhook() (*v1.MutatingWebhook, bool)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors_test.go

    				SideEffects:             accessor.GetSideEffects(),
    				TimeoutSeconds:          accessor.GetTimeoutSeconds(),
    				AdmissionReviewVersions: accessor.GetAdmissionReviewVersions(),
    				MatchConditions:         accessor.GetMatchConditions(),
    			}
    			if !reflect.DeepEqual(orig, copy) {
    				t.Errorf("expected mutatingWebhook to round trip through WebhookAccessor, diff:\n%s", cmp.Diff(orig, copy))
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    		}
    	}
    
    	if invocation == nil {
    		return nil, nil
    	}
    	if matchNsErr != nil {
    		return nil, matchNsErr
    	}
    	if matchObjErr != nil {
    		return nil, matchObjErr
    	}
    	matchConditions := h.GetMatchConditions()
    	if len(matchConditions) > 0 {
    		versionedAttr, err := v.VersionedAttribute(invocation.Kind)
    		if err != nil {
    			return nil, apierrors.NewInternalError(err)
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top