Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for sa2 (0.18 sec)

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

    	// create the waypoint service
    	s.addService(t, "waypoint-sa2",
    		map[string]string{constants.ManagedGatewayLabel: constants.ManagedGatewayMeshControllerLabel},
    		map[string]string{},
    		[]int32{80}, map[string]string{constants.GatewayNameLabel: "waypoint-sa2"}, "10.0.0.3")
    	s.assertEvent(t,
    		s.podXdsName("waypoint-sa2-pod"),
    		s.svcXdsName("waypoint-sa2"),
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. pkg/kube/kclient/index_test.go

    		ServiceAccount: types.NamespacedName{
    			Namespace: "ns",
    			Name:      "sa",
    		},
    		Node: "node",
    	}
    	k2 := SaNode{
    		ServiceAccount: types.NamespacedName{
    			Namespace: "ns",
    			Name:      "sa2",
    		},
    		Node: "node",
    	}
    	assert.Equal(t, index.Lookup(k1), nil)
    	assert.Equal(t, index.Lookup(k2), nil)
    	pod1 := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod",
    			Namespace: "ns",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 04 03:49:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	// WorkloadEntry not in policy
    	s.addWorkloadEntries(t, "127.0.0.2", "name2", "sa2", map[string]string{"app": "not-a"})
    	s.assertEvent(t, s.wleXdsName("name2"))
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.2"))[0].GetWorkload().GetAuthorizationPolicies(),
    		nil)
    
    	// Add it to the policy by updating its selector
    	s.addWorkloadEntries(t, "127.0.0.2", "name2", "sa2", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("name2"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. pilot/pkg/model/endpointshards_test.go

    			expect:    false,
    		},
    		{
    			name:      "added new sa",
    			shardKey:  c1Key,
    			endpoints: append(cluster1Endppoints, &IstioEndpoint{Address: "10.172.0.3", ServiceAccount: "sa2"}),
    			expect:    true,
    		},
    		{
    			name:     "updated endpoints address",
    			shardKey: c1Key,
    			endpoints: []*IstioEndpoint{
    				{Address: "10.172.0.5", ServiceAccount: "sa1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 15:48:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/math/erf.go

    	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
    	sa5 = 4.29008140027567833386e+02  // 0x407AD02157700314
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret_test.go

    			objs:       []runtime.Object{kubeSystemNamespace, sa2, saSecret, saSecret2},
    			secretName: saSecret.Name,
    			name:       "cluster-foo",
    			want:       "cal-want",
    		},
    		{
    			testName:        "fail when non-existing secret name provided",
    			objs:            []runtime.Object{kubeSystemNamespace, sa2, saSecret, saSecret2},
    			secretName:      "nonexistingSecret",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/network_test.go

    	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)
    	pc.CreateOrUpdateStatus(pod2)
    	fx.WaitOrFail(t, "xds")
    
    	sc.CreateOrUpdate(generateService("svc1", testNS, map[string]string{}, // labels
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. pilot/pkg/model/service_test.go

    			},
    			shouldEq: true,
    			name:     "matching service accounts",
    		},
    		{
    			first: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			other: &Service{
    				ServiceAccounts: []string{"sa2"},
    			},
    			shouldEq: false,
    			name:     "different service accounts",
    		},
    		{
    			first: &Service{
    				ClusterVIPs: AddressMap{
    					Addresses: map[cluster.ID][]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K 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) {
    	if false {
    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. pilot/pkg/model/push_context_test.go

    		}
    		index.shardsBySvc[string(svc.Hostname)][svc.Attributes.Namespace] = &EndpointShards{
    			ServiceAccounts: sets.New("spiffe://cluster.local/ns/def/sa/sa1", "spiffe://cluster.local/ns/def/sa/sa2"),
    		}
    	}
    	b.ResetTimer()
    	for n := 0; n < b.N; n++ {
    		ps.initServiceAccounts(env, services)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
Back to top