Skip to content

core.v1.podCondition

"PodCondition contains details for the current condition of this pod."

Index

Fields

fn withLastProbeTime

withLastProbeTime(lastProbeTime)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn withLastTransitionTime

withLastTransitionTime(lastTransitionTime)

"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."

fn withMessage

withMessage(message)

"Human-readable message indicating details about last transition."

fn withObservedGeneration

withObservedGeneration(observedGeneration)

"If set, this represents the .metadata.generation that the pod condition was set based upon. This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field."

fn withReason

withReason(reason)

"Unique, one-word, CamelCase reason for the condition's last transition."

fn withType

withType(type)

"Type is the type of the condition. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions"