c
com.coralogix.zio.k8s.model.networking.v1
IngressServiceBackend
Companion object IngressServiceBackend
case class IngressServiceBackend(name: String, port: Optional[ServiceBackendPort] = Optional.Absent) extends Product with Serializable
IngressServiceBackend references a Kubernetes Service as a Backend.
- name
Name is the referenced service. The service must exist in the same namespace as the Ingress object.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- IngressServiceBackend
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
IngressServiceBackend(name: String, port: Optional[ServiceBackendPort] = Optional.Absent)
- name
Name is the referenced service. The service must exist in the same namespace as the Ingress object.
Value Members
-
def
getName: IO[K8sFailure, String]
Name is the referenced service.
Name is the referenced service. The service must exist in the same namespace as the Ingress object.
This effect always succeeds, it is safe to use the field name directly.
-
def
getPort: IO[K8sFailure, ServiceBackendPort]
Gets port.
Gets port.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val name: String
- val port: Optional[ServiceBackendPort]