-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1_status_cause.go
23 lines (18 loc) · 1.17 KB
/
v1_status_cause.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
type V1StatusCause struct {
// The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional. Examples: \"name\" - the field \"name\" on the current resource \"items[0].name\" - the field \"name\" on the first array entry in \"items\"
Field string `json:"field,omitempty"`
// A human-readable description of the cause of the error. This field may be presented as-is to a reader.
Message string `json:"message,omitempty"`
// A machine-readable description of the cause of the error. If this value is empty there is no information available.
Reason string `json:"reason,omitempty"`
}