-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathv1_taint.go
30 lines (23 loc) · 914 Bytes
/
v1_taint.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
/*
* 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"
)
// The node this Taint is attached to has the \"effect\" on any pod that does not tolerate the Taint.
type V1Taint struct {
// Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute.
Effect string `json:"effect"`
// Required. The taint key to be applied to a node.
Key string `json:"key"`
// TimeAdded represents the time at which the taint was added. It is only written for NoExecute taints.
TimeAdded time.Time `json:"timeAdded,omitempty"`
// Required. The taint value corresponding to the taint key.
Value string `json:"value,omitempty"`
}