Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for serviceFor (0.17 sec)

  1. 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)
  2. pkg/controlplane/controller/kubernetesservice/controller_test.go

    	}
    
    	createTests := []struct {
    		testName     string
    		serviceName  string
    		servicePorts []corev1.ServicePort
    		serviceType  corev1.ServiceType
    		expectCreate *corev1.Service // nil means none expected
    	}{
    		{
    			testName:    "service does not exist",
    			serviceName: "foo",
    			servicePorts: []corev1.ServicePort{
    				{Name: "foo", Port: 8080, Protocol: "TCP", TargetPort: intstr.FromInt32(8080)},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 10:41:06 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptModelBuilder.kt

    internal
    fun ProjectInternal.accessorsClassPathOf(classPath: ClassPath): AccessorsClassPath {
        val stage1BlocksAccessorClassPathGenerator = serviceOf<Stage1BlocksAccessorClassPathGenerator>()
        val projectAccessorClassPathGenerator = serviceOf<ProjectAccessorsClassPathGenerator>()
        val dependenciesAccessors = serviceOf<DependenciesAccessors>()
        return (projectAccessorClassPathGenerator.projectAccessorsClassPath(this, classPath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 17.8K 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/memory/discovery.go

    		return
    	}
    	if instance.Endpoint.ServicePortName == "" {
    		instance.Endpoint.ServicePortName = instance.ServicePort.Name
    	}
    	instance.Service = svc
    	sd.ip2instance[instance.Endpoint.Address] = append(sd.ip2instance[instance.Endpoint.Address], instance)
    
    	key := fmt.Sprintf("%s:%d", service, instance.ServicePort.Port)
    	instanceList := sd.instancesByPortNum[key]
    	sd.instancesByPortNum[key] = append(instanceList, instance)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 23:10:01 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/calloptions.go

    		if err != nil {
    			return err
    		}
    		// Set the ServicePort to workload port since we are not reaching it through the Service
    		p := o.Port
    		p.ServicePort = p.WorkloadPort
    		o.Port = p
    	}
    
    	if o.Port.ServicePort <= 0 || (o.Port.Protocol == "" && o.Scheme == "") || o.Address == "" {
    		return fmt.Errorf("if target is not set, then port.servicePort, port.protocol or schema, and address must be set")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top