case class Service(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[ServiceSpec] = Optional.Absent, status: Optional[ServiceStatus] = Optional.Absent) extends Product with Serializable
Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Service
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Service(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[ServiceSpec] = Optional.Absent, status: Optional[ServiceStatus] = Optional.Absent)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, ServiceSpec]
Gets spec.
Gets spec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStatus: IO[K8sFailure, ServiceStatus]
Gets status.
Gets status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: Optional[ServiceSpec]
- val status: Optional[ServiceStatus]