Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AdmissionCheck (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    	} else {
    		operation = admission.Update
    		options = patchToUpdateOptions(p.options)
    	}
    	if p.admissionCheck != nil && p.admissionCheck.Handles(operation) {
    		attributes := p.admissionAttributes(ctx, patchedObject, currentObject, operation, options)
    		return patchedObject, p.admissionCheck.Admit(ctx, attributes, p.objectInterfaces)
    	}
    	return patchedObject, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. pkg/scheduler/eventhandlers.go

    		admissionResults := AdmissionCheck(pod, nodeInfo, false)
    		if len(admissionResults) != 0 {
    			return false
    		}
    		_, isUntolerated := corev1helpers.FindMatchingUntoleratedTaint(nodeInfo.Node().Spec.Taints, pod.Spec.Tolerations, func(t *v1.Taint) bool {
    			return t.Effect == v1.TaintEffectNoSchedule
    		})
    		return !isUntolerated
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    			resource:        resource,
    
    			objectInterfaces: objectInterfaces,
    
    			hubGroupVersion: hubVersion,
    
    			createValidation: rest.ValidateAllObjectFunc,
    			updateValidation: admissionValidation,
    			admissionCheck:   admissionMutation,
    
    			codec: codec,
    
    			restPatcher: testPatcher,
    			name:        name,
    			patchType:   patchType,
    			patchBytes:  patch,
    			options: &metav1.PatchOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top