t

com.coralogix.zio.k8s.client.model

K8sObjectStatusOps

trait K8sObjectStatusOps[ResourceT, StatusT] extends AnyRef

Extension methods for Kubernetes resources with status subresource support

This is a common implementation for all the implicit classes providing extension methods for the generated Kuberentes model types. The extension methods are just delegating the calls to the resource's K8sObjectStatus implementation.

ResourceT

Resource type to be extended

StatusT

Status subresource type

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. K8sObjectStatusOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Concrete 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.

  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

  3. def status: Optional[StatusT]

    Gets the status of the object