diff --git a/pkg/api/types.go b/pkg/api/types.go index ff1a32f2f47..2cf12bb3a33 100644 --- a/pkg/api/types.go +++ b/pkg/api/types.go @@ -455,12 +455,12 @@ func (*Binding) IsAnAPIObject() {} // import both. type Status struct { JSONBase `json:",inline" yaml:",inline"` - // One of: "success", "failure", "working" (for operations not yet completed) + // One of: "Success", "Failure", "Working" (for operations not yet completed) Status string `json:"status,omitempty" yaml:"status,omitempty"` // A human-readable description of the status of this operation. Message string `json:"message,omitempty" yaml:"message,omitempty"` // A machine-readable description of why this operation is in the - // "failure" or "working" status. If this value is empty there + // "Failure" or "Working" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. Reason StatusReason `json:"reason,omitempty" yaml:"reason,omitempty"` @@ -495,9 +495,9 @@ type StatusDetails struct { // Values of Status.Status const ( - StatusSuccess = "success" - StatusFailure = "failure" - StatusWorking = "working" + StatusSuccess = "Success" + StatusFailure = "Failure" + StatusWorking = "Working" ) // StatusReason is an enumeration of possible failure causes. Each StatusReason @@ -585,7 +585,7 @@ type StatusCause struct { // CauseType is a machine readable value providing more detail about what // occured in a status response. An operation may have multiple causes for a -// status (whether failure, success, or working). +// status (whether Failure, Success, or Working). type CauseType string const ( diff --git a/pkg/api/v1beta1/types.go b/pkg/api/v1beta1/types.go index 028333c9597..5b8f3ae7a76 100644 --- a/pkg/api/v1beta1/types.go +++ b/pkg/api/v1beta1/types.go @@ -471,12 +471,12 @@ func (*Binding) IsAnAPIObject() {} // import both. type Status struct { JSONBase `json:",inline" yaml:",inline"` - // One of: "success", "failure", "working" (for operations not yet completed) + // One of: "Success", "Failure", "Working" (for operations not yet completed) Status string `json:"status,omitempty" yaml:"status,omitempty"` // A human-readable description of the status of this operation. Message string `json:"message,omitempty" yaml:"message,omitempty"` // A machine-readable description of why this operation is in the - // "failure" or "working" status. If this value is empty there + // "Failure" or "Working" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. Reason StatusReason `json:"reason,omitempty" yaml:"reason,omitempty"` @@ -511,9 +511,9 @@ type StatusDetails struct { // Values of Status.Status const ( - StatusSuccess = "success" - StatusFailure = "failure" - StatusWorking = "working" + StatusSuccess = "Success" + StatusFailure = "Failure" + StatusWorking = "Working" ) // StatusReason is an enumeration of possible failure causes. Each StatusReason @@ -588,7 +588,7 @@ type StatusCause struct { // CauseType is a machine readable value providing more detail about what // occured in a status response. An operation may have multiple causes for a -// status (whether failure, success, or working). +// status (whether Failure, Success, or Working). type CauseType string const ( diff --git a/pkg/api/v1beta2/types.go b/pkg/api/v1beta2/types.go index 9031ee8ffaf..ae716f51dee 100644 --- a/pkg/api/v1beta2/types.go +++ b/pkg/api/v1beta2/types.go @@ -468,12 +468,12 @@ func (*Binding) IsAnAPIObject() {} // import both. type Status struct { JSONBase `json:",inline" yaml:",inline"` - // One of: "success", "failure", "working" (for operations not yet completed) + // One of: "Success", "Failure", "Working" (for operations not yet completed) Status string `json:"status,omitempty" yaml:"status,omitempty"` // A human-readable description of the status of this operation. Message string `json:"message,omitempty" yaml:"message,omitempty"` // A machine-readable description of why this operation is in the - // "failure" or "working" status. If this value is empty there + // "Failure" or "Working" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. Reason StatusReason `json:"reason,omitempty" yaml:"reason,omitempty"` @@ -508,9 +508,9 @@ type StatusDetails struct { // Values of Status.Status const ( - StatusSuccess = "success" - StatusFailure = "failure" - StatusWorking = "working" + StatusSuccess = "Success" + StatusFailure = "Failure" + StatusWorking = "Working" ) // StatusReason is an enumeration of possible failure causes. Each StatusReason @@ -598,7 +598,7 @@ type StatusCause struct { // CauseType is a machine readable value providing more detail about what // occured in a status response. An operation may have multiple causes for a -// status (whether failure, success, or working). +// status (whether Failure, Success, or Working). type CauseType string const ( diff --git a/pkg/api/v1beta3/types.go b/pkg/api/v1beta3/types.go index 9f76944285b..29e3ab195e3 100644 --- a/pkg/api/v1beta3/types.go +++ b/pkg/api/v1beta3/types.go @@ -464,12 +464,12 @@ func (*Binding) IsAnAPIObject() {} // import both. type Status struct { JSONBase `json:",inline" yaml:",inline"` - // One of: "success", "failure", "working" (for operations not yet completed) + // One of: "Success", "Failure", "Working" (for operations not yet completed) Status string `json:"status,omitempty" yaml:"status,omitempty"` // A human-readable description of the status of this operation. Message string `json:"message,omitempty" yaml:"message,omitempty"` // A machine-readable description of why this operation is in the - // "failure" or "working" status. If this value is empty there + // "Failure" or "Working" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. Reason StatusReason `json:"reason,omitempty" yaml:"reason,omitempty"` @@ -504,9 +504,9 @@ type StatusDetails struct { // Values of Status.Status const ( - StatusSuccess = "success" - StatusFailure = "failure" - StatusWorking = "working" + StatusSuccess = "Success" + StatusFailure = "Failure" + StatusWorking = "Working" ) // StatusReason is an enumeration of possible failure causes. Each StatusReason @@ -594,7 +594,7 @@ type StatusCause struct { // CauseType is a machine readable value providing more detail about what // occured in a status response. An operation may have multiple causes for a -// status (whether failure, success, or working). +// status (whether Failure, Success, or Working). type CauseType string const (