Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 151 for admitPV (0.17 sec)

  1. src/net/sockopt_bsd.go

    		}
    	}
    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW && supportsIPv4map() {
    		// Allow both IP versions even if the OS default
    		// is otherwise. Note that some operating systems
    		// never admit this option.
    		syscall.SetsockoptInt(s, syscall.IPPROTO_IPV6, syscall.IPV6_V6ONLY, boolint(ipv6only))
    	}
    	if (sotype == syscall.SOCK_DGRAM || sotype == syscall.SOCK_RAW) && family != syscall.AF_UNIX {
    		// Allow broadcast.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     * this class rather than implement {@link ValueGraph} directly.
     *
     * <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
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/request/webhook_duration_test.go

    		}
    
    		wd, ok = LatencyTrackersFrom(ctx)
    		if !ok {
    			t.Errorf("expected webhook duration to be initialized")
    		}
    
    		if wd.MutatingWebhookTracker.GetLatency() != tc.SumDurations {
    			t.Errorf("expected admit duration: %q, but got: %q", tc.SumDurations, wd.MutatingWebhookTracker.GetLatency())
    		}
    
    		if wd.ValidatingWebhookTracker.GetLatency() != tc.MaxDuration {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 09:15:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. plugin/pkg/admission/storage/storageobjectinuseprotection/admission_test.go

    				test.namespace,
    				"foo",
    				test.resource,
    				"", // subresource
    				admission.Create,
    				&metav1.CreateOptions{},
    				false, // dryRun
    				nil,   // userInfo
    			)
    
    			err := ctrl.Admit(context.TODO(), attrs, nil)
    			if err != nil {
    				t.Errorf("Test %q: got unexpected error: %v", test.name, err)
    			}
    			if !reflect.DeepEqual(test.expectedObject, obj) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/container_manager_windows.go

    	deviceManager devicemanager.Manager
    	// Interface for Topology resource co-ordination
    	topologyManager topologymanager.Manager
    }
    
    type noopWindowsResourceAllocator struct{}
    
    func (ra *noopWindowsResourceAllocator) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {
    	return admission.GetPodAdmitResult(nil)
    }
    
    func (cm *containerManagerImpl) Start(node *v1.Node,
    	activePods ActivePodsFunc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 11:25:36 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. plugin/pkg/admission/runtimeclass/admission.go

    		return fmt.Errorf("missing RuntimeClass lister")
    	}
    	if r.runtimeClassClient == nil {
    		return fmt.Errorf("missing RuntimeClass client")
    	}
    	return nil
    }
    
    // Admit makes an admission decision based on the request attributes
    func (r *RuntimeClass) Admit(ctx context.Context, attributes admission.Attributes, o admission.ObjectInterfaces) error {
    	// Ignore all calls to subresources or resources other than pods.
    	if shouldIgnore(attributes) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 05:53:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission.go

    }
    
    var _ = initializer.WantsExternalKubeInformerFactory(&Lifecycle{})
    var _ = initializer.WantsExternalKubeClientSet(&Lifecycle{})
    
    // Admit makes an admission decision based on the request attributes
    func (l *Lifecycle) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	// prevent deletion of immortal namespaces
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	webhookutil "k8s.io/apiserver/pkg/util/webhook"
    	"k8s.io/client-go/informers"
    	clientset "k8s.io/client-go/kubernetes"
    )
    
    // Webhook is an abstract admission plugin with all the infrastructure to define Admit or Validate on-top.
    type Webhook struct {
    	*admission.Handler
    
    	sourceFactory sourceFactory
    
    	hookSource       Source
    	clientManager    *webhookutil.ClientManager
    	namespaceMatcher *namespace.Matcher
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. plugin/pkg/admission/podnodeselector/admission.go

    	for {
    		if err := d.Decode(defaultConfig); err != nil {
    			if err != io.EOF {
    				continue
    			}
    		}
    		break
    	}
    	return defaultConfig
    }
    
    // Admit enforces that pod and its namespace node label selectors matches at least a node in the cluster.
    func (p *Plugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	if shouldIgnore(a) {
    		return nil
    	}
    	if !p.WaitForReady() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  10. plugin/pkg/admission/podtolerationrestriction/admission.go

    type Plugin struct {
    	*admission.Handler
    	client          kubernetes.Interface
    	namespaceLister corev1listers.NamespaceLister
    	pluginConfig    *pluginapi.Configuration
    }
    
    // Admit checks the admission policy and triggers corresponding actions
    func (p *Plugin) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	if shouldIgnore(a) {
    		return nil
    	}
    
    	if !p.WaitForReady() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 29 20:07:59 UTC 2020
    - 8.3K bytes
    - Viewed (0)
Back to top