Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for makeTestService (0.28 sec)

  1. pkg/proxy/servicechangetracker_test.go

    			ipFamily: v1.IPv4Protocol,
    
    			service: makeTestService("ns2", "headless-without-port", func(svc *v1.Service) {
    				svc.Spec.Type = v1.ServiceTypeClusterIP
    				svc.Spec.ClusterIP = v1.ClusterIPNone
    			}),
    			expected: map[ServicePortName]*BaseServicePortInfo{},
    		},
    		{
    			desc:     "cluster ip service",
    			ipFamily: v1.IPv4Protocol,
    
    			service: makeTestService("ns2", "cluster-ip", func(svc *v1.Service) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/proxier_test.go

    	}
    
    	makeServiceMap(proxier,
    		makeTestService(svcPortName1.Namespace, svcPortName1.Name, func(svc *v1.Service) {
    			svc.Spec.Type = "NodePort"
    			svc.Spec.ClusterIP = svcIP1
    			svc.Spec.Ports = []v1.ServicePort{{
    				Name:     svcPortName1.Port,
    				Port:     int32(svcPort1),
    				Protocol: v1.ProtocolTCP,
    				NodePort: int32(svcNodePort1),
    			}}
    		}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top