Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIndex (0.29 sec)

  1. pkg/kube/krt/index_test.go

    	"istio.io/istio/pkg/kube/kclient/clienttest"
    	"istio.io/istio/pkg/kube/krt"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestIndex(t *testing.T) {
    	c := kube.NewFakeClient()
    	kpc := kclient.New[*corev1.Pod](c)
    	pc := clienttest.Wrap(t, kpc)
    	pods := krt.WrapClient[*corev1.Pod](kpc)
    	stop := test.NewStop(t)
    	c.RunAndWait(stop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    		},
    		WorkloadSelector: &networking.WorkloadSelector{
    			Labels: map[string]string{"app": "wle"},
    		},
    		Resolution: networking.ServiceEntry_STATIC,
    	},
    }
    
    func TestIndex(t *testing.T) {
    	// Setup a couple of workload instances for test
    	wi1 := &model.WorkloadInstance{
    		Name:      selector.Name,
    		Namespace: selector.Namespace,
    		Endpoint: &model.IstioEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top