-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1_pod_condition.go
36 lines (27 loc) · 1.2 KB
/
v1_pod_condition.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* 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
import (
"time"
)
// PodCondition contains details for the current condition of this pod.
type V1PodCondition struct {
// Last time we probed the condition.
LastProbeTime time.Time `json:"lastProbeTime,omitempty"`
// Last time the condition transitioned from one status to another.
LastTransitionTime time.Time `json:"lastTransitionTime,omitempty"`
// Human-readable message indicating details about last transition.
Message string `json:"message,omitempty"`
// Unique, one-word, CamelCase reason for the condition's last transition.
Reason string `json:"reason,omitempty"`
// Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
Status string `json:"status"`
// Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
Type_ string `json:"type"`
}