forked from ericchiang/k8s
-
Notifications
You must be signed in to change notification settings - Fork 1
/
generated.pb.go
9991 lines (9644 loc) · 252 KB
/
generated.pb.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
/*
Package v1 is a generated protocol buffer package.
It is generated from these files:
k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
It has these top-level messages:
APIGroup
APIGroupList
APIResource
APIResourceList
APIVersions
DeleteOptions
Duration
ExportOptions
GetOptions
GroupKind
GroupResource
GroupVersion
GroupVersionForDiscovery
GroupVersionKind
GroupVersionResource
Initializer
Initializers
LabelSelector
LabelSelectorRequirement
List
ListMeta
ListOptions
MicroTime
ObjectMeta
OwnerReference
Patch
Preconditions
RootPaths
ServerAddressByClientCIDR
Status
StatusCause
StatusDetails
Time
Timestamp
TypeMeta
Verbs
WatchEvent
*/
package v1
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import k8s_io_apimachinery_pkg_runtime "github.com/ericchiang/k8s/runtime"
import _ "github.com/ericchiang/k8s/runtime/schema"
import _ "github.com/ericchiang/k8s/util/intstr"
import io "io"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// APIGroup contains the name, the supported versions, and the preferred version
// of a group.
type APIGroup struct {
// name is the name of the group.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// versions are the versions supported in this group.
Versions []*GroupVersionForDiscovery `protobuf:"bytes,2,rep,name=versions" json:"versions,omitempty"`
// preferredVersion is the version preferred by the API server, which
// probably is the storage version.
// +optional
PreferredVersion *GroupVersionForDiscovery `protobuf:"bytes,3,opt,name=preferredVersion" json:"preferredVersion,omitempty"`
// a map of client CIDR to server address that is serving this group.
// This is to help clients reach servers in the most network-efficient way possible.
// Clients can use the appropriate server address as per the CIDR that they match.
// In case of multiple matches, clients should use the longest matching CIDR.
// The server returns only those CIDRs that it thinks that the client can match.
// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *APIGroup) Reset() { *m = APIGroup{} }
func (m *APIGroup) String() string { return proto.CompactTextString(m) }
func (*APIGroup) ProtoMessage() {}
func (*APIGroup) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} }
func (m *APIGroup) GetName() string {
if m != nil && m.Name != nil {
return *m.Name
}
return ""
}
func (m *APIGroup) GetVersions() []*GroupVersionForDiscovery {
if m != nil {
return m.Versions
}
return nil
}
func (m *APIGroup) GetPreferredVersion() *GroupVersionForDiscovery {
if m != nil {
return m.PreferredVersion
}
return nil
}
func (m *APIGroup) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR {
if m != nil {
return m.ServerAddressByClientCIDRs
}
return nil
}
// APIGroupList is a list of APIGroup, to allow clients to discover the API at
// /apis.
type APIGroupList struct {
// groups is a list of APIGroup.
Groups []*APIGroup `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *APIGroupList) Reset() { *m = APIGroupList{} }
func (m *APIGroupList) String() string { return proto.CompactTextString(m) }
func (*APIGroupList) ProtoMessage() {}
func (*APIGroupList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} }
func (m *APIGroupList) GetGroups() []*APIGroup {
if m != nil {
return m.Groups
}
return nil
}
// APIResource specifies the name of a resource and whether it is namespaced.
type APIResource struct {
// name is the plural name of the resource.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
// singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely.
// The singularName is more correct for reporting status on a single item and both singular and plural are allowed
// from the kubectl CLI interface.
SingularName *string `protobuf:"bytes,6,opt,name=singularName" json:"singularName,omitempty"`
// namespaced indicates if a resource is namespaced or not.
Namespaced *bool `protobuf:"varint,2,opt,name=namespaced" json:"namespaced,omitempty"`
// group is the preferred group of the resource. Empty implies the group of the containing resource list.
// For subresources, this may have a different value, for example: Scale".
Group *string `protobuf:"bytes,8,opt,name=group" json:"group,omitempty"`
// version is the preferred version of the resource. Empty implies the version of the containing resource list
// For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)".
Version *string `protobuf:"bytes,9,opt,name=version" json:"version,omitempty"`
// kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')
Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
// verbs is a list of supported kube verbs (this includes get, list, watch, create,
// update, patch, delete, deletecollection, and proxy)
Verbs *Verbs `protobuf:"bytes,4,opt,name=verbs" json:"verbs,omitempty"`
// shortNames is a list of suggested short names of the resource.
ShortNames []string `protobuf:"bytes,5,rep,name=shortNames" json:"shortNames,omitempty"`
// categories is a list of the grouped resources this resource belongs to (e.g. 'all')
Categories []string `protobuf:"bytes,7,rep,name=categories" json:"categories,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *APIResource) Reset() { *m = APIResource{} }
func (m *APIResource) String() string { return proto.CompactTextString(m) }
func (*APIResource) ProtoMessage() {}
func (*APIResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} }
func (m *APIResource) GetName() string {
if m != nil && m.Name != nil {
return *m.Name
}
return ""
}
func (m *APIResource) GetSingularName() string {
if m != nil && m.SingularName != nil {
return *m.SingularName
}
return ""
}
func (m *APIResource) GetNamespaced() bool {
if m != nil && m.Namespaced != nil {
return *m.Namespaced
}
return false
}
func (m *APIResource) GetGroup() string {
if m != nil && m.Group != nil {
return *m.Group
}
return ""
}
func (m *APIResource) GetVersion() string {
if m != nil && m.Version != nil {
return *m.Version
}
return ""
}
func (m *APIResource) GetKind() string {
if m != nil && m.Kind != nil {
return *m.Kind
}
return ""
}
func (m *APIResource) GetVerbs() *Verbs {
if m != nil {
return m.Verbs
}
return nil
}
func (m *APIResource) GetShortNames() []string {
if m != nil {
return m.ShortNames
}
return nil
}
func (m *APIResource) GetCategories() []string {
if m != nil {
return m.Categories
}
return nil
}
// APIResourceList is a list of APIResource, it is used to expose the name of the
// resources supported in a specific group and version, and if the resource
// is namespaced.
type APIResourceList struct {
// groupVersion is the group and version this APIResourceList is for.
GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"`
// resources contains the name of the resources and if they are namespaced.
Resources []*APIResource `protobuf:"bytes,2,rep,name=resources" json:"resources,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *APIResourceList) Reset() { *m = APIResourceList{} }
func (m *APIResourceList) String() string { return proto.CompactTextString(m) }
func (*APIResourceList) ProtoMessage() {}
func (*APIResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} }
func (m *APIResourceList) GetGroupVersion() string {
if m != nil && m.GroupVersion != nil {
return *m.GroupVersion
}
return ""
}
func (m *APIResourceList) GetResources() []*APIResource {
if m != nil {
return m.Resources
}
return nil
}
// APIVersions lists the versions that are available, to allow clients to
// discover the API at /api, which is the root path of the legacy v1 API.
//
// +protobuf.options.(gogoproto.goproto_stringer)=false
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
type APIVersions struct {
// versions are the api versions that are available.
Versions []string `protobuf:"bytes,1,rep,name=versions" json:"versions,omitempty"`
// a map of client CIDR to server address that is serving this group.
// This is to help clients reach servers in the most network-efficient way possible.
// Clients can use the appropriate server address as per the CIDR that they match.
// In case of multiple matches, clients should use the longest matching CIDR.
// The server returns only those CIDRs that it thinks that the client can match.
// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
ServerAddressByClientCIDRs []*ServerAddressByClientCIDR `protobuf:"bytes,2,rep,name=serverAddressByClientCIDRs" json:"serverAddressByClientCIDRs,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *APIVersions) Reset() { *m = APIVersions{} }
func (m *APIVersions) String() string { return proto.CompactTextString(m) }
func (*APIVersions) ProtoMessage() {}
func (*APIVersions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} }
func (m *APIVersions) GetVersions() []string {
if m != nil {
return m.Versions
}
return nil
}
func (m *APIVersions) GetServerAddressByClientCIDRs() []*ServerAddressByClientCIDR {
if m != nil {
return m.ServerAddressByClientCIDRs
}
return nil
}
// DeleteOptions may be provided when deleting an API object.
type DeleteOptions struct {
// The duration in seconds before the object should be deleted. Value must be non-negative integer.
// The value zero indicates delete immediately. If this value is nil, the default grace period for the
// specified type will be used.
// Defaults to a per object value if not specified. zero means delete immediately.
// +optional
GracePeriodSeconds *int64 `protobuf:"varint,1,opt,name=gracePeriodSeconds" json:"gracePeriodSeconds,omitempty"`
// Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be
// returned.
// +optional
Preconditions *Preconditions `protobuf:"bytes,2,opt,name=preconditions" json:"preconditions,omitempty"`
// Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7.
// Should the dependent objects be orphaned. If true/false, the "orphan"
// finalizer will be added to/removed from the object's finalizers list.
// Either this field or PropagationPolicy may be set, but not both.
// +optional
OrphanDependents *bool `protobuf:"varint,3,opt,name=orphanDependents" json:"orphanDependents,omitempty"`
// Whether and how garbage collection will be performed.
// Either this field or OrphanDependents may be set, but not both.
// The default policy is decided by the existing finalizer set in the
// metadata.finalizers and the resource-specific default policy.
// Acceptable values are: 'Orphan' - orphan the dependents; 'Background' -
// allow the garbage collector to delete the dependents in the background;
// 'Foreground' - a cascading policy that deletes all dependents in the
// foreground.
// +optional
PropagationPolicy *string `protobuf:"bytes,4,opt,name=propagationPolicy" json:"propagationPolicy,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
func (m *DeleteOptions) String() string { return proto.CompactTextString(m) }
func (*DeleteOptions) ProtoMessage() {}
func (*DeleteOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{5} }
func (m *DeleteOptions) GetGracePeriodSeconds() int64 {
if m != nil && m.GracePeriodSeconds != nil {
return *m.GracePeriodSeconds
}
return 0
}
func (m *DeleteOptions) GetPreconditions() *Preconditions {
if m != nil {
return m.Preconditions
}
return nil
}
func (m *DeleteOptions) GetOrphanDependents() bool {
if m != nil && m.OrphanDependents != nil {
return *m.OrphanDependents
}
return false
}
func (m *DeleteOptions) GetPropagationPolicy() string {
if m != nil && m.PropagationPolicy != nil {
return *m.PropagationPolicy
}
return ""
}
// Duration is a wrapper around time.Duration which supports correct
// marshaling to YAML and JSON. In particular, it marshals into strings, which
// can be used as map keys in json.
type Duration struct {
Duration *int64 `protobuf:"varint,1,opt,name=duration" json:"duration,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Duration) Reset() { *m = Duration{} }
func (m *Duration) String() string { return proto.CompactTextString(m) }
func (*Duration) ProtoMessage() {}
func (*Duration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{6} }
func (m *Duration) GetDuration() int64 {
if m != nil && m.Duration != nil {
return *m.Duration
}
return 0
}
// ExportOptions is the query options to the standard REST get call.
type ExportOptions struct {
// Should this value be exported. Export strips fields that a user can not specify.
Export *bool `protobuf:"varint,1,opt,name=export" json:"export,omitempty"`
// Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
Exact *bool `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ExportOptions) Reset() { *m = ExportOptions{} }
func (m *ExportOptions) String() string { return proto.CompactTextString(m) }
func (*ExportOptions) ProtoMessage() {}
func (*ExportOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} }
func (m *ExportOptions) GetExport() bool {
if m != nil && m.Export != nil {
return *m.Export
}
return false
}
func (m *ExportOptions) GetExact() bool {
if m != nil && m.Exact != nil {
return *m.Exact
}
return false
}
// GetOptions is the standard query options to the standard REST get call.
type GetOptions struct {
// When specified:
// - if unset, then the result is returned from remote storage based on quorum-read flag;
// - if it's 0, then we simply return what we currently have in cache, no guarantee;
// - if set to non zero, then the result is at least as fresh as given rv.
ResourceVersion *string `protobuf:"bytes,1,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
// If true, partially initialized resources are included in the response.
// +optional
IncludeUninitialized *bool `protobuf:"varint,2,opt,name=includeUninitialized" json:"includeUninitialized,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GetOptions) Reset() { *m = GetOptions{} }
func (m *GetOptions) String() string { return proto.CompactTextString(m) }
func (*GetOptions) ProtoMessage() {}
func (*GetOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{8} }
func (m *GetOptions) GetResourceVersion() string {
if m != nil && m.ResourceVersion != nil {
return *m.ResourceVersion
}
return ""
}
func (m *GetOptions) GetIncludeUninitialized() bool {
if m != nil && m.IncludeUninitialized != nil {
return *m.IncludeUninitialized
}
return false
}
// GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying
// concepts during lookup stages without having partially valid types
//
// +protobuf.options.(gogoproto.goproto_stringer)=false
type GroupKind struct {
Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
Kind *string `protobuf:"bytes,2,opt,name=kind" json:"kind,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GroupKind) Reset() { *m = GroupKind{} }
func (m *GroupKind) String() string { return proto.CompactTextString(m) }
func (*GroupKind) ProtoMessage() {}
func (*GroupKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{9} }
func (m *GroupKind) GetGroup() string {
if m != nil && m.Group != nil {
return *m.Group
}
return ""
}
func (m *GroupKind) GetKind() string {
if m != nil && m.Kind != nil {
return *m.Kind
}
return ""
}
// GroupResource specifies a Group and a Resource, but does not force a version. This is useful for identifying
// concepts during lookup stages without having partially valid types
//
// +protobuf.options.(gogoproto.goproto_stringer)=false
type GroupResource struct {
Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
Resource *string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GroupResource) Reset() { *m = GroupResource{} }
func (m *GroupResource) String() string { return proto.CompactTextString(m) }
func (*GroupResource) ProtoMessage() {}
func (*GroupResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} }
func (m *GroupResource) GetGroup() string {
if m != nil && m.Group != nil {
return *m.Group
}
return ""
}
func (m *GroupResource) GetResource() string {
if m != nil && m.Resource != nil {
return *m.Resource
}
return ""
}
// GroupVersion contains the "group" and the "version", which uniquely identifies the API.
//
// +protobuf.options.(gogoproto.goproto_stringer)=false
type GroupVersion struct {
Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GroupVersion) Reset() { *m = GroupVersion{} }
func (m *GroupVersion) String() string { return proto.CompactTextString(m) }
func (*GroupVersion) ProtoMessage() {}
func (*GroupVersion) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{11} }
func (m *GroupVersion) GetGroup() string {
if m != nil && m.Group != nil {
return *m.Group
}
return ""
}
func (m *GroupVersion) GetVersion() string {
if m != nil && m.Version != nil {
return *m.Version
}
return ""
}
// GroupVersion contains the "group/version" and "version" string of a version.
// It is made a struct to keep extensibility.
type GroupVersionForDiscovery struct {
// groupVersion specifies the API group and version in the form "group/version"
GroupVersion *string `protobuf:"bytes,1,opt,name=groupVersion" json:"groupVersion,omitempty"`
// version specifies the version in the form of "version". This is to save
// the clients the trouble of splitting the GroupVersion.
Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} }
func (m *GroupVersionForDiscovery) String() string { return proto.CompactTextString(m) }
func (*GroupVersionForDiscovery) ProtoMessage() {}
func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{12}
}
func (m *GroupVersionForDiscovery) GetGroupVersion() string {
if m != nil && m.GroupVersion != nil {
return *m.GroupVersion
}
return ""
}
func (m *GroupVersionForDiscovery) GetVersion() string {
if m != nil && m.Version != nil {
return *m.Version
}
return ""
}
// GroupVersionKind unambiguously identifies a kind. It doesn't anonymously include GroupVersion
// to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling
//
// +protobuf.options.(gogoproto.goproto_stringer)=false
type GroupVersionKind struct {
Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} }
func (m *GroupVersionKind) String() string { return proto.CompactTextString(m) }
func (*GroupVersionKind) ProtoMessage() {}
func (*GroupVersionKind) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{13} }
func (m *GroupVersionKind) GetGroup() string {
if m != nil && m.Group != nil {
return *m.Group
}
return ""
}
func (m *GroupVersionKind) GetVersion() string {
if m != nil && m.Version != nil {
return *m.Version
}
return ""
}
func (m *GroupVersionKind) GetKind() string {
if m != nil && m.Kind != nil {
return *m.Kind
}
return ""
}
// GroupVersionResource unambiguously identifies a resource. It doesn't anonymously include GroupVersion
// to avoid automatic coersion. It doesn't use a GroupVersion to avoid custom marshalling
//
// +protobuf.options.(gogoproto.goproto_stringer)=false
type GroupVersionResource struct {
Group *string `protobuf:"bytes,1,opt,name=group" json:"group,omitempty"`
Version *string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
Resource *string `protobuf:"bytes,3,opt,name=resource" json:"resource,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} }
func (m *GroupVersionResource) String() string { return proto.CompactTextString(m) }
func (*GroupVersionResource) ProtoMessage() {}
func (*GroupVersionResource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{14} }
func (m *GroupVersionResource) GetGroup() string {
if m != nil && m.Group != nil {
return *m.Group
}
return ""
}
func (m *GroupVersionResource) GetVersion() string {
if m != nil && m.Version != nil {
return *m.Version
}
return ""
}
func (m *GroupVersionResource) GetResource() string {
if m != nil && m.Resource != nil {
return *m.Resource
}
return ""
}
// Initializer is information about an initializer that has not yet completed.
type Initializer struct {
// name of the process that is responsible for initializing this object.
Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Initializer) Reset() { *m = Initializer{} }
func (m *Initializer) String() string { return proto.CompactTextString(m) }
func (*Initializer) ProtoMessage() {}
func (*Initializer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{15} }
func (m *Initializer) GetName() string {
if m != nil && m.Name != nil {
return *m.Name
}
return ""
}
// Initializers tracks the progress of initialization.
type Initializers struct {
// Pending is a list of initializers that must execute in order before this object is visible.
// When the last pending initializer is removed, and no failing result is set, the initializers
// struct will be set to nil and the object is considered as initialized and visible to all
// clients.
// +patchMergeKey=name
// +patchStrategy=merge
Pending []*Initializer `protobuf:"bytes,1,rep,name=pending" json:"pending,omitempty"`
// If result is set with the Failure field, the object will be persisted to storage and then deleted,
// ensuring that other clients can observe the deletion.
Result *Status `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *Initializers) Reset() { *m = Initializers{} }
func (m *Initializers) String() string { return proto.CompactTextString(m) }
func (*Initializers) ProtoMessage() {}
func (*Initializers) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{16} }
func (m *Initializers) GetPending() []*Initializer {
if m != nil {
return m.Pending
}
return nil
}
func (m *Initializers) GetResult() *Status {
if m != nil {
return m.Result
}
return nil
}
// A label selector is a label query over a set of resources. The result of matchLabels and
// matchExpressions are ANDed. An empty label selector matches all objects. A null
// label selector matches no objects.
type LabelSelector struct {
// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
// map is equivalent to an element of matchExpressions, whose key field is "key", the
// operator is "In", and the values array contains only "value". The requirements are ANDed.
// +optional
MatchLabels map[string]string `protobuf:"bytes,1,rep,name=matchLabels" json:"matchLabels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// matchExpressions is a list of label selector requirements. The requirements are ANDed.
// +optional
MatchExpressions []*LabelSelectorRequirement `protobuf:"bytes,2,rep,name=matchExpressions" json:"matchExpressions,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *LabelSelector) Reset() { *m = LabelSelector{} }
func (m *LabelSelector) String() string { return proto.CompactTextString(m) }
func (*LabelSelector) ProtoMessage() {}
func (*LabelSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{17} }
func (m *LabelSelector) GetMatchLabels() map[string]string {
if m != nil {
return m.MatchLabels
}
return nil
}
func (m *LabelSelector) GetMatchExpressions() []*LabelSelectorRequirement {
if m != nil {
return m.MatchExpressions
}
return nil
}
// A label selector requirement is a selector that contains values, a key, and an operator that
// relates the key and values.
type LabelSelectorRequirement struct {
// key is the label key that the selector applies to.
// +patchMergeKey=key
// +patchStrategy=merge
Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
// operator represents a key's relationship to a set of values.
// Valid operators are In, NotIn, Exists and DoesNotExist.
Operator *string `protobuf:"bytes,2,opt,name=operator" json:"operator,omitempty"`
// values is an array of string values. If the operator is In or NotIn,
// the values array must be non-empty. If the operator is Exists or DoesNotExist,
// the values array must be empty. This array is replaced during a strategic
// merge patch.
// +optional
Values []string `protobuf:"bytes,3,rep,name=values" json:"values,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} }
func (m *LabelSelectorRequirement) String() string { return proto.CompactTextString(m) }
func (*LabelSelectorRequirement) ProtoMessage() {}
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {
return fileDescriptorGenerated, []int{18}
}
func (m *LabelSelectorRequirement) GetKey() string {
if m != nil && m.Key != nil {
return *m.Key
}
return ""
}
func (m *LabelSelectorRequirement) GetOperator() string {
if m != nil && m.Operator != nil {
return *m.Operator
}
return ""
}
func (m *LabelSelectorRequirement) GetValues() []string {
if m != nil {
return m.Values
}
return nil
}
// List holds a list of objects, which may not be known by the server.
type List struct {
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
// +optional
Metadata *ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"`
// List of objects
Items []*k8s_io_apimachinery_pkg_runtime.RawExtension `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *List) Reset() { *m = List{} }
func (m *List) String() string { return proto.CompactTextString(m) }
func (*List) ProtoMessage() {}
func (*List) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{19} }
func (m *List) GetMetadata() *ListMeta {
if m != nil {
return m.Metadata
}
return nil
}
func (m *List) GetItems() []*k8s_io_apimachinery_pkg_runtime.RawExtension {
if m != nil {
return m.Items
}
return nil
}
// ListMeta describes metadata that synthetic resources must have, including lists and
// various status objects. A resource may have only one of {ObjectMeta, ListMeta}.
type ListMeta struct {
// selfLink is a URL representing this object.
// Populated by the system.
// Read-only.
// +optional
SelfLink *string `protobuf:"bytes,1,opt,name=selfLink" json:"selfLink,omitempty"`
// String that identifies the server's internal version of this object that
// can be used by clients to determine when objects have changed.
// Value must be treated as opaque by clients and passed unmodified back to the server.
// Populated by the system.
// Read-only.
// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
// +optional
ResourceVersion *string `protobuf:"bytes,2,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
// continue may be set if the user set a limit on the number of items returned, and indicates that
// the server has more data available. The value is opaque and may be used to issue another request
// to the endpoint that served this list to retrieve the next set of available objects. Continuing a
// list may not be possible if the server configuration has changed or more than a few minutes have
// passed. The resourceVersion field returned when using this continue value will be identical to
// the value in the first response.
Continue *string `protobuf:"bytes,3,opt,name=continue" json:"continue,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ListMeta) Reset() { *m = ListMeta{} }
func (m *ListMeta) String() string { return proto.CompactTextString(m) }
func (*ListMeta) ProtoMessage() {}
func (*ListMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{20} }
func (m *ListMeta) GetSelfLink() string {
if m != nil && m.SelfLink != nil {
return *m.SelfLink
}
return ""
}
func (m *ListMeta) GetResourceVersion() string {
if m != nil && m.ResourceVersion != nil {
return *m.ResourceVersion
}
return ""
}
func (m *ListMeta) GetContinue() string {
if m != nil && m.Continue != nil {
return *m.Continue
}
return ""
}
// ListOptions is the query options to a standard REST list call.
type ListOptions struct {
// A selector to restrict the list of returned objects by their labels.
// Defaults to everything.
// +optional
LabelSelector *string `protobuf:"bytes,1,opt,name=labelSelector" json:"labelSelector,omitempty"`
// A selector to restrict the list of returned objects by their fields.
// Defaults to everything.
// +optional
FieldSelector *string `protobuf:"bytes,2,opt,name=fieldSelector" json:"fieldSelector,omitempty"`
// If true, partially initialized resources are included in the response.
// +optional
IncludeUninitialized *bool `protobuf:"varint,6,opt,name=includeUninitialized" json:"includeUninitialized,omitempty"`
// Watch for changes to the described resources and return them as a stream of
// add, update, and remove notifications. Specify resourceVersion.
// +optional
Watch *bool `protobuf:"varint,3,opt,name=watch" json:"watch,omitempty"`
// When specified with a watch call, shows changes that occur after that particular version of a resource.
// Defaults to changes from the beginning of history.
// When specified for list:
// - if unset, then the result is returned from remote storage based on quorum-read flag;
// - if it's 0, then we simply return what we currently have in cache, no guarantee;
// - if set to non zero, then the result is at least as fresh as given rv.
// +optional
ResourceVersion *string `protobuf:"bytes,4,opt,name=resourceVersion" json:"resourceVersion,omitempty"`
// Timeout for the list/watch call.
// This limits the duration of the call, regardless of any activity or inactivity.
// +optional
TimeoutSeconds *int64 `protobuf:"varint,5,opt,name=timeoutSeconds" json:"timeoutSeconds,omitempty"`
// limit is a maximum number of responses to return for a list call. If more items exist, the
// server will set the `continue` field on the list metadata to a value that can be used with the
// same initial query to retrieve the next set of results. Setting a limit may return fewer than
// the requested amount of items (up to zero items) in the event all requested objects are
// filtered out and clients should only use the presence of the continue field to determine whether
// more results are available. Servers may choose not to support the limit argument and will return
// all of the available results. If limit is specified and the continue field is empty, clients may
// assume that no more results are available. This field is not supported if watch is true.
//
// The server guarantees that the objects returned when using continue will be identical to issuing
// a single list call without a limit - that is, no objects created, modified, or deleted after the
// first request is issued will be included in any subsequent continued requests. This is sometimes
// referred to as a consistent snapshot, and ensures that a client that is using limit to receive
// smaller chunks of a very large result can ensure they see all possible objects. If objects are
// updated during a chunked list the version of the object that was present at the time the first list
// result was calculated is returned.
Limit *int64 `protobuf:"varint,7,opt,name=limit" json:"limit,omitempty"`
// The continue option should be set when retrieving more results from the server. Since this value
// is server defined, clients may only use the continue value from a previous query result with
// identical query parameters (except for the value of continue) and the server may reject a continue
// value it does not recognize. If the specified continue value is no longer valid whether due to
// expiration (generally five to fifteen minutes) or a configuration change on the server the server
// will respond with a 410 ResourceExpired error indicating the client must restart their list without
// the continue field. This field is not supported when watch is true. Clients may start a watch from
// the last resourceVersion value returned by the server and not miss any modifications.
Continue *string `protobuf:"bytes,8,opt,name=continue" json:"continue,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *ListOptions) Reset() { *m = ListOptions{} }
func (m *ListOptions) String() string { return proto.CompactTextString(m) }
func (*ListOptions) ProtoMessage() {}
func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{21} }
func (m *ListOptions) GetLabelSelector() string {
if m != nil && m.LabelSelector != nil {
return *m.LabelSelector
}
return ""
}
func (m *ListOptions) GetFieldSelector() string {
if m != nil && m.FieldSelector != nil {
return *m.FieldSelector
}
return ""
}
func (m *ListOptions) GetIncludeUninitialized() bool {
if m != nil && m.IncludeUninitialized != nil {
return *m.IncludeUninitialized
}
return false
}
func (m *ListOptions) GetWatch() bool {
if m != nil && m.Watch != nil {
return *m.Watch
}
return false
}
func (m *ListOptions) GetResourceVersion() string {
if m != nil && m.ResourceVersion != nil {
return *m.ResourceVersion
}
return ""
}
func (m *ListOptions) GetTimeoutSeconds() int64 {
if m != nil && m.TimeoutSeconds != nil {
return *m.TimeoutSeconds
}
return 0
}
func (m *ListOptions) GetLimit() int64 {
if m != nil && m.Limit != nil {
return *m.Limit
}
return 0
}
func (m *ListOptions) GetContinue() string {
if m != nil && m.Continue != nil {
return *m.Continue
}
return ""
}
// MicroTime is version of Time with microsecond level precision.
//
// +protobuf.options.marshal=false
// +protobuf.as=Timestamp
// +protobuf.options.(gogoproto.goproto_stringer)=false
type MicroTime struct {
// Represents seconds of UTC time since Unix epoch
// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
// 9999-12-31T23:59:59Z inclusive.
Seconds *int64 `protobuf:"varint,1,opt,name=seconds" json:"seconds,omitempty"`
// Non-negative fractions of a second at nanosecond resolution. Negative
// second values with fractions must still have non-negative nanos values
// that count forward in time. Must be from 0 to 999,999,999
// inclusive. This field may be limited in precision depending on context.
Nanos *int32 `protobuf:"varint,2,opt,name=nanos" json:"nanos,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (m *MicroTime) Reset() { *m = MicroTime{} }
func (m *MicroTime) String() string { return proto.CompactTextString(m) }