Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for serviceFor (0.27 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. 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)
  3. 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)
  4. pilot/pkg/serviceregistry/serviceentry/conversion.go

    		instancePort = 0
    		addr = strings.TrimPrefix(addr, model.UnixAddressPrefix)
    	} else if port, ok := wle.Ports[servicePort.Name]; ok && port > 0 {
    		instancePort = port
    	} else if servicePort.TargetPort > 0 {
    		instancePort = servicePort.TargetPort
    	} else {
    		// final fallback is to the service port value
    		instancePort = servicePort.Number
    	}
    
    	tlsMode := getTLSModeFromWorkloadEntry(wle)
    	sa := ""
    	if wle.ServiceAccount != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/core/TaskInternalExtensions.kt

    import org.gradle.internal.service.ServiceRegistry
    
    
    internal
    inline fun <reified T : Any> TaskInternal.serviceOf(): T =
        project.serviceOf()
    
    
    inline fun <reified T : Any> Project.serviceOf(): T =
        (this as ProjectInternal).services.get()
    
    
    inline fun <reified T : Any> GradleInternal.serviceOf(): T =
        services.get()
    
    
    inline fun <reified T : Any> ServiceRegistry.get(): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:55:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/DefaultIsolatedProjectEvaluationListenerProvider.kt

            beforeProject.clear()
            afterProject.clear()
        }
    
        private
        fun isolate(actions: IsolatedProjectActions, owner: IsolateOwner) =
            IsolatedActionSerializer(owner, owner.serviceOf(), owner.serviceOf())
                .serialize(actions)
    }
    
    
    private
    data class IsolatedProjectActions(
        val beforeProject: IsolatedProjectActionList,
        val afterProject: IsolatedProjectActionList
    )
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    		Service: svc,
    		Port: model.ServiceInstancePort{
    			ServicePort: &model.Port{
    				Name:     svcPort.Name,
    				Port:     int(svcPort.Number),
    				Protocol: protocol.Parse(svcPort.Protocol),
    			},
    			TargetPort: uint32(port),
    		},
    	}
    }
    
    // nolint: unparam
    func makeInstance(cfg *config.Config, address string, port int,
    	svcPort *networking.ServicePort, svcLabels map[string]string, mtlsMode MTLSMode,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            }
            if (gradle.isRootBuild) {
                gradle.serviceOf<CacheConfigurationsInternal>().setCleanupHasBeenConfigured(true)
            }
        }
    
        private
        suspend fun DefaultWriteContext.writeBuildOutputCleanupRegistrations(gradle: GradleInternal) {
            val buildOutputCleanupRegistry = gradle.serviceOf<BuildOutputCleanupRegistry>()
            withGradleIsolate(gradle, userTypesCodec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/services_test.go

    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: networking.ServiceEntry{
    					Addresses: []string{"1.2.3.4"},
    					Hosts:     []string{"a.example.com", "b.example.com"},
    					Ports: []*networking.ServicePort{{
    						Number: 80,
    						Name:   "http",
    					}},
    					SubjectAltNames: []string{"san1"},
    					Resolution:      networking.ServiceEntry_DNS,
    				},
    			},
    			result: []*workloadapi.Service{
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. tests/integration/pilot/gateway_test.go

    			tc.from[0].CallOrFail(t, echo.CallOptions{
    				Port: echo.Port{
    					Protocol:    protocol.HTTP,
    					ServicePort: 80,
    				},
    				Scheme: scheme.HTTP,
    				HTTP: echo.HTTP{
    					Headers: headers.New().WithHost(tc.host).Build(),
    				},
    				Address: fmt.Sprintf("gateway-istio.%s.svc.cluster.local", apps.Namespace.Name()),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top