Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for noImports (0.17 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            sourceFile << ""
    
            then:
            noIncludes()
            noImports()
        }
    
        def "finds quoted include"() {
            when:
            sourceFile << """
        #include "test.h"
    """
    
            then:
            includes == [new IncludeWithSimpleExpression('test.h', false, IncludeType.QUOTED)]
    
            and:
            noImports()
        }
    
        def "finds quoted include on first line of file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  2. pkg/util/iptables/testing/parse_test.go

    		err       string
    	}{
    		{
    			name: "basic rule",
    			rule: `-A KUBE-NODEPORTS -m comment --comment "ns2/svc2:p80 health check node port" -m tcp -p tcp --dport 30000 -j ACCEPT`,
    			parsed: &Rule{
    				Raw:             `-A KUBE-NODEPORTS -m comment --comment "ns2/svc2:p80 health check node port" -m tcp -p tcp --dport 30000 -j ACCEPT`,
    				Chain:           iptables.Chain("KUBE-NODEPORTS"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
  3. pkg/proxy/nftables/helpers_test.go

    		add map ip kube-proxy no-endpoint-nodeports { type inet_proto . inet_service : verdict ; comment "vmap to drop or reject packets to service nodeports with no endpoints" ; }
    
    		add rule ip kube-proxy endpoints-check ip daddr . meta l4proto . th dport vmap @no-endpoint-services
    		add rule ip kube-proxy endpoints-check fib daddr type local ip daddr != 127.0.0.0/8 meta l4proto . th dport vmap @no-endpoint-nodeports
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 09:57:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  4. pkg/registry/core/service/strategy_test.go

    		}, { // nodePort cases
    			name:   "don't clear nodePorts for type=NodePort",
    			svc:    makeValidServiceCustom(setTypeNodePort, setNodePorts),
    			patch:  nil,
    			expect: makeValidServiceCustom(setTypeNodePort, setNodePorts),
    		}, {
    			name:   "don't clear nodePorts for type=LoadBalancer",
    			svc:    makeValidServiceCustom(setTypeLoadBalancer, setNodePorts),
    			patch:  nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  5. pkg/kubelet/lifecycle/predicate_test.go

    				Status:     v1.NodeStatus{Capacity: makeResources(10, 20, 32, 0, 0, 0), Allocatable: makeAllocatableResources(10, 20, 32, 0, 0, 0)},
    			},
    			reasons: []PredicateFailureReason{&PredicateFailureError{nodeports.Name, nodeports.ErrReason}},
    			name:    "hostport conflict",
    		},
    		{
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Tolerations: []v1.Toleration{
    						{Key: "foo"},
    						{Key: "bar"},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  6. cluster/addons/calico-policy-controller/networkpolicies-crd.yaml

                                field.
                              items:
                                type: string
                              type: array
                            notPorts:
                              description: NotPorts is the negated version of the Ports
                                field. Since only some protocols have ports, if any ports
                                are specified it requires the Protocol match in the Rule
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 44.2K bytes
    - Viewed (0)
  7. pkg/scheduler/eventhandlers_test.go

    	nodeaffinityError := AdmissionResult{Name: nodeaffinity.Name, Reason: nodeaffinity.ErrReasonPod}
    	nodenameError := AdmissionResult{Name: nodename.Name, Reason: nodename.ErrReason}
    	nodeportsError := AdmissionResult{Name: nodeports.Name, Reason: nodeports.ErrReason}
    	podOverheadError := AdmissionResult{InsufficientResource: &noderesources.InsufficientResource{ResourceName: v1.ResourceCPU, Reason: "Insufficient cpu", Requested: 2000, Used: 7000, Capacity: 8000}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 10 14:38:54 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/server_test.go

    					plugins := defaults.ExpandedPluginsV1.DeepCopy()
    					plugins.Filter.Enabled = []config.Plugin{
    						{Name: "NodeResourcesFit"},
    						{Name: "NodePorts"},
    					}
    					plugins.PreFilter.Enabled = []config.Plugin{
    						{Name: "NodeResourcesFit"},
    						{Name: "NodePorts"},
    					}
    					plugins.PreScore.Enabled = []config.Plugin{
    						{Name: "VolumeBinding"},
    						{Name: "NodeResourcesFit"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. cluster/addons/calico-policy-controller/globalnetworkpolicy-crd.yaml

                                field.
                              items:
                                type: string
                              type: array
                            notPorts:
                              description: NotPorts is the negated version of the Ports
                                field. Since only some protocols have ports, if any ports
                                are specified it requires the Protocol match in the Rule
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 45.2K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/model/model_test.go

    - source:
        requestPrincipals: ["td-1/ns/foo/sa/sleep-3"]
        notRequestPrincipals: ["td-1/ns/foo/sa/sleep-4"]
    to:
    - operation:
        ports: ["8001"]
        notPorts: ["8002"]
    - operation:
        ports: ["8003"]
        notPorts: ["8004"]
    when:
    - key: "source.principal"
      values: ["td-1/ns/foo/sa/httpbin-1"]
      notValues: ["td-1/ns/foo/sa/httpbin-2"]
    - key: "destination.ip"
      values: ["10.0.0.1"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top