-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1_job_status.go
36 lines (27 loc) · 1.32 KB
/
v1_job_status.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"
)
// JobStatus represents the current state of a Job.
type V1JobStatus struct {
// The number of actively running pods.
Active int32 `json:"active,omitempty"`
// Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
CompletionTime time.Time `json:"completionTime,omitempty"`
// The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
Conditions []V1JobCondition `json:"conditions,omitempty"`
// The number of pods which reached phase Failed.
Failed int32 `json:"failed,omitempty"`
// Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
StartTime time.Time `json:"startTime,omitempty"`
// The number of pods which reached phase Succeeded.
Succeeded int32 `json:"succeeded,omitempty"`
}