1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

add message field to all condition types

This commit is contained in:
Craig Jellick
2017-12-27 13:53:50 -07:00
committed by Darren Shepherd
parent 4c50428de7
commit ee81a7544b
3 changed files with 5 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ type ProjectCondition struct {
LastTransitionTime string `json:"lastTransitionTime,omitempty"`
// The reason for the condition's last transition.
Reason string `json:"reason,omitempty"`
// Human-readable, longer explanation of the last transition
// Human-readable message indicating details about last transition
Message string `json:"message,omitempty"`
}

View File

@@ -77,6 +77,8 @@ type ClusterCondition struct {
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"`
}
type GoogleKubernetesEngineConfig struct {

View File

@@ -86,6 +86,8 @@ type MachineCondition struct {
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"`
}
type MachineSpec struct {