Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for servicePort (0.23 sec)

  1. pkg/proxy/iptables/proxier_test.go

    		},
    		Spec:   v1.ServiceSpec{},
    		Status: v1.ServiceStatus{},
    	}
    	svcFunc(svc)
    	return svc
    }
    
    func addTestPort(array []v1.ServicePort, name string, protocol v1.Protocol, port, nodeport int32, targetPort int) []v1.ServicePort {
    	svcPort := v1.ServicePort{
    		Name:       name,
    		Protocol:   protocol,
    		Port:       port,
    		NodePort:   nodeport,
    		TargetPort: intstr.FromInt32(int32(targetPort)),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*v1.ServicePort)(nil), (*core.ServicePort)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ServicePort_To_core_ServicePort(a.(*v1.ServicePort), b.(*core.ServicePort), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*core.ServicePort)(nil), (*v1.ServicePort)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  3. pkg/apis/core/types.go

    	// topologically close (e.g., same zone).
    	// +optional
    	TrafficDistribution *string
    }
    
    // ServicePort represents the port on which the service is exposed
    type ServicePort struct {
    	// Optional if only one ServicePort is defined on this service: The
    	// name of this port within the service.  This must be a DNS_LABEL.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  4. pkg/apis/core/validation/validation.go

    	portsPath = specPath.Child("ports")
    	nodePorts := make(map[core.ServicePort]bool)
    	for i := range service.Spec.Ports {
    		port := &service.Spec.Ports[i]
    		if port.NodePort == 0 {
    			continue
    		}
    		portPath := portsPath.Index(i)
    		var key core.ServicePort
    		key.Protocol = port.Protocol
    		key.NodePort = port.NodePort
    		_, found := nodePorts[key]
    		if found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/generated.proto

      repeated Service items = 2;
    }
    
    // ServicePort contains information on service's port.
    message ServicePort {
      // The name of this port within the service. This must be a DNS_LABEL.
      // All ports within a ServiceSpec must have unique names. When considering
      // the endpoints for a Service, this must match the 'name' field in the
      // EndpointPort.
      // Optional if only one ServicePort is defined on this service.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 280.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go

    }
    
    var map_ServicePort = map[string]string{
    	"":            "ServicePort contains information on service's port.",
    	"name":        "The name of this port within the service. This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. When considering the endpoints for a Service, this must match the 'name' field in the EndpointPort. Optional if only one ServicePort is defined on this service.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 254.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/types.go

    }
    
    // ServicePort contains information on service's port.
    type ServicePort struct {
    	// The name of this port within the service. This must be a DNS_LABEL.
    	// All ports within a ServiceSpec must have unique names. When considering
    	// the endpoints for a Service, this must match the 'name' field in the
    	// EndpointPort.
    	// Optional if only one ServicePort is defined on this service.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    type STSConfig struct {
    	state         protoimpl.MessageState
    	sizeCache     protoimpl.SizeCache
    	unknownFields protoimpl.UnknownFields
    
    	ServicePort uint32 `protobuf:"varint,1,opt,name=servicePort,proto3" json:"servicePort,omitempty"`
    }
    
    func (x *STSConfig) Reset() {
    	*x = STSConfig{}
    	if protoimpl.UnsafeEnabled {
    		mi := &file_pkg_apis_istio_v1alpha1_values_types_proto_msgTypes[14]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
  9. pkg/registry/core/service/storage/storage_test.go

    				ClusterIP:       api.ClusterIPNone,
    				ClusterIPs:      []string{api.ClusterIPNone},
    				SessionAffinity: api.ServiceAffinityNone,
    				Type:            api.ServiceTypeClusterIP,
    				Ports: []api.ServicePort{{
    					Port:       6502,
    					Protocol:   api.ProtocolTCP,
    					TargetPort: intstr.FromInt32(6502),
    				}},
    				InternalTrafficPolicy: &clusterInternalTrafficPolicy,
    			}
    			return object
    		},
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top