Commit ef2d1aef authored by Brian Grant's avatar Brian Grant

Merge pull request #7189 from ddysher/clean-tag

Fix condition tags
parents ade79a2b 401442b0
......@@ -24,4 +24,4 @@
]
}
]
}
}
\ No newline at end of file
......@@ -27,4 +27,4 @@
"title": "",
"description": ""
}
}
}
\ No newline at end of file
......@@ -24,4 +24,4 @@
]
}
]
}
}
\ No newline at end of file
......@@ -993,7 +993,7 @@ const (
)
type NodeCondition struct {
Kind NodeConditionKind `json:"kind" description:"kind of the condition, one of Reachable, Ready, Schedulable"`
Kind NodeConditionKind `json:"kind" description:"kind of the condition, current kinds: Reachable, Ready, Schedulable"`
Status ConditionStatus `json:"status" description:"status of the condition, one of Full, None, Unknown"`
LastProbeTime util.Time `json:"lastProbeTime,omitempty" description:"last time the condition was probed"`
LastTransitionTime util.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"`
......@@ -1607,7 +1607,7 @@ const (
type ComponentCondition struct {
Type ComponentConditionType `json:"type" description:"type of component condition, currently only Healthy"`
Status ConditionStatus `json:"status" description:"current status of this component condition, one of True, False, Unknown"`
Status ConditionStatus `json:"status" description:"current status of this component condition, one of Full, None, Unknown"`
Message string `json:"message,omitempty" description:"health check message received from the component"`
Error string `json:"error,omitempty" description:"error code from health check attempt (if any)"`
}
......
......@@ -1018,7 +1018,7 @@ const (
//
// https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/node.md#node-condition
type NodeCondition struct {
Kind NodeConditionKind `json:"kind" description:"kind of the condition, one of Reachable, Ready, Schedulable"`
Kind NodeConditionKind `json:"kind" description:"kind of the condition, current kinds: Reachable, Ready, Schedulable"`
Status ConditionStatus `json:"status" description:"status of the condition, one of Full, None, Unknown"`
LastProbeTime util.Time `json:"lastProbeTime,omitempty" description:"last time the condition was probed"`
LastTransitionTime util.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"`
......@@ -1670,7 +1670,7 @@ const (
type ComponentCondition struct {
Type ComponentConditionType `json:"type" description:"type of component condition, currently only Healthy"`
Status ConditionStatus `json:"status" description:"current status of this component condition, one of True, False, Unknown"`
Status ConditionStatus `json:"status" description:"current status of this component condition, one of Full, None, Unknown"`
Message string `json:"message,omitempty" description:"health check message received from the component"`
Error string `json:"error,omitempty" description:"error code from health check attempt (if any)"`
}
......
......@@ -741,9 +741,9 @@ const (
// TODO: add LastTransitionTime, Reason, Message to match NodeCondition api.
type PodCondition struct {
// Type is the type of the condition
Type PodConditionType `json:"type" description:"kind of the condition"`
Type PodConditionType `json:"type" description:"kind of the condition, currently only Ready"`
// Status is the status of the condition
Status ConditionStatus `json:"status" description:"status of the condition, one of Full, None, Unknown"`
Status ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`
}
// RestartPolicy describes how the container should be restarted.
......@@ -1137,8 +1137,8 @@ const (
)
type NodeCondition struct {
Type NodeConditionType `json:"type" description:"type of node condition, one of Ready, Schedulable"`
Status ConditionStatus `json:"status" description:"status of the condition, one of Full, None, Unknown"`
Type NodeConditionType `json:"type" description:"type of node condition, currently only Ready"`
Status ConditionStatus `json:"status" description:"status of the condition, one of True, False, Unknown"`
LastHeartbeatTime util.Time `json:"lastHeartbeatTime,omitempty" description:"last time we got an update on a given condition"`
LastTransitionTime util.Time `json:"lastTransitionTime,omitempty" description:"last time the condition transit from one status to another"`
Reason string `json:"reason,omitempty" description:"(brief) reason for the condition's last transition"`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment