Merge pull request #75858 from danielqsj/crdct

add possible values to CustomResourceDefinitionConditionType
This commit is contained in:
Kubernetes Prow Robot 2019-03-30 09:41:08 -07:00 committed by GitHub
commit 615c491040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -16320,7 +16320,7 @@
"type": "string" "type": "string"
}, },
"type": { "type": {
"description": "Type is the type of the condition.", "description": "Type is the type of the condition. Types include Established, NamesAccepted and Terminating.",
"type": "string" "type": "string"
} }
}, },

View File

@ -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.

View File

@ -140,7 +140,7 @@ message CustomResourceDefinition {
// CustomResourceDefinitionCondition contains details for the current condition of this pod. // CustomResourceDefinitionCondition contains details for the current condition of this pod.
message CustomResourceDefinitionCondition { message CustomResourceDefinitionCondition {
// Type is the type of the condition. // Type is the type of the condition. Types include Established, NamesAccepted and Terminating.
optional string type = 1; optional string type = 1;
// Status is the status of the condition. // Status is the status of the condition.

View File

@ -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.