Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 258 for serviceFor (0.42 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

                    return null
                }
                return serviceFor(object)
            }
    
            @Override
            Service getFactory(Class<?> type) {
                def factory = parentServices.getFactory(type)
                if (factory == null) {
                    return factory
                }
                return serviceFor(factory)
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  2. pkg/proxy/serviceport.go

    	internalPolicyLocal      bool
    	hintsAnnotation          string
    }
    
    var _ ServicePort = &BaseServicePortInfo{}
    
    // String is part of ServicePort interface.
    func (bsvcPortInfo *BaseServicePortInfo) String() string {
    	return fmt.Sprintf("%s:%d/%s", bsvcPortInfo.clusterIP, bsvcPortInfo.port, bsvcPortInfo.protocol)
    }
    
    // ClusterIP is part of ServicePort interface.
    func (bsvcPortInfo *BaseServicePortInfo) ClusterIP() net.IP {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 08:17:56 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. pkg/proxy/conntrack/cleanup_test.go

    	}
    	servicePort := svcPortMap[tcpPortName]
    	if servicePort == nil || servicePort.String() != "172.30.1.1:53/TCP" {
    		t.Fatalf("expected svcPortMap[%q] to be \"172.30.1.1:53/TCP\", got %q", tcpPortName.String(), servicePort.String())
    	}
    	servicePort = svcPortMap[udpPortName]
    	if servicePort == nil || servicePort.String() != "172.30.1.1:53/UDP" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_builder_test.go

    			clusterMode: DefaultClusterMode,
    			service: &model.Service{
    				Hostname:   host.Name("foo.example.com"),
    				Ports:      servicePort,
    				Resolution: model.DNSLB,
    				Attributes: model.ServiceAttributes{
    					Namespace: TestServiceNamespace,
    				},
    			},
    			port:      servicePort[0],
    			proxyView: model.ProxyViewAll,
    			destRule: &networking.DestinationRule{
    				Host:    "foo.example.com",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  5. pkg/registry/core/service/portallocator/controller/repair_test.go

    			ObjectMeta: metav1.ObjectMeta{Namespace: "one", Name: "one"},
    			Spec: corev1.ServiceSpec{
    				Ports: []corev1.ServicePort{{NodePort: 111}},
    			},
    		},
    		&corev1.Service{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "two", Name: "two"},
    			Spec: corev1.ServiceSpec{
    				Ports: []corev1.ServicePort{{NodePort: 122}, {NodePort: 133}},
    			},
    		},
    		&corev1.Service{ // outside range, will be dropped
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. pkg/controlplane/controller/kubernetesservice/controller.go

    	}
    	return nil
    }
    
    // createPortAndServiceSpec creates an array of service ports.
    // If the NodePort value is 0, just the servicePort is used, otherwise, a node port is exposed.
    func createPortAndServiceSpec(servicePort int, targetServicePort int, nodePort int, servicePortName string) ([]corev1.ServicePort, corev1.ServiceType) {
    	// Use the Cluster IP type for the service port if NodePort isn't provided.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 16:33:01 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    						Hostname:  "hostname",
    						Ports: []*workloadapi.Port{
    							{
    								ServicePort: 80,
    								TargetPort:  8080,
    							},
    							{
    								ServicePort: 81,
    								TargetPort:  0,
    							},
    							{
    								ServicePort: 82,
    								TargetPort:  0,
    							},
    							{
    								ServicePort: 83,
    								TargetPort:  0,
    							},
    						},
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. pkg/proxy/servicechangetracker.go

    	for i := range service.Spec.Ports {
    		servicePort := &service.Spec.Ports[i]
    		svcPortName := ServicePortName{NamespacedName: svcName, Port: servicePort.Name, Protocol: servicePort.Protocol}
    		baseSvcInfo := newBaseServiceInfo(service, sct.ipFamily, servicePort)
    		if sct.makeServiceInfo != nil {
    			svcPortMap[svcPortName] = sct.makeServiceInfo(servicePort, service, baseSvcInfo)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. tests/integration/security/util/framework.go

    			{
    				Name:         "tcp-8085",
    				ServicePort:  echo.NoServicePort,
    				WorkloadPort: 8085,
    				Protocol:     protocol.HTTP,
    			},
    			{
    				Name:         "tcp-8086",
    				ServicePort:  echo.NoServicePort,
    				WorkloadPort: 8086,
    				Protocol:     protocol.HTTP,
    			},
    			{
    				Name:         "tcp-8087",
    				ServicePort:  echo.NoServicePort,
    				WorkloadPort: 8087,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/KotlinScriptingModelBuildersRegistrationAction.kt

    class KotlinScriptingModelBuildersRegistrationAction : ProjectConfigureAction {
    
        override fun execute(project: ProjectInternal) {
    
            val intermediateModelProvider = project.serviceOf<IntermediateToolingModelProvider>()
            val builders = project.serviceOf<ToolingModelBuilderRegistry>()
    
            builders.register(KotlinBuildScriptModelBuilder)
            builders.register(KotlinBuildScriptTemplateModelBuilder)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 18 00:04:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top