Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for targetRef (0.18 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    			}
    			if epa.TargetRef.Kind != "Pod" {
    				t.Fatalf("TargetRef.Kind: expected: %s, got: %s", "Pod", epa.TargetRef.Kind)
    			}
    			if epa.TargetRef.Namespace != pod.ObjectMeta.Namespace {
    				t.Fatalf("TargetRef.Namespace: expected: %s, got: %s", pod.ObjectMeta.Namespace, epa.TargetRef.Namespace)
    			}
    			if epa.TargetRef.Name != pod.ObjectMeta.Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    	assert.Len(t, slice.Endpoints, 1, "Expected 1 endpoint in first slice")
    	assert.NotEmpty(t, slice.Annotations[v1.EndpointsLastChangeTriggerTime])
    	endpoint := slice.Endpoints[0]
    	assert.EqualValues(t, endpoint.TargetRef, &v1.ObjectReference{Kind: "Pod", Namespace: ns, Name: pod1.Name})
    }
    
    func TestSyncServiceEndpointSlicePendingDeletion(t *testing.T) {
    	client, esController := newController(t, []string{"node-1"}, time.Duration(0))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/discovery/v1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.TargetRef == nil {
    				m.TargetRef = &v1.ObjectReference{}
    			}
    			if err := m.TargetRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 5:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/discovery/v1beta1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.TargetRef == nil {
    				m.TargetRef = &v1.ObjectReference{}
    			}
    			if err := m.TargetRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 5:
    			if wireType != 2 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 54.2K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_logging_test.go

    					{
    						Name: "envoy",
    					},
    				},
    				Disabled: &wrappers.BoolValue{
    					Value: true,
    				},
    			},
    		},
    	}
    	targetRefClient := &tpb.Telemetry{
    		TargetRef: &v1beta1.PolicyTargetReference{
    			Group: gvk.KubernetesGateway.Group,
    			Kind:  gvk.KubernetesGateway.Kind,
    			Name:  "my-gateway",
    		},
    		AccessLogging: []*tpb.AccessLogging{
    			{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		refs = make([]*corev1.ObjectReference, len(ips))
    	}
    	var portNum int32 = 1001
    	eas := make([]corev1.EndpointAddress, 0)
    	for i, ip := range ips {
    		eas = append(eas, corev1.EndpointAddress{IP: ip, TargetRef: refs[i]})
    	}
    
    	eps := make([]corev1.EndpointPort, 0)
    	for _, name := range portNames {
    		eps = append(eps, corev1.EndpointPort{Name: name, Port: portNum})
    	}
    
    	endpoint := &corev1.Endpoints{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.1"))[0].Address.GetWorkload().AuthorizationPolicies,
    		nil)
    
    	s.addPolicy(t, "gateway-targeted", testNS, nil, gvk.AuthorizationPolicy, func(o controllers.Object) {
    		p := o.(*clientsecurityv1beta1.AuthorizationPolicy)
    		p.Spec.TargetRef = &v1beta1.PolicyTargetReference{
    			Group: gvk.KubernetesGateway.Group,
    			Kind:  gvk.KubernetesGateway.Kind,
    			Name:  "dummy-waypoint",
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listener_test.go

    	},
    	{
    		Meta: config.Meta{Name: uuid.NewString(), Namespace: "istio-system", GroupVersionKind: gvk.AuthorizationPolicy},
    		Spec: &security.AuthorizationPolicy{
    			Selector:     nil,
    			TargetRef:    nil,
    			Rules:        nil,
    			Action:       security.AuthorizationPolicy_CUSTOM,
    			ActionDetail: &security.AuthorizationPolicy_Provider{Provider: &security.AuthorizationPolicy_ExtensionProvider{Name: "extauthz"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/types.go

    	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
    	// +optional
    	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"`
    
    	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// Total number of non-terminated pods targeted by this deployment (their labels match the selector).
    	// +optional
    	Replicas int32 `json:"replicas,omitempty" protobuf:"varint,2,opt,name=replicas"`
    
    	// Total number of non-terminated pods targeted by this deployment that have the desired template spec.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
Back to top