mirror of https://github.com/rancher/wrangler.git
19 lines
691 B
Go
19 lines
691 B
Go
package genericcondition
|
|
|
|
import v1 "k8s.io/api/core/v1"
|
|
|
|
type GenericCondition struct {
|
|
// Type of cluster condition.
|
|
Type string `json:"type"`
|
|
// Status of the condition, one of True, False, Unknown.
|
|
Status v1.ConditionStatus `json:"status"`
|
|
// The last time this condition was updated.
|
|
LastUpdateTime string `json:"lastUpdateTime,omitempty"`
|
|
// Last time the condition transitioned from one status to another.
|
|
LastTransitionTime string `json:"lastTransitionTime,omitempty"`
|
|
// The reason for the condition's last transition.
|
|
Reason string `json:"reason,omitempty"`
|
|
// Human-readable message indicating details about last transition
|
|
Message string `json:"message,omitempty"`
|
|
}
|