type admissionRecorder …
func (r *admissionRecorder) Record(req *admissionv1.AdmissionRequest) { … }
func (r *admissionRecorder) MarkerReceived() { … }
func (r *admissionRecorder) Reset() chan struct{ … }
func newMatchConditionHandler(recorder *admissionRecorder) http.Handler { … }
func TestMatchConditions(t *testing.T) { … }
func TestMatchConditionsWithoutStrictCostEnforcement(t *testing.T) { … }
func TestMatchConditionsWithStrictCostEnforcement(t *testing.T) { … }
func TestMatchConditions_validation(t *testing.T) { … }
func matchConditionsTestPod(name, ns string) *corev1.Pod { … }
func newMarkerPod(namespace string) *corev1.Pod { … }
func repeatedMatchConditions(size int) []admissionregistrationv1.MatchCondition { … }
func generateMatchConditionsWithAuthzCheck(num int, exp string) []admissionregistrationv1.MatchCondition { … }