Skip to content

Commit bc1e531

Browse files
Jefftreek8s-publishing-bot
authored andcommitted
generated
Kubernetes-commit: 2d10dec3a297e6be29f47c68722c1ef5ea727fbf
1 parent 5bdb873 commit bc1e531

8 files changed

+1192
-41
lines changed

coordination/v1beta1/generated.pb.go

+874-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coordination/v1beta1/generated.proto

+69
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coordination/v1beta1/types_swagger_doc_generated.go

+34
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,40 @@ func (Lease) SwaggerDoc() map[string]string {
3737
return map_Lease
3838
}
3939

40+
var map_LeaseCandidate = map[string]string{
41+
"": "LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.",
42+
"metadata": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
43+
"spec": "spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
44+
}
45+
46+
func (LeaseCandidate) SwaggerDoc() map[string]string {
47+
return map_LeaseCandidate
48+
}
49+
50+
var map_LeaseCandidateList = map[string]string{
51+
"": "LeaseCandidateList is a list of Lease objects.",
52+
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
53+
"items": "items is a list of schema objects.",
54+
}
55+
56+
func (LeaseCandidateList) SwaggerDoc() map[string]string {
57+
return map_LeaseCandidateList
58+
}
59+
60+
var map_LeaseCandidateSpec = map[string]string{
61+
"": "LeaseCandidateSpec is a specification of a Lease.",
62+
"leaseName": "LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.",
63+
"pingTime": "PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.",
64+
"renewTime": "RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.",
65+
"binaryVersion": "BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.",
66+
"emulationVersion": "EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is \"OldestEmulationVersion\"",
67+
"strategy": "Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.",
68+
}
69+
70+
func (LeaseCandidateSpec) SwaggerDoc() map[string]string {
71+
return map_LeaseCandidateSpec
72+
}
73+
4074
var map_LeaseList = map[string]string{
4175
"": "LeaseList is a list of Lease objects.",
4276
"metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",

coordination/v1beta1/zz_generated.deepcopy.go

+84
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coordination/v1beta1/zz_generated.prerelease-lifecycle.go

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"kind": "LeaseCandidate",
3+
"apiVersion": "coordination.k8s.io/v1beta1",
4+
"metadata": {
5+
"name": "nameValue",
6+
"generateName": "generateNameValue",
7+
"namespace": "namespaceValue",
8+
"selfLink": "selfLinkValue",
9+
"uid": "uidValue",
10+
"resourceVersion": "resourceVersionValue",
11+
"generation": 7,
12+
"creationTimestamp": "2008-01-01T01:01:01Z",
13+
"deletionTimestamp": "2009-01-01T01:01:01Z",
14+
"deletionGracePeriodSeconds": 10,
15+
"labels": {
16+
"labelsKey": "labelsValue"
17+
},
18+
"annotations": {
19+
"annotationsKey": "annotationsValue"
20+
},
21+
"ownerReferences": [
22+
{
23+
"apiVersion": "apiVersionValue",
24+
"kind": "kindValue",
25+
"name": "nameValue",
26+
"uid": "uidValue",
27+
"controller": true,
28+
"blockOwnerDeletion": true
29+
}
30+
],
31+
"finalizers": [
32+
"finalizersValue"
33+
],
34+
"managedFields": [
35+
{
36+
"manager": "managerValue",
37+
"operation": "operationValue",
38+
"apiVersion": "apiVersionValue",
39+
"time": "2004-01-01T01:01:01Z",
40+
"fieldsType": "fieldsTypeValue",
41+
"fieldsV1": {},
42+
"subresource": "subresourceValue"
43+
}
44+
]
45+
},
46+
"spec": {
47+
"leaseName": "leaseNameValue",
48+
"pingTime": "2002-01-01T01:01:01.000002Z",
49+
"renewTime": "2003-01-01T01:01:01.000003Z",
50+
"binaryVersion": "binaryVersionValue",
51+
"emulationVersion": "emulationVersionValue",
52+
"strategy": "strategyValue"
53+
}
54+
}
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apiVersion: coordination.k8s.io/v1beta1
2+
kind: LeaseCandidate
3+
metadata:
4+
annotations:
5+
annotationsKey: annotationsValue
6+
creationTimestamp: "2008-01-01T01:01:01Z"
7+
deletionGracePeriodSeconds: 10
8+
deletionTimestamp: "2009-01-01T01:01:01Z"
9+
finalizers:
10+
- finalizersValue
11+
generateName: generateNameValue
12+
generation: 7
13+
labels:
14+
labelsKey: labelsValue
15+
managedFields:
16+
- apiVersion: apiVersionValue
17+
fieldsType: fieldsTypeValue
18+
fieldsV1: {}
19+
manager: managerValue
20+
operation: operationValue
21+
subresource: subresourceValue
22+
time: "2004-01-01T01:01:01Z"
23+
name: nameValue
24+
namespace: namespaceValue
25+
ownerReferences:
26+
- apiVersion: apiVersionValue
27+
blockOwnerDeletion: true
28+
controller: true
29+
kind: kindValue
30+
name: nameValue
31+
uid: uidValue
32+
resourceVersion: resourceVersionValue
33+
selfLink: selfLinkValue
34+
uid: uidValue
35+
spec:
36+
binaryVersion: binaryVersionValue
37+
emulationVersion: emulationVersionValue
38+
leaseName: leaseNameValue
39+
pingTime: "2002-01-01T01:01:01.000002Z"
40+
renewTime: "2003-01-01T01:01:01.000003Z"
41+
strategy: strategyValue

0 commit comments

Comments
 (0)