trait K8sObjectStatus[ResourceT, StatusT] extends AnyRef

Common operations for every Kubernetes resource type supporting status subresources.

ResourceT

Resource type

StatusT

Subresource type

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

Abstract Value Members

  1. abstract def mapStatus(f: (StatusT) ⇒ StatusT)(obj: ResourceT): ResourceT

    Modifies the status of the object with the given function f

    Modifies the status of the object with the given function f

    f

    Function modifying the status

  2. abstract def status(obj: ResourceT): Optional[StatusT]

    Gets the status of the object

Concrete Value Members

  1. def getStatus(obj: ResourceT): IO[K8sFailure, StatusT]

    Get the status of the object and fail with UndefinedField if it is not present.