Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 151 for admitPV (0.27 sec)

  1. src/net/sockopt_aix.go

    	if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
    		// 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: Sat May 09 00:33:27 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	// GetValidatingWebhook if the accessor contains a ValidatingWebhook, returns it and true, else returns false.
    	GetValidatingWebhook() (*v1.ValidatingWebhook, bool)
    
    	// GetType returns the type of the accessor (validate or admit)
    	GetType() string
    }
    
    // NewMutatingWebhookAccessor creates an accessor for a MutatingWebhook.
    func NewMutatingWebhookAccessor(uid, configurationName string, h *v1.MutatingWebhook) WebhookAccessor {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/admission/initializer_test.go

    limitations under the License.
    */
    
    package admission
    
    import (
    	"context"
    	"testing"
    
    	"k8s.io/apiserver/pkg/admission"
    )
    
    type doNothingAdmission struct{}
    
    func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	return nil
    }
    func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. pkg/controlplane/apiserver/admission/initializer_test.go

    	"context"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/admission"
    	quota "k8s.io/apiserver/pkg/quota/v1"
    )
    
    type doNothingAdmission struct{}
    
    func (doNothingAdmission) Admit(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    	return nil
    }
    func (doNothingAdmission) Handles(o admission.Operation) bool { return false }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. plugin/pkg/admission/deny/admission_test.go

    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    func TestAdmission(t *testing.T) {
    	handler := admissiontesting.WithReinvocationTesting(t, NewAlwaysDeny().(*alwaysDeny))
    	err := handler.Admit(context.TODO(), admission.NewAttributesRecord(nil, nil, api.Kind("kind").WithVersion("version"), "namespace", "name", api.Resource("resource").WithVersion("version"), "subresource", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  6. pkg/kubelet/preemption/preemption.go

    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    	"k8s.io/kubernetes/pkg/kubelet/lifecycle"
    	"k8s.io/kubernetes/pkg/kubelet/metrics"
    	kubetypes "k8s.io/kubernetes/pkg/kubelet/types"
    )
    
    const message = "Preempted in order to admit critical pod"
    
    // CriticalPodAdmissionHandler is an AdmissionFailureHandler that handles admission failure for Critical Pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 16:53:19 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. src/runtime/pprof/label.go

    		return labelMap(nil)
    	}
    	return *labels
    }
    
    // labelMap is the representation of the label set held in the context type.
    // This is an initial implementation, but it will be replaced with something
    // that admits incremental immutable modification more efficiently.
    type labelMap map[string]string
    
    // String satisfies Stringer and returns key, value pairs in a consistent
    // order.
    func (l *labelMap) String() string {
    	if l == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. plugin/pkg/admission/alwayspullimages/admission.go

    type AlwaysPullImages struct {
    	*admission.Handler
    }
    
    var _ admission.MutationInterface = &AlwaysPullImages{}
    var _ admission.ValidationInterface = &AlwaysPullImages{}
    
    // Admit makes an admission decision based on the request attributes
    func (a *AlwaysPullImages) Admit(ctx context.Context, attributes admission.Attributes, o admission.ObjectInterfaces) (err error) {
    	// Ignore all calls to subresources or resources other than pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  9. 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
    - 4.3K bytes
    - Viewed (0)
  10. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux.go

    	)
    	return manager, manager
    }
    
    // Admit rejects all pods if node is shutting
    func (m *managerImpl) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {
    	nodeShuttingDown := m.ShutdownStatus() != nil
    
    	if nodeShuttingDown {
    		return lifecycle.PodAdmitResult{
    			Admit:   false,
    			Reason:  nodeShutdownNotAdmittedReason,
    			Message: nodeShutdownNotAdmittedMessage,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 08:02:40 UTC 2022
    - 15.5K bytes
    - Viewed (0)
Back to top