-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_json_kubernetes_enclave.go
1256 lines (1079 loc) · 38.7 KB
/
model_json_kubernetes_enclave.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
/*
* madana-api
*
* <h1>Using the madana-api</h1> <p>This documentation contains a Quickstart Guide, relating client functionality and information about the available endpoints and used datamodels. </p> <p> The madana-api and its implementations are still in heavy development. This means that there may be problems in our protocols, or there may be mistakes in our implementations. We take security vulnerabilities very seriously. If you discover a security issue, please bring it to our attention right away! If you find a vulnerability that may affect live deployments -- for example, by exposing a remote execution exploit -- please send your report privately to info@madana.io. Please DO NOT file a public issue. If the issue is a protocol weakness that cannot be immediately exploited or something not yet deployed, just discuss it openly </p> <br> <p> Note: Not all functionality might be acessible without having accquired and api-license token. For more information visit <a href=\"https://www.madana.io\">www.madana.io</a> </p> <br>
*
* API version: 0.5.0-master.56
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package madanaapiclient
import (
"encoding/json"
)
// JsonKubernetesEnclave
type JsonKubernetesEnclave struct {
//
SignerIdent *string `json:"signerIdent,omitempty"`
//
Status *string `json:"status,omitempty"`
WgInterface *JsonWireguardInterface `json:"wgInterface,omitempty"`
//
StartupCMD *string `json:"startupCMD,omitempty"`
//
EndingTime *string `json:"endingTime,omitempty"`
//
RemoteControlServer *string `json:"remoteControlServer,omitempty"`
//
InternalWireguardServer *string `json:"internalWireguardServer,omitempty"`
//
InternalRemoteControlServer *string `json:"internalRemoteControlServer,omitempty"`
//
InternalIdent *string `json:"internalIdent,omitempty"`
KubernetesEnclave *JsonKubernetesEnclave `json:"kubernetesEnclave,omitempty"`
//
WireguardServer *string `json:"wireguardServer,omitempty"`
//
PortMapping *map[string]string `json:"portMapping,omitempty"`
//
AttestationServer *string `json:"attestationServer,omitempty"`
Process *JsonProcess `json:"process,omitempty"`
//
PublicIdent *string `json:"publicIdent,omitempty"`
//
StartupTime *string `json:"startupTime,omitempty"`
Environment *JsonEnvironment `json:"environment,omitempty"`
//
ConsoleOutput *string `json:"consoleOutput,omitempty"`
//
WireguardPublicKey *string `json:"wireguardPublicKey,omitempty"`
//
EnclaveIdent *string `json:"enclaveIdent,omitempty"`
//
InternalAttesationServer *string `json:"internalAttesationServer,omitempty"`
//
EnclaveInputstream *map[string]interface{} `json:"enclaveInputstream,omitempty"`
//
Ports *[]JsonEnclavePort `json:"ports,omitempty"`
EnclavePodEvents *JsonV1EventList `json:"enclavePodEvents,omitempty"`
//
RemoteControlIP *string `json:"remoteControlIP,omitempty"`
//
PodPhase *string `json:"podPhase,omitempty"`
EnclaveDeploymentEvents *JsonV1EventList `json:"enclaveDeploymentEvents,omitempty"`
//
DebugInfo *string `json:"debugInfo,omitempty"`
//
AttestationPort *int32 `json:"attestationPort,omitempty"`
//
IsUsingInitContainer *bool `json:"isUsingInitContainer,omitempty"`
//
WireguardPort *int32 `json:"wireguardPort,omitempty"`
EnclaveReplicaSetEvents *JsonV1EventList `json:"enclaveReplicaSetEvents,omitempty"`
}
// NewJsonKubernetesEnclave instantiates a new JsonKubernetesEnclave object
// This constructor will assign default values to properties that have it defined,
// and makes sure properties required by API are set, but the set of arguments
// will change when the set of required properties is changed
func NewJsonKubernetesEnclave() *JsonKubernetesEnclave {
this := JsonKubernetesEnclave{}
return &this
}
// NewJsonKubernetesEnclaveWithDefaults instantiates a new JsonKubernetesEnclave object
// This constructor will only assign default values to properties that have it defined,
// but it doesn't guarantee that properties required by API are set
func NewJsonKubernetesEnclaveWithDefaults() *JsonKubernetesEnclave {
this := JsonKubernetesEnclave{}
return &this
}
// GetSignerIdent returns the SignerIdent field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetSignerIdent() string {
if o == nil || o.SignerIdent == nil {
var ret string
return ret
}
return *o.SignerIdent
}
// GetSignerIdentOk returns a tuple with the SignerIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetSignerIdentOk() (*string, bool) {
if o == nil || o.SignerIdent == nil {
return nil, false
}
return o.SignerIdent, true
}
// HasSignerIdent returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasSignerIdent() bool {
if o != nil && o.SignerIdent != nil {
return true
}
return false
}
// SetSignerIdent gets a reference to the given string and assigns it to the SignerIdent field.
func (o *JsonKubernetesEnclave) SetSignerIdent(v string) {
o.SignerIdent = &v
}
// GetStatus returns the Status field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetStatus() string {
if o == nil || o.Status == nil {
var ret string
return ret
}
return *o.Status
}
// GetStatusOk returns a tuple with the Status field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetStatusOk() (*string, bool) {
if o == nil || o.Status == nil {
return nil, false
}
return o.Status, true
}
// HasStatus returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasStatus() bool {
if o != nil && o.Status != nil {
return true
}
return false
}
// SetStatus gets a reference to the given string and assigns it to the Status field.
func (o *JsonKubernetesEnclave) SetStatus(v string) {
o.Status = &v
}
// GetWgInterface returns the WgInterface field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetWgInterface() JsonWireguardInterface {
if o == nil || o.WgInterface == nil {
var ret JsonWireguardInterface
return ret
}
return *o.WgInterface
}
// GetWgInterfaceOk returns a tuple with the WgInterface field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetWgInterfaceOk() (*JsonWireguardInterface, bool) {
if o == nil || o.WgInterface == nil {
return nil, false
}
return o.WgInterface, true
}
// HasWgInterface returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasWgInterface() bool {
if o != nil && o.WgInterface != nil {
return true
}
return false
}
// SetWgInterface gets a reference to the given JsonWireguardInterface and assigns it to the WgInterface field.
func (o *JsonKubernetesEnclave) SetWgInterface(v JsonWireguardInterface) {
o.WgInterface = &v
}
// GetStartupCMD returns the StartupCMD field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetStartupCMD() string {
if o == nil || o.StartupCMD == nil {
var ret string
return ret
}
return *o.StartupCMD
}
// GetStartupCMDOk returns a tuple with the StartupCMD field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetStartupCMDOk() (*string, bool) {
if o == nil || o.StartupCMD == nil {
return nil, false
}
return o.StartupCMD, true
}
// HasStartupCMD returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasStartupCMD() bool {
if o != nil && o.StartupCMD != nil {
return true
}
return false
}
// SetStartupCMD gets a reference to the given string and assigns it to the StartupCMD field.
func (o *JsonKubernetesEnclave) SetStartupCMD(v string) {
o.StartupCMD = &v
}
// GetEndingTime returns the EndingTime field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetEndingTime() string {
if o == nil || o.EndingTime == nil {
var ret string
return ret
}
return *o.EndingTime
}
// GetEndingTimeOk returns a tuple with the EndingTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetEndingTimeOk() (*string, bool) {
if o == nil || o.EndingTime == nil {
return nil, false
}
return o.EndingTime, true
}
// HasEndingTime returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasEndingTime() bool {
if o != nil && o.EndingTime != nil {
return true
}
return false
}
// SetEndingTime gets a reference to the given string and assigns it to the EndingTime field.
func (o *JsonKubernetesEnclave) SetEndingTime(v string) {
o.EndingTime = &v
}
// GetRemoteControlServer returns the RemoteControlServer field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetRemoteControlServer() string {
if o == nil || o.RemoteControlServer == nil {
var ret string
return ret
}
return *o.RemoteControlServer
}
// GetRemoteControlServerOk returns a tuple with the RemoteControlServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetRemoteControlServerOk() (*string, bool) {
if o == nil || o.RemoteControlServer == nil {
return nil, false
}
return o.RemoteControlServer, true
}
// HasRemoteControlServer returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasRemoteControlServer() bool {
if o != nil && o.RemoteControlServer != nil {
return true
}
return false
}
// SetRemoteControlServer gets a reference to the given string and assigns it to the RemoteControlServer field.
func (o *JsonKubernetesEnclave) SetRemoteControlServer(v string) {
o.RemoteControlServer = &v
}
// GetInternalWireguardServer returns the InternalWireguardServer field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetInternalWireguardServer() string {
if o == nil || o.InternalWireguardServer == nil {
var ret string
return ret
}
return *o.InternalWireguardServer
}
// GetInternalWireguardServerOk returns a tuple with the InternalWireguardServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetInternalWireguardServerOk() (*string, bool) {
if o == nil || o.InternalWireguardServer == nil {
return nil, false
}
return o.InternalWireguardServer, true
}
// HasInternalWireguardServer returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasInternalWireguardServer() bool {
if o != nil && o.InternalWireguardServer != nil {
return true
}
return false
}
// SetInternalWireguardServer gets a reference to the given string and assigns it to the InternalWireguardServer field.
func (o *JsonKubernetesEnclave) SetInternalWireguardServer(v string) {
o.InternalWireguardServer = &v
}
// GetInternalRemoteControlServer returns the InternalRemoteControlServer field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetInternalRemoteControlServer() string {
if o == nil || o.InternalRemoteControlServer == nil {
var ret string
return ret
}
return *o.InternalRemoteControlServer
}
// GetInternalRemoteControlServerOk returns a tuple with the InternalRemoteControlServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetInternalRemoteControlServerOk() (*string, bool) {
if o == nil || o.InternalRemoteControlServer == nil {
return nil, false
}
return o.InternalRemoteControlServer, true
}
// HasInternalRemoteControlServer returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasInternalRemoteControlServer() bool {
if o != nil && o.InternalRemoteControlServer != nil {
return true
}
return false
}
// SetInternalRemoteControlServer gets a reference to the given string and assigns it to the InternalRemoteControlServer field.
func (o *JsonKubernetesEnclave) SetInternalRemoteControlServer(v string) {
o.InternalRemoteControlServer = &v
}
// GetInternalIdent returns the InternalIdent field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetInternalIdent() string {
if o == nil || o.InternalIdent == nil {
var ret string
return ret
}
return *o.InternalIdent
}
// GetInternalIdentOk returns a tuple with the InternalIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetInternalIdentOk() (*string, bool) {
if o == nil || o.InternalIdent == nil {
return nil, false
}
return o.InternalIdent, true
}
// HasInternalIdent returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasInternalIdent() bool {
if o != nil && o.InternalIdent != nil {
return true
}
return false
}
// SetInternalIdent gets a reference to the given string and assigns it to the InternalIdent field.
func (o *JsonKubernetesEnclave) SetInternalIdent(v string) {
o.InternalIdent = &v
}
// GetKubernetesEnclave returns the KubernetesEnclave field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetKubernetesEnclave() JsonKubernetesEnclave {
if o == nil || o.KubernetesEnclave == nil {
var ret JsonKubernetesEnclave
return ret
}
return *o.KubernetesEnclave
}
// GetKubernetesEnclaveOk returns a tuple with the KubernetesEnclave field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetKubernetesEnclaveOk() (*JsonKubernetesEnclave, bool) {
if o == nil || o.KubernetesEnclave == nil {
return nil, false
}
return o.KubernetesEnclave, true
}
// HasKubernetesEnclave returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasKubernetesEnclave() bool {
if o != nil && o.KubernetesEnclave != nil {
return true
}
return false
}
// SetKubernetesEnclave gets a reference to the given JsonKubernetesEnclave and assigns it to the KubernetesEnclave field.
func (o *JsonKubernetesEnclave) SetKubernetesEnclave(v JsonKubernetesEnclave) {
o.KubernetesEnclave = &v
}
// GetWireguardServer returns the WireguardServer field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetWireguardServer() string {
if o == nil || o.WireguardServer == nil {
var ret string
return ret
}
return *o.WireguardServer
}
// GetWireguardServerOk returns a tuple with the WireguardServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetWireguardServerOk() (*string, bool) {
if o == nil || o.WireguardServer == nil {
return nil, false
}
return o.WireguardServer, true
}
// HasWireguardServer returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasWireguardServer() bool {
if o != nil && o.WireguardServer != nil {
return true
}
return false
}
// SetWireguardServer gets a reference to the given string and assigns it to the WireguardServer field.
func (o *JsonKubernetesEnclave) SetWireguardServer(v string) {
o.WireguardServer = &v
}
// GetPortMapping returns the PortMapping field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetPortMapping() map[string]string {
if o == nil || o.PortMapping == nil {
var ret map[string]string
return ret
}
return *o.PortMapping
}
// GetPortMappingOk returns a tuple with the PortMapping field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetPortMappingOk() (*map[string]string, bool) {
if o == nil || o.PortMapping == nil {
return nil, false
}
return o.PortMapping, true
}
// HasPortMapping returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasPortMapping() bool {
if o != nil && o.PortMapping != nil {
return true
}
return false
}
// SetPortMapping gets a reference to the given map[string]string and assigns it to the PortMapping field.
func (o *JsonKubernetesEnclave) SetPortMapping(v map[string]string) {
o.PortMapping = &v
}
// GetAttestationServer returns the AttestationServer field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetAttestationServer() string {
if o == nil || o.AttestationServer == nil {
var ret string
return ret
}
return *o.AttestationServer
}
// GetAttestationServerOk returns a tuple with the AttestationServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetAttestationServerOk() (*string, bool) {
if o == nil || o.AttestationServer == nil {
return nil, false
}
return o.AttestationServer, true
}
// HasAttestationServer returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasAttestationServer() bool {
if o != nil && o.AttestationServer != nil {
return true
}
return false
}
// SetAttestationServer gets a reference to the given string and assigns it to the AttestationServer field.
func (o *JsonKubernetesEnclave) SetAttestationServer(v string) {
o.AttestationServer = &v
}
// GetProcess returns the Process field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetProcess() JsonProcess {
if o == nil || o.Process == nil {
var ret JsonProcess
return ret
}
return *o.Process
}
// GetProcessOk returns a tuple with the Process field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetProcessOk() (*JsonProcess, bool) {
if o == nil || o.Process == nil {
return nil, false
}
return o.Process, true
}
// HasProcess returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasProcess() bool {
if o != nil && o.Process != nil {
return true
}
return false
}
// SetProcess gets a reference to the given JsonProcess and assigns it to the Process field.
func (o *JsonKubernetesEnclave) SetProcess(v JsonProcess) {
o.Process = &v
}
// GetPublicIdent returns the PublicIdent field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetPublicIdent() string {
if o == nil || o.PublicIdent == nil {
var ret string
return ret
}
return *o.PublicIdent
}
// GetPublicIdentOk returns a tuple with the PublicIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetPublicIdentOk() (*string, bool) {
if o == nil || o.PublicIdent == nil {
return nil, false
}
return o.PublicIdent, true
}
// HasPublicIdent returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasPublicIdent() bool {
if o != nil && o.PublicIdent != nil {
return true
}
return false
}
// SetPublicIdent gets a reference to the given string and assigns it to the PublicIdent field.
func (o *JsonKubernetesEnclave) SetPublicIdent(v string) {
o.PublicIdent = &v
}
// GetStartupTime returns the StartupTime field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetStartupTime() string {
if o == nil || o.StartupTime == nil {
var ret string
return ret
}
return *o.StartupTime
}
// GetStartupTimeOk returns a tuple with the StartupTime field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetStartupTimeOk() (*string, bool) {
if o == nil || o.StartupTime == nil {
return nil, false
}
return o.StartupTime, true
}
// HasStartupTime returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasStartupTime() bool {
if o != nil && o.StartupTime != nil {
return true
}
return false
}
// SetStartupTime gets a reference to the given string and assigns it to the StartupTime field.
func (o *JsonKubernetesEnclave) SetStartupTime(v string) {
o.StartupTime = &v
}
// GetEnvironment returns the Environment field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetEnvironment() JsonEnvironment {
if o == nil || o.Environment == nil {
var ret JsonEnvironment
return ret
}
return *o.Environment
}
// GetEnvironmentOk returns a tuple with the Environment field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetEnvironmentOk() (*JsonEnvironment, bool) {
if o == nil || o.Environment == nil {
return nil, false
}
return o.Environment, true
}
// HasEnvironment returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasEnvironment() bool {
if o != nil && o.Environment != nil {
return true
}
return false
}
// SetEnvironment gets a reference to the given JsonEnvironment and assigns it to the Environment field.
func (o *JsonKubernetesEnclave) SetEnvironment(v JsonEnvironment) {
o.Environment = &v
}
// GetConsoleOutput returns the ConsoleOutput field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetConsoleOutput() string {
if o == nil || o.ConsoleOutput == nil {
var ret string
return ret
}
return *o.ConsoleOutput
}
// GetConsoleOutputOk returns a tuple with the ConsoleOutput field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetConsoleOutputOk() (*string, bool) {
if o == nil || o.ConsoleOutput == nil {
return nil, false
}
return o.ConsoleOutput, true
}
// HasConsoleOutput returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasConsoleOutput() bool {
if o != nil && o.ConsoleOutput != nil {
return true
}
return false
}
// SetConsoleOutput gets a reference to the given string and assigns it to the ConsoleOutput field.
func (o *JsonKubernetesEnclave) SetConsoleOutput(v string) {
o.ConsoleOutput = &v
}
// GetWireguardPublicKey returns the WireguardPublicKey field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetWireguardPublicKey() string {
if o == nil || o.WireguardPublicKey == nil {
var ret string
return ret
}
return *o.WireguardPublicKey
}
// GetWireguardPublicKeyOk returns a tuple with the WireguardPublicKey field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetWireguardPublicKeyOk() (*string, bool) {
if o == nil || o.WireguardPublicKey == nil {
return nil, false
}
return o.WireguardPublicKey, true
}
// HasWireguardPublicKey returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasWireguardPublicKey() bool {
if o != nil && o.WireguardPublicKey != nil {
return true
}
return false
}
// SetWireguardPublicKey gets a reference to the given string and assigns it to the WireguardPublicKey field.
func (o *JsonKubernetesEnclave) SetWireguardPublicKey(v string) {
o.WireguardPublicKey = &v
}
// GetEnclaveIdent returns the EnclaveIdent field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetEnclaveIdent() string {
if o == nil || o.EnclaveIdent == nil {
var ret string
return ret
}
return *o.EnclaveIdent
}
// GetEnclaveIdentOk returns a tuple with the EnclaveIdent field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetEnclaveIdentOk() (*string, bool) {
if o == nil || o.EnclaveIdent == nil {
return nil, false
}
return o.EnclaveIdent, true
}
// HasEnclaveIdent returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasEnclaveIdent() bool {
if o != nil && o.EnclaveIdent != nil {
return true
}
return false
}
// SetEnclaveIdent gets a reference to the given string and assigns it to the EnclaveIdent field.
func (o *JsonKubernetesEnclave) SetEnclaveIdent(v string) {
o.EnclaveIdent = &v
}
// GetInternalAttesationServer returns the InternalAttesationServer field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetInternalAttesationServer() string {
if o == nil || o.InternalAttesationServer == nil {
var ret string
return ret
}
return *o.InternalAttesationServer
}
// GetInternalAttesationServerOk returns a tuple with the InternalAttesationServer field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetInternalAttesationServerOk() (*string, bool) {
if o == nil || o.InternalAttesationServer == nil {
return nil, false
}
return o.InternalAttesationServer, true
}
// HasInternalAttesationServer returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasInternalAttesationServer() bool {
if o != nil && o.InternalAttesationServer != nil {
return true
}
return false
}
// SetInternalAttesationServer gets a reference to the given string and assigns it to the InternalAttesationServer field.
func (o *JsonKubernetesEnclave) SetInternalAttesationServer(v string) {
o.InternalAttesationServer = &v
}
// GetEnclaveInputstream returns the EnclaveInputstream field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetEnclaveInputstream() map[string]interface{} {
if o == nil || o.EnclaveInputstream == nil {
var ret map[string]interface{}
return ret
}
return *o.EnclaveInputstream
}
// GetEnclaveInputstreamOk returns a tuple with the EnclaveInputstream field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetEnclaveInputstreamOk() (*map[string]interface{}, bool) {
if o == nil || o.EnclaveInputstream == nil {
return nil, false
}
return o.EnclaveInputstream, true
}
// HasEnclaveInputstream returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasEnclaveInputstream() bool {
if o != nil && o.EnclaveInputstream != nil {
return true
}
return false
}
// SetEnclaveInputstream gets a reference to the given map[string]interface{} and assigns it to the EnclaveInputstream field.
func (o *JsonKubernetesEnclave) SetEnclaveInputstream(v map[string]interface{}) {
o.EnclaveInputstream = &v
}
// GetPorts returns the Ports field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetPorts() []JsonEnclavePort {
if o == nil || o.Ports == nil {
var ret []JsonEnclavePort
return ret
}
return *o.Ports
}
// GetPortsOk returns a tuple with the Ports field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetPortsOk() (*[]JsonEnclavePort, bool) {
if o == nil || o.Ports == nil {
return nil, false
}
return o.Ports, true
}
// HasPorts returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasPorts() bool {
if o != nil && o.Ports != nil {
return true
}
return false
}
// SetPorts gets a reference to the given []JsonEnclavePort and assigns it to the Ports field.
func (o *JsonKubernetesEnclave) SetPorts(v []JsonEnclavePort) {
o.Ports = &v
}
// GetEnclavePodEvents returns the EnclavePodEvents field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetEnclavePodEvents() JsonV1EventList {
if o == nil || o.EnclavePodEvents == nil {
var ret JsonV1EventList
return ret
}
return *o.EnclavePodEvents
}
// GetEnclavePodEventsOk returns a tuple with the EnclavePodEvents field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetEnclavePodEventsOk() (*JsonV1EventList, bool) {
if o == nil || o.EnclavePodEvents == nil {
return nil, false
}
return o.EnclavePodEvents, true
}
// HasEnclavePodEvents returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasEnclavePodEvents() bool {
if o != nil && o.EnclavePodEvents != nil {
return true
}
return false
}
// SetEnclavePodEvents gets a reference to the given JsonV1EventList and assigns it to the EnclavePodEvents field.
func (o *JsonKubernetesEnclave) SetEnclavePodEvents(v JsonV1EventList) {
o.EnclavePodEvents = &v
}
// GetRemoteControlIP returns the RemoteControlIP field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetRemoteControlIP() string {
if o == nil || o.RemoteControlIP == nil {
var ret string
return ret
}
return *o.RemoteControlIP
}
// GetRemoteControlIPOk returns a tuple with the RemoteControlIP field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetRemoteControlIPOk() (*string, bool) {
if o == nil || o.RemoteControlIP == nil {
return nil, false
}
return o.RemoteControlIP, true
}
// HasRemoteControlIP returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasRemoteControlIP() bool {
if o != nil && o.RemoteControlIP != nil {
return true
}
return false
}
// SetRemoteControlIP gets a reference to the given string and assigns it to the RemoteControlIP field.
func (o *JsonKubernetesEnclave) SetRemoteControlIP(v string) {
o.RemoteControlIP = &v
}
// GetPodPhase returns the PodPhase field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetPodPhase() string {
if o == nil || o.PodPhase == nil {
var ret string
return ret
}
return *o.PodPhase
}
// GetPodPhaseOk returns a tuple with the PodPhase field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetPodPhaseOk() (*string, bool) {
if o == nil || o.PodPhase == nil {
return nil, false
}
return o.PodPhase, true
}
// HasPodPhase returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasPodPhase() bool {
if o != nil && o.PodPhase != nil {
return true
}
return false
}
// SetPodPhase gets a reference to the given string and assigns it to the PodPhase field.
func (o *JsonKubernetesEnclave) SetPodPhase(v string) {
o.PodPhase = &v
}
// GetEnclaveDeploymentEvents returns the EnclaveDeploymentEvents field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetEnclaveDeploymentEvents() JsonV1EventList {
if o == nil || o.EnclaveDeploymentEvents == nil {
var ret JsonV1EventList
return ret
}
return *o.EnclaveDeploymentEvents
}
// GetEnclaveDeploymentEventsOk returns a tuple with the EnclaveDeploymentEvents field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetEnclaveDeploymentEventsOk() (*JsonV1EventList, bool) {
if o == nil || o.EnclaveDeploymentEvents == nil {
return nil, false
}
return o.EnclaveDeploymentEvents, true
}
// HasEnclaveDeploymentEvents returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasEnclaveDeploymentEvents() bool {
if o != nil && o.EnclaveDeploymentEvents != nil {
return true
}
return false
}
// SetEnclaveDeploymentEvents gets a reference to the given JsonV1EventList and assigns it to the EnclaveDeploymentEvents field.
func (o *JsonKubernetesEnclave) SetEnclaveDeploymentEvents(v JsonV1EventList) {
o.EnclaveDeploymentEvents = &v
}
// GetDebugInfo returns the DebugInfo field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetDebugInfo() string {
if o == nil || o.DebugInfo == nil {
var ret string
return ret
}
return *o.DebugInfo
}
// GetDebugInfoOk returns a tuple with the DebugInfo field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *JsonKubernetesEnclave) GetDebugInfoOk() (*string, bool) {
if o == nil || o.DebugInfo == nil {
return nil, false
}
return o.DebugInfo, true
}
// HasDebugInfo returns a boolean if a field has been set.
func (o *JsonKubernetesEnclave) HasDebugInfo() bool {
if o != nil && o.DebugInfo != nil {
return true
}
return false
}
// SetDebugInfo gets a reference to the given string and assigns it to the DebugInfo field.
func (o *JsonKubernetesEnclave) SetDebugInfo(v string) {
o.DebugInfo = &v
}
// GetAttestationPort returns the AttestationPort field value if set, zero value otherwise.
func (o *JsonKubernetesEnclave) GetAttestationPort() int32 {
if o == nil || o.AttestationPort == nil {
var ret int32
return ret
}
return *o.AttestationPort
}
// GetAttestationPortOk returns a tuple with the AttestationPort field value if set, nil otherwise