Condition

case class Condition(lastTransitionTime: Time, message: String, observedGeneration: Optional[Long], reason: String, status: String, `type`: String)

Condition contains details for one aspect of the current state of this API Resource.

Value Params
message

message is a human readable message indicating details about the transition. This may be an empty string.

observedGeneration

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

reason

reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

status

status of the condition, one of True, False, Unknown.

type

type of condition in CamelCase or in foo.example.com/CamelCase.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Gets lastTransitionTime.

Gets lastTransitionTime.

This effect always succeeds, it is safe to use the field lastTransitionTime directly.

def getMessage: IO[K8sFailure, String]

message is a human readable message indicating details about the transition. This may be an empty string.

message is a human readable message indicating details about the transition. This may be an empty string.

This effect always succeeds, it is safe to use the field message directly.

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

def getReason: IO[K8sFailure, String]

reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

This effect always succeeds, it is safe to use the field reason directly.

def getStatus: IO[K8sFailure, String]

status of the condition, one of True, False, Unknown.

status of the condition, one of True, False, Unknown.

This effect always succeeds, it is safe to use the field status directly.

def getType: IO[K8sFailure, String]

type of condition in CamelCase or in foo.example.com/CamelCase.

type of condition in CamelCase or in foo.example.com/CamelCase.

This effect always succeeds, it is safe to use the field type directly.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product