Packages

case class ServicePort(appProtocol: Optional[String] = Optional.Absent, name: Optional[String] = Optional.Absent, nodePort: Optional[Int] = Optional.Absent, port: Int, protocol: Optional[String] = Optional.Absent, targetPort: Optional[IntOrString] = Optional.Absent) extends Product with Serializable

ServicePort contains information on service's port.

appProtocol

The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.

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.

nodePort

The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

port

The port that will be exposed by this service.

protocol

The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ServicePort
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServicePort(appProtocol: Optional[String] = Optional.Absent, name: Optional[String] = Optional.Absent, nodePort: Optional[Int] = Optional.Absent, port: Int, protocol: Optional[String] = Optional.Absent, targetPort: Optional[IntOrString] = Optional.Absent)

    appProtocol

    The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.

    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.

    nodePort

    The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

    port

    The port that will be exposed by this service.

    protocol

    The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val appProtocol: Optional[String]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def getAppProtocol: IO[K8sFailure, String]

    The application protocol for this port.

    The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def getName: IO[K8sFailure, String]

    The name of this port within the service.

    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.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  11. def getNodePort: IO[K8sFailure, Int]

    The port on each node on which this service is exposed when type is NodePort or LoadBalancer.

    The port on each node on which this service is exposed when type is NodePort or LoadBalancer. Usually assigned by the system. If a value is specified, in-range, and not in use it will be used, otherwise the operation will fail. If not specified, a port will be allocated if this Service requires one. If this field is specified when creating a Service which does not need it, creation will fail. This field will be wiped when updating a Service to no longer need it (e.g. changing type from NodePort to ClusterIP). More info: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  12. def getPort: IO[K8sFailure, Int]

    The port that will be exposed by this service.

    The port that will be exposed by this service.

    This effect always succeeds, it is safe to use the field port directly.

  13. def getProtocol: IO[K8sFailure, String]

    The IP protocol for this port.

    The IP protocol for this port. Supports "TCP", "UDP", and "SCTP". Default is TCP.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  14. def getTargetPort: IO[K8sFailure, IntOrString]

    Gets targetPort.

    Gets targetPort.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val name: Optional[String]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val nodePort: Optional[Int]
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. val port: Int
  22. val protocol: Optional[String]
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. val targetPort: Optional[IntOrString]
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped