Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for fare (0.14 sec)

  1. cni/pkg/nodeagent/informers.go

    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    	// the fake client will sometimes drop pod events leading to test flakes.
    	//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/net_test.go

    	fixture := getTestFixure(ctx)
    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    	podMeta := metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    		// this uid exists in the fake filesystem.
    		UID: "863b91d4-4b68-4efa-917f-4b560e3e86aa",
    	}
    	podIP := netip.MustParseAddr("99.9.9.9")
    	podIPs := []netip.Addr{podIP}
    	expectPodAddedToIPSet(fixture.ipsetDeps, podMeta)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher_test.go

    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    	addEvent, err := processAddEvent(payload)
    	assert.Equal(t, err, nil)
    
    	// Push it thru the handler
    	pluginServer.ReconcileCNIAddEvent(ctx, addEvent)
    
    	waitForMockCalls()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. istioctl/pkg/injector/injector-list_test.go

    		},
    		{
    			name: "has both rev label and annotation, use label",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						label.IoIstioRev.Name: "test-label", // don't care about the label
    					},
    					Annotations: map[string]string{
    						annotation.SidecarStatus.Name: `{"revision":"test-anno"}`,
    					},
    				},
    			},
    			expectedRevision: "test-anno",
    		},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. common/scripts/setup_env.sh

      fi
    }
    
    # This function is designed for maximum compatibility with various platforms. This runs on
    # any Mac or Linux platform with bash 4.2+. Please take care not to modify this function
    # without testing properly.
    #
    # This function will properly handle any type of path including those with spaces using the
    # loading pattern specified by *kubectl config*.
    #
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  6. common/config/.golangci.yml

            # - name: unnecessary-stmt
            # - name: deep-exit
            # - name: import-shadowing
            # - name: modifies-value-receiver
            # - name: unused-receiver
            # - name: bare-return
            # - name: flag-parameter
            # - name: unhandled-error
            # - name: if-return
      unparam:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 19:22:39 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top