StatusOps

class StatusOps[ResourceT, StatusT](val obj: ResourceT)(val impl: K8sObjectStatus[ResourceT, StatusT]) extends K8sObjectStatusOps[ResourceT, StatusT]

Extension methods for resource types implementing the K8sObjectStatus type class

Extension methods for resource types implementing the K8sObjectStatus type class

trait K8sObjectStatusOps[ResourceT, StatusT]
class Object
trait Matchable
class Any

Value members

Inherited methods

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.

Inherited from
K8sObjectStatusOps
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

Value Params
f

Function to modify the status with

Returns

Object with modified status

Inherited from
K8sObjectStatusOps
def status: Optional[StatusT]

Gets the status of the object

Gets the status of the object

Inherited from
K8sObjectStatusOps

Concrete fields

protected val obj: ResourceT

Implicits

Implicits

implicit protected val impl: K8sObjectStatus[ResourceT, StatusT]