Packages

implicit class StatusOps[ResourceT, StatusT] extends K8sObjectStatusOps[ResourceT, StatusT]

Extension methods for resource types implementing the K8sObjectStatus type class

Linear Supertypes
K8sObjectStatusOps[ResourceT, StatusT], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatusOps
  2. K8sObjectStatusOps
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StatusOps(obj: ResourceT)(implicit impl: K8sObjectStatus[ResourceT, StatusT])

Value Members

  1. def getStatus: IO[K8sFailure, StatusT]

    Gets the status of the object and fails with com.coralogix.zio.k8s.client.UndefinedField if it is not present.

    Gets the status of the object and fails with com.coralogix.zio.k8s.client.UndefinedField if it is not present.

    Definition Classes
    K8sObjectStatusOps
  2. def mapStatus(f: (StatusT) ⇒ StatusT): ResourceT

    Returns an object with its status modified by the given function f

    Returns an object with its status modified by the given function f

    f

    Function to modify the status with

    returns

    Object with modified status

    Definition Classes
    K8sObjectStatusOps
  3. def status: Optional[StatusT]

    Gets the status of the object

    Gets the status of the object

    Definition Classes
    K8sObjectStatusOps