Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for GetWork (0.11 sec)

  1. pkg/kubelet/util/queue/work_queue_test.go

    	expected := []types.UID{types.UID("foo1"), types.UID("foo2")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    	// Dial the time to 1 hour ahead.
    	clock.Step(time.Hour)
    	expected = []types.UID{types.UID("foo3"), types.UID("foo4")}
    	compareResults(t, expected, q.GetWork())
    	compareResults(t, []types.UID{}, q.GetWork())
    }
    
    func TestNewBasicWorkQueue(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. cluster/addons/kube-network-policies/kube-network-policies.yaml

    kind: DaemonSet
    metadata:
      name: kube-network-policies
      namespace: kube-system
      labels:
        tier: node
        app: kube-network-policies
        k8s-app: kube-network-policies
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      selector:
        matchLabels:
          app: kube-network-policies
      template:
        metadata:
          labels:
            tier: node
            app: kube-network-policies
            k8s-app: kube-network-policies
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:27:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. cluster/addons/kube-network-policies/kube-network-policies-rbac.yaml

    metadata:
      name: kube-network-policies
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: ClusterRole
      name: system:network-policies
    subjects:
    - kind: ServiceAccount
      name: kube-network-policies
      namespace: kube-system
    ---
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      name: kube-network-policies
      namespace: kube-system
      labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 10:01:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/deployment/waypoint-no-network-label.yaml

    metadata:
      annotations: {}
      labels:
        gateway.istio.io/managed: istio.io-mesh-controller
        gateway.networking.k8s.io/gateway-name: namespace
        istio.io/gateway-name: namespace
        topology.istio.io/network: network-1
      name: namespace
      namespace: default
      ownerReferences:
      - apiVersion: gateway.networking.k8s.io/v1beta1
        kind: Gateway
        name: namespace
        uid: ""
    ---
    apiVersion: apps/v1
    kind: Deployment
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 22:41:03 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. manifests/charts/istio-cni/templates/network-attachment-definition.yaml

    Ben Leggett <******@****.***> 1715982749 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 231 bytes
    - Viewed (0)
  6. pilot/pkg/xds/endpoints/ep_filters.go

    	"istio.io/istio/pkg/config/labels"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/network"
    )
    
    // EndpointsByNetworkFilter is a network filter function to support Split Horizon EDS - filter the endpoints based on the network
    // of the connected sidecar. The filter will filter out all endpoints which are not present within the
    // sidecar network and add a gateway endpoint to remote networks that have endpoints
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/nettest/nettest.go

    	return rawSocketSess
    }
    
    // TestableNetwork reports whether network is testable on the current
    // platform configuration.
    //
    // See func Dial of the standard library for the supported networks.
    func TestableNetwork(network string) bool {
    	ss := strings.Split(network, ":")
    	switch ss[0] {
    	case "ip+nopriv":
    		// This is an internal network name for testing on the
    		// package net of the standard library.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/net/iprawsock_posix.go

    	network, proto, err := parseNetwork(ctx, sd.network, true)
    	if err != nil {
    		return nil, err
    	}
    	switch network {
    	case "ip", "ip4", "ip6":
    	default:
    		return nil, UnknownNetworkError(sd.network)
    	}
    	ctrlCtxFn := sd.Dialer.ControlContext
    	if ctrlCtxFn == nil && sd.Dialer.Control != nil {
    		ctrlCtxFn = func(ctx context.Context, network, address string, c syscall.RawConn) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:54:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    			},
    		},
    		{
    			name: "network only ",
    			ctl: testController{
    				network: "mynetwork",
    			},
    			podLabels: labels.Instance{
    				"k1": "v1",
    			},
    			expected: labels.Instance{
    				"k1":                       "v1",
    				label.TopologyNetwork.Name: "mynetwork",
    			},
    		},
    		{
    			name: "network priority",
    			ctl: testController{
    				network: "ns-network",
    			},
    			podLabels: labels.Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. internal/http/dial_others.go

    //
    //nolint:unused
    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		return nil
    	}
    }
    
    // DialContext is a function to make custom Dial for internode communications
    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 24 04:08:47 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top