K8sObjectStatus

com.coralogix.zio.k8s.client.model.K8sObjectStatus
See theK8sObjectStatus companion object
trait K8sObjectStatus[ResourceT, StatusT]

Common operations for every Kubernetes resource type supporting status subresources.

Type parameters

ResourceT

Resource type

StatusT

Subresource type

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

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

Value parameters

f

Function modifying the status

Attributes

def status(obj: ResourceT): Optional[StatusT]

Gets the status of the object

Gets the status of the object

Attributes

Concrete methods

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

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

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

Attributes