Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sa1 (0.07 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    	s.addWorkloadEntries(t, "240.240.34.56", "name1", "sa1", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("name1"))
    	s.addWorkloadEntries(t, "240.240.34.57", "name2", "sa1", map[string]string{"app": "other"})
    	s.assertEvent(t, s.wleXdsName("name2"))
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "pod1", "pod2", "name1", "name2")
    
    	s.addWorkloadEntries(t, "140.140.0.11", "name3", "sa1", map[string]string{"app": "other"})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	s.assertEvent(t, s.podXdsName("pod2"))
    
    	s.addWaypoint(t, "10.0.0.1", "waypoint-sa1", "", false)
    	s.addWaypoint(t, "10.0.0.2", "waypoint-sa2", constants.WorkloadTraffic, true)
    	s.assertEvent(t, s.podXdsName("pod2"))
    
    	// make waypoint-sa1 ready
    	s.addWaypoint(t, "10.0.0.1", "waypoint-sa1", constants.WorkloadTraffic, true)
    	// if waypoint-sa1 was configured when not ready "pod2" assertions should skip the "pod1" xds event and this should fail
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. pilot/pkg/model/endpointshards_test.go

    		{Address: "10.172.0.1", ServiceAccount: "sa1"},
    		{Address: "10.172.0.2", ServiceAccount: "sa-vm1"},
    	}
    
    	testCases := []struct {
    		name      string
    		shardKey  ShardKey
    		endpoints []*IstioEndpoint
    		expect    bool
    	}{
    		{
    			name:      "added new endpoint",
    			shardKey:  c1Key,
    			endpoints: append(cluster1Endppoints, &IstioEndpoint{Address: "10.172.0.3", ServiceAccount: "sa1"}),
    			expect:    false,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 15:48:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/node/graph_test.go

    			Spec: corev1.PodSpec{
    				NodeName:                 nodeName,
    				ServiceAccountName:       "sa1",
    				DeprecatedServiceAccount: "sa1",
    				Volumes: []corev1.Volume{
    					{Name: "volume1", VolumeSource: corev1.VolumeSource{ConfigMap: &corev1.ConfigMapVolumeSource{LocalObjectReference: corev1.LocalObjectReference{Name: "cm1"}}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  5. pilot/pkg/model/service_test.go

    			name:     "matching ports",
    		},
    		{
    			first: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			other: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			shouldEq: true,
    			name:     "matching service accounts",
    		},
    		{
    			first: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			other: &Service{
    				ServiceAccounts: []string{"sa2"},
    			},
    			shouldEq: false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	s := newAmbientTestServer(t, testC, testNW)
    	s.addWorkloadEntries(t, "", "emptyaddr1", "sa1", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("emptyaddr1"))
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "emptyaddr1")
    
    	s.addWorkloadEntries(t, "", "emptyaddr2", "sa1", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("emptyaddr2"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. src/math/erf.go

    	ra5 = -1.84605092906711035994e+02 // 0xC067135CEBCCABB2
    	ra6 = -8.12874355063065934246e+01 // 0xC054526557E4D2F2
    	ra7 = -9.81432934416914548592e+00 // 0xC023A0EFC69AC25C
    	sa1 = 1.96512716674392571292e+01  // 0x4033A6B9BD707687
    	sa2 = 1.37657754143519042600e+02  // 0x4061350C526AE721
    	sa3 = 4.34565877475229228821e+02  // 0x407B290DD58A1A71
    	sa4 = 6.45387271733267880336e+02  // 0x40842B1921EC2868
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/network_test.go

    			return nil
    		}, retry.Timeout(time.Second*5))
    	}
    
    	pc := clienttest.NewWriter[*corev1.Pod](t, s.client)
    	sc := clienttest.NewWriter[*corev1.Service](t, s.client)
    	pod1 := generatePod("127.0.0.1", "pod1", testNS, "sa1", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod1)
    	fx.WaitOrFail(t, "xds")
    
    	pod2 := generatePod("127.0.0.2", "pod2", testNS, "sa2", "node1", map[string]string{"app": "a"}, nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/runtime/race/testdata/mop_test.go

    }
    
    // May crash if the instrumentation is reckless.
    func TestNoRaceEnoughRegisters(t *testing.T) {
    	// from erf.go
    	const (
    		sa1 = 1
    		sa2 = 2
    		sa3 = 3
    		sa4 = 4
    		sa5 = 5
    		sa6 = 6
    		sa7 = 7
    		sa8 = 8
    	)
    	var s, S float64
    	s = 3.1415
    	S = 1 + s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(sa5+s*(sa6+s*(sa7+s*sa8)))))))
    	s = S
    }
    
    // emptyFunc should not be inlined.
    func emptyFunc(x int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 23 16:46:25 UTC 2023
    - 28.9K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    		{
    			serviceAccount: api.ServiceAccount{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "sa1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Secrets: []api.ObjectReference{},
    			},
    			// Columns: Name, (Num) Secrets, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"sa1", int64(0), "0s"}}},
    		},
    		// Basic service account with two secrets.
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top