Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 105 for admitPV (0.13 sec)

  1. guava/src/com/google/common/graph/AbstractBaseGraph.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * This class provides a skeletal implementation of {@link BaseGraph}.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/rest/update.go

    }
    
    // AdmissionToValidateObjectUpdateFunc converts validating admission to a rest validate object update func
    func AdmissionToValidateObjectUpdateFunc(admit admission.Interface, staticAttributes admission.Attributes, o admission.ObjectInterfaces) ValidateObjectUpdateFunc {
    	validatingAdmission, ok := admit.(admission.ValidationInterface)
    	if !ok {
    		return func(ctx context.Context, obj, old runtime.Object) error { return nil }
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * This class provides a skeletal implementation of {@link BaseGraph}.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/topologymanager/scope.go

    	noneTopologyScope = "none"
    )
    
    type podTopologyHints map[string]map[string]TopologyHint
    
    // Scope interface for Topology Manager
    type Scope interface {
    	Name() string
    	GetPolicy() Policy
    	Admit(pod *v1.Pod) lifecycle.PodAdmitResult
    	// AddHintProvider adds a hint provider to manager to indicate the hint provider
    	// wants to be consoluted with when making topology hints
    	AddHintProvider(h HintProvider)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 14:44:24 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. plugin/pkg/admission/imagepolicy/admission_test.go

    				}
    			}
    			if tt.wantErr {
    				if err == nil {
    					t.Errorf("expected error making admission request: %v", err)
    				}
    				return
    			}
    			if err != nil {
    				t.Errorf("%s: failed to admit with AllowAll policy: %v", tt.test, err)
    				return
    			}
    
    			service.Deny()
    			if err := wh.Validate(context.TODO(), attr, nil); err == nil {
    				t.Errorf("%s: incorrectly admitted with DenyAll policy", tt.test)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/topologymanager/policy.go

    import (
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager/bitmask"
    )
    
    // Policy interface for Topology Manager Pod Admit Result
    type Policy interface {
    	// Returns Policy Name
    	Name() string
    	// Returns a merged TopologyHint based on input from hint providers
    	// and a Pod Admit Handler Response based on hints and policy type
    	Merge(providersHints []map[string][]TopologyHint) (TopologyHint, bool)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/groupversion.go

    	// authorization check using the request URI but it may be necessary to make additional checks, such as in
    	// the create-on-update case
    	Authorizer authorizer.Authorizer
    
    	Admit admission.Interface
    
    	MinRequestTimeout time.Duration
    
    	// The limit on the request body size that would be accepted and decoded in a write request.
    	// 0 means no limit.
    	MaxRequestBodyBytes int64
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. plugin/pkg/admission/network/defaultingressclass/admission_test.go

    				"", // subresource
    				admission.Create,
    				&metav1.CreateOptions{},
    				false, // dryRun
    				nil,   // userInfo
    			)
    
    			err := admissiontesting.WithReinvocationTesting(t, ctrl).Admit(context.TODO(), attrs, nil)
    			if !reflect.DeepEqual(err, testCase.expectedError) {
    				t.Errorf("Expected error: %v, got %v", testCase.expectedError, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 04 13:12:32 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. plugin/pkg/admission/storage/storageclass/setdefault/admission_test.go

    			"", // subresource
    			admission.Create,
    			&metav1.CreateOptions{},
    			false, // dryRun
    			nil,   // userInfo
    		)
    		err := admissiontesting.WithReinvocationTesting(t, ctrl).Admit(context.TODO(), attrs, nil)
    		klog.Infof("Got %v", err)
    		if err != nil && !test.expectError {
    			t.Errorf("Test %q: unexpected error received: %v", test.name, err)
    		}
    		if err == nil && test.expectError {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 19 04:00:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/plugin.go

    	{Group: admissionregistrationv1.GroupName, Resource: "mutatingadmissionpolicybindings"},
    }
    
    // AdmissionPolicyManager is an abstract admission plugin with all the
    // infrastructure to define Admit or Validate on-top.
    type Plugin[H any] struct {
    	*admission.Handler
    
    	sourceFactory     sourceFactory[H]
    	dispatcherFactory dispatcherFactory[H]
    
    	source     Source[H]
    	dispatcher Dispatcher[H]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 19:11:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top