Commit f07b9b6a authored by danielqsj's avatar danielqsj

add possible values to CustomResourceDefinitionConditionType

parent b1829dff
...@@ -267,7 +267,7 @@ const ( ...@@ -267,7 +267,7 @@ const (
// CustomResourceDefinitionCondition contains details for the current condition of this pod. // CustomResourceDefinitionCondition contains details for the current condition of this pod.
type CustomResourceDefinitionCondition struct { type CustomResourceDefinitionCondition struct {
// Type is the type of the condition. // Type is the type of the condition. Types include Established, NamesAccepted and Terminating.
Type CustomResourceDefinitionConditionType Type CustomResourceDefinitionConditionType
// Status is the status of the condition. // Status is the status of the condition.
// Can be True, False, Unknown. // Can be True, False, Unknown.
......
...@@ -281,7 +281,7 @@ const ( ...@@ -281,7 +281,7 @@ const (
// CustomResourceDefinitionCondition contains details for the current condition of this pod. // CustomResourceDefinitionCondition contains details for the current condition of this pod.
type CustomResourceDefinitionCondition struct { type CustomResourceDefinitionCondition struct {
// Type is the type of the condition. // Type is the type of the condition. Types include Established, NamesAccepted and Terminating.
Type CustomResourceDefinitionConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=CustomResourceDefinitionConditionType"` Type CustomResourceDefinitionConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=CustomResourceDefinitionConditionType"`
// Status is the status of the condition. // Status is the status of the condition.
// Can be True, False, Unknown. // Can be True, False, Unknown.
......
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