forked from instrumenta/kubernetes-json-schema
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathleasespec.json
32 lines (32 loc) · 1.26 KB
/
leasespec.json
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
{
"description": "LeaseSpec is a specification of a Lease.",
"properties": {
"acquireTime": {
"description": "acquireTime is a time when the current lease was acquired.",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime"
},
"holderIdentity": {
"description": "holderIdentity contains the identity of the holder of a current lease.",
"type": [
"string",
"null"
]
},
"leaseDurationSeconds": {
"description": "leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.",
"type": "integer",
"format": "int32"
},
"leaseTransitions": {
"description": "leaseTransitions is the number of transitions of a lease between holders.",
"type": "integer",
"format": "int32"
},
"renewTime": {
"description": "renewTime is a time when the current holder of a lease has last updated the lease.",
"$ref": "https://kubernetesjsonschema.dev/v1.12.1/_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.MicroTime"
}
},
"$schema": "http://json-schema.org/schema#",
"type": "object"
}