Skip to content

autoscaling.v2.horizontalPodAutoscalerCondition

"HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point."

Index

Fields

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)

"message is a human-readable explanation containing details about the transition"

fn withObservedGeneration

withObservedGeneration(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."

fn withReason

withReason(reason)

"reason is the reason for the condition's last transition."

fn withType

withType(type)

"type describes the current condition"