Packages

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Service
  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 Service(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[ServiceSpec] = Optional.Absent, status: Optional[ServiceStatus] = Optional.Absent)

Value Members

  1. def getMetadata: IO[K8sFailure, ObjectMeta]

    Gets metadata.

    Gets metadata.

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

  2. def getSpec: IO[K8sFailure, ServiceSpec]

    Gets spec.

    Gets spec.

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

  3. def getStatus: IO[K8sFailure, ServiceStatus]

    Gets status.

    Gets status.

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

  4. val metadata: Optional[ObjectMeta]
  5. val spec: Optional[ServiceSpec]
  6. val status: Optional[ServiceStatus]