-
Notifications
You must be signed in to change notification settings - Fork 302
/
apps_accessors.go
3702 lines (3238 loc) · 70.4 KB
/
apps_accessors.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
// Copyright 2017 The go-github AUTHORS. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Code generated by gen-accessors; DO NOT EDIT.
// Instead, please run "go generate ./..." as described here:
// https://github.com/google/go-github/blob/master/CONTRIBUTING.md#submitting-a-patch
package godo
import (
"time"
)
// GetActiveDeployment returns the ActiveDeployment field.
func (a *App) GetActiveDeployment() *Deployment {
if a == nil {
return nil
}
return a.ActiveDeployment
}
// GetBuildConfig returns the BuildConfig field.
func (a *App) GetBuildConfig() *AppBuildConfig {
if a == nil {
return nil
}
return a.BuildConfig
}
// GetCreatedAt returns the CreatedAt field.
func (a *App) GetCreatedAt() time.Time {
if a == nil {
return time.Time{}
}
return a.CreatedAt
}
// GetDedicatedIps returns the DedicatedIps field.
func (a *App) GetDedicatedIps() []*AppDedicatedIp {
if a == nil {
return nil
}
return a.DedicatedIps
}
// GetDefaultIngress returns the DefaultIngress field.
func (a *App) GetDefaultIngress() string {
if a == nil {
return ""
}
return a.DefaultIngress
}
// GetDomains returns the Domains field.
func (a *App) GetDomains() []*AppDomain {
if a == nil {
return nil
}
return a.Domains
}
// GetID returns the ID field.
func (a *App) GetID() string {
if a == nil {
return ""
}
return a.ID
}
// GetInProgressDeployment returns the InProgressDeployment field.
func (a *App) GetInProgressDeployment() *Deployment {
if a == nil {
return nil
}
return a.InProgressDeployment
}
// GetLastDeploymentActiveAt returns the LastDeploymentActiveAt field.
func (a *App) GetLastDeploymentActiveAt() time.Time {
if a == nil {
return time.Time{}
}
return a.LastDeploymentActiveAt
}
// GetLastDeploymentCreatedAt returns the LastDeploymentCreatedAt field.
func (a *App) GetLastDeploymentCreatedAt() time.Time {
if a == nil {
return time.Time{}
}
return a.LastDeploymentCreatedAt
}
// GetLiveDomain returns the LiveDomain field.
func (a *App) GetLiveDomain() string {
if a == nil {
return ""
}
return a.LiveDomain
}
// GetLiveURL returns the LiveURL field.
func (a *App) GetLiveURL() string {
if a == nil {
return ""
}
return a.LiveURL
}
// GetLiveURLBase returns the LiveURLBase field.
func (a *App) GetLiveURLBase() string {
if a == nil {
return ""
}
return a.LiveURLBase
}
// GetOwnerUUID returns the OwnerUUID field.
func (a *App) GetOwnerUUID() string {
if a == nil {
return ""
}
return a.OwnerUUID
}
// GetPendingDeployment returns the PendingDeployment field.
func (a *App) GetPendingDeployment() *Deployment {
if a == nil {
return nil
}
return a.PendingDeployment
}
// GetPinnedDeployment returns the PinnedDeployment field.
func (a *App) GetPinnedDeployment() *Deployment {
if a == nil {
return nil
}
return a.PinnedDeployment
}
// GetProjectID returns the ProjectID field.
func (a *App) GetProjectID() string {
if a == nil {
return ""
}
return a.ProjectID
}
// GetRegion returns the Region field.
func (a *App) GetRegion() *AppRegion {
if a == nil {
return nil
}
return a.Region
}
// GetSpec returns the Spec field.
func (a *App) GetSpec() *AppSpec {
if a == nil {
return nil
}
return a.Spec
}
// GetTierSlug returns the TierSlug field.
func (a *App) GetTierSlug() string {
if a == nil {
return ""
}
return a.TierSlug
}
// GetUpdatedAt returns the UpdatedAt field.
func (a *App) GetUpdatedAt() time.Time {
if a == nil {
return time.Time{}
}
return a.UpdatedAt
}
// GetComponentName returns the ComponentName field.
func (a *AppAlert) GetComponentName() string {
if a == nil {
return ""
}
return a.ComponentName
}
// GetEmails returns the Emails field.
func (a *AppAlert) GetEmails() []string {
if a == nil {
return nil
}
return a.Emails
}
// GetID returns the ID field.
func (a *AppAlert) GetID() string {
if a == nil {
return ""
}
return a.ID
}
// GetPhase returns the Phase field.
func (a *AppAlert) GetPhase() AppAlertPhase {
if a == nil {
return ""
}
return a.Phase
}
// GetProgress returns the Progress field.
func (a *AppAlert) GetProgress() *AppAlertProgress {
if a == nil {
return nil
}
return a.Progress
}
// GetSlackWebhooks returns the SlackWebhooks field.
func (a *AppAlert) GetSlackWebhooks() []*AppAlertSlackWebhook {
if a == nil {
return nil
}
return a.SlackWebhooks
}
// GetSpec returns the Spec field.
func (a *AppAlert) GetSpec() *AppAlertSpec {
if a == nil {
return nil
}
return a.Spec
}
// GetSteps returns the Steps field.
func (a *AppAlertProgress) GetSteps() []*AppAlertProgressStep {
if a == nil {
return nil
}
return a.Steps
}
// GetEndedAt returns the EndedAt field.
func (a *AppAlertProgressStep) GetEndedAt() time.Time {
if a == nil {
return time.Time{}
}
return a.EndedAt
}
// GetName returns the Name field.
func (a *AppAlertProgressStep) GetName() string {
if a == nil {
return ""
}
return a.Name
}
// GetReason returns the Reason field.
func (a *AppAlertProgressStep) GetReason() *AppAlertProgressStepReason {
if a == nil {
return nil
}
return a.Reason
}
// GetStartedAt returns the StartedAt field.
func (a *AppAlertProgressStep) GetStartedAt() time.Time {
if a == nil {
return time.Time{}
}
return a.StartedAt
}
// GetStatus returns the Status field.
func (a *AppAlertProgressStep) GetStatus() AppAlertProgressStepStatus {
if a == nil {
return ""
}
return a.Status
}
// GetSteps returns the Steps field.
func (a *AppAlertProgressStep) GetSteps() []*AppAlertProgressStep {
if a == nil {
return nil
}
return a.Steps
}
// GetCode returns the Code field.
func (a *AppAlertProgressStepReason) GetCode() string {
if a == nil {
return ""
}
return a.Code
}
// GetMessage returns the Message field.
func (a *AppAlertProgressStepReason) GetMessage() string {
if a == nil {
return ""
}
return a.Message
}
// GetChannel returns the Channel field.
func (a *AppAlertSlackWebhook) GetChannel() string {
if a == nil {
return ""
}
return a.Channel
}
// GetURL returns the URL field.
func (a *AppAlertSlackWebhook) GetURL() string {
if a == nil {
return ""
}
return a.URL
}
// GetDisabled returns the Disabled field.
func (a *AppAlertSpec) GetDisabled() bool {
if a == nil {
return false
}
return a.Disabled
}
// GetOperator returns the Operator field.
func (a *AppAlertSpec) GetOperator() AppAlertSpecOperator {
if a == nil {
return ""
}
return a.Operator
}
// GetRule returns the Rule field.
func (a *AppAlertSpec) GetRule() AppAlertSpecRule {
if a == nil {
return ""
}
return a.Rule
}
// GetValue returns the Value field.
func (a *AppAlertSpec) GetValue() float32 {
if a == nil {
return 0
}
return a.Value
}
// GetWindow returns the Window field.
func (a *AppAlertSpec) GetWindow() AppAlertSpecWindow {
if a == nil {
return ""
}
return a.Window
}
// GetMaxInstanceCount returns the MaxInstanceCount field.
func (a *AppAutoscalingSpec) GetMaxInstanceCount() int64 {
if a == nil {
return 0
}
return a.MaxInstanceCount
}
// GetMetrics returns the Metrics field.
func (a *AppAutoscalingSpec) GetMetrics() *AppAutoscalingSpecMetrics {
if a == nil {
return nil
}
return a.Metrics
}
// GetMinInstanceCount returns the MinInstanceCount field.
func (a *AppAutoscalingSpec) GetMinInstanceCount() int64 {
if a == nil {
return 0
}
return a.MinInstanceCount
}
// GetPercent returns the Percent field.
func (a *AppAutoscalingSpecMetricCPU) GetPercent() int64 {
if a == nil {
return 0
}
return a.Percent
}
// GetCPU returns the CPU field.
func (a *AppAutoscalingSpecMetrics) GetCPU() *AppAutoscalingSpecMetricCPU {
if a == nil {
return nil
}
return a.CPU
}
// GetCNBVersioning returns the CNBVersioning field.
func (a *AppBuildConfig) GetCNBVersioning() *AppBuildConfigCNBVersioning {
if a == nil {
return nil
}
return a.CNBVersioning
}
// GetBuildpacks returns the Buildpacks field.
func (a *AppBuildConfigCNBVersioning) GetBuildpacks() []*Buildpack {
if a == nil {
return nil
}
return a.Buildpacks
}
// GetStackID returns the StackID field.
func (a *AppBuildConfigCNBVersioning) GetStackID() string {
if a == nil {
return ""
}
return a.StackID
}
// GetAllowCredentials returns the AllowCredentials field.
func (a *AppCORSPolicy) GetAllowCredentials() bool {
if a == nil {
return false
}
return a.AllowCredentials
}
// GetAllowHeaders returns the AllowHeaders field.
func (a *AppCORSPolicy) GetAllowHeaders() []string {
if a == nil {
return nil
}
return a.AllowHeaders
}
// GetAllowMethods returns the AllowMethods field.
func (a *AppCORSPolicy) GetAllowMethods() []string {
if a == nil {
return nil
}
return a.AllowMethods
}
// GetAllowOrigins returns the AllowOrigins field.
func (a *AppCORSPolicy) GetAllowOrigins() []*AppStringMatch {
if a == nil {
return nil
}
return a.AllowOrigins
}
// GetExposeHeaders returns the ExposeHeaders field.
func (a *AppCORSPolicy) GetExposeHeaders() []string {
if a == nil {
return nil
}
return a.ExposeHeaders
}
// GetMaxAge returns the MaxAge field.
func (a *AppCORSPolicy) GetMaxAge() string {
if a == nil {
return ""
}
return a.MaxAge
}
// GetProjectID returns the ProjectID field.
func (a *AppCreateRequest) GetProjectID() string {
if a == nil {
return ""
}
return a.ProjectID
}
// GetSpec returns the Spec field.
func (a *AppCreateRequest) GetSpec() *AppSpec {
if a == nil {
return nil
}
return a.Spec
}
// GetClusterName returns the ClusterName field.
func (a *AppDatabaseSpec) GetClusterName() string {
if a == nil {
return ""
}
return a.ClusterName
}
// GetDBName returns the DBName field.
func (a *AppDatabaseSpec) GetDBName() string {
if a == nil {
return ""
}
return a.DBName
}
// GetDBUser returns the DBUser field.
func (a *AppDatabaseSpec) GetDBUser() string {
if a == nil {
return ""
}
return a.DBUser
}
// GetEngine returns the Engine field.
func (a *AppDatabaseSpec) GetEngine() AppDatabaseSpecEngine {
if a == nil {
return ""
}
return a.Engine
}
// GetName returns the Name field.
func (a *AppDatabaseSpec) GetName() string {
if a == nil {
return ""
}
return a.Name
}
// GetNumNodes returns the NumNodes field.
func (a *AppDatabaseSpec) GetNumNodes() int64 {
if a == nil {
return 0
}
return a.NumNodes
}
// GetProduction returns the Production field.
func (a *AppDatabaseSpec) GetProduction() bool {
if a == nil {
return false
}
return a.Production
}
// GetSize returns the Size field.
func (a *AppDatabaseSpec) GetSize() string {
if a == nil {
return ""
}
return a.Size
}
// GetVersion returns the Version field.
func (a *AppDatabaseSpec) GetVersion() string {
if a == nil {
return ""
}
return a.Version
}
// GetID returns the ID field.
func (a *AppDedicatedIp) GetID() string {
if a == nil {
return ""
}
return a.ID
}
// GetIp returns the Ip field.
func (a *AppDedicatedIp) GetIp() string {
if a == nil {
return ""
}
return a.Ip
}
// GetStatus returns the Status field.
func (a *AppDedicatedIp) GetStatus() AppDedicatedIpStatus {
if a == nil {
return ""
}
return a.Status
}
// GetCertificateExpiresAt returns the CertificateExpiresAt field.
func (a *AppDomain) GetCertificateExpiresAt() time.Time {
if a == nil {
return time.Time{}
}
return a.CertificateExpiresAt
}
// GetID returns the ID field.
func (a *AppDomain) GetID() string {
if a == nil {
return ""
}
return a.ID
}
// GetPhase returns the Phase field.
func (a *AppDomain) GetPhase() AppDomainPhase {
if a == nil {
return ""
}
return a.Phase
}
// GetProgress returns the Progress field.
func (a *AppDomain) GetProgress() *AppDomainProgress {
if a == nil {
return nil
}
return a.Progress
}
// GetRotateValidationRecords returns the RotateValidationRecords field.
func (a *AppDomain) GetRotateValidationRecords() bool {
if a == nil {
return false
}
return a.RotateValidationRecords
}
// GetSpec returns the Spec field.
func (a *AppDomain) GetSpec() *AppDomainSpec {
if a == nil {
return nil
}
return a.Spec
}
// GetValidation returns the Validation field.
func (a *AppDomain) GetValidation() *AppDomainValidation {
if a == nil {
return nil
}
return a.Validation
}
// GetValidations returns the Validations field.
func (a *AppDomain) GetValidations() []*AppDomainValidation {
if a == nil {
return nil
}
return a.Validations
}
// GetSteps returns the Steps field.
func (a *AppDomainProgress) GetSteps() []*AppDomainProgressStep {
if a == nil {
return nil
}
return a.Steps
}
// GetEndedAt returns the EndedAt field.
func (a *AppDomainProgressStep) GetEndedAt() time.Time {
if a == nil {
return time.Time{}
}
return a.EndedAt
}
// GetName returns the Name field.
func (a *AppDomainProgressStep) GetName() string {
if a == nil {
return ""
}
return a.Name
}
// GetReason returns the Reason field.
func (a *AppDomainProgressStep) GetReason() *AppDomainProgressStepReason {
if a == nil {
return nil
}
return a.Reason
}
// GetStartedAt returns the StartedAt field.
func (a *AppDomainProgressStep) GetStartedAt() time.Time {
if a == nil {
return time.Time{}
}
return a.StartedAt
}
// GetStatus returns the Status field.
func (a *AppDomainProgressStep) GetStatus() AppDomainProgressStepStatus {
if a == nil {
return ""
}
return a.Status
}
// GetSteps returns the Steps field.
func (a *AppDomainProgressStep) GetSteps() []*AppDomainProgressStep {
if a == nil {
return nil
}
return a.Steps
}
// GetCode returns the Code field.
func (a *AppDomainProgressStepReason) GetCode() string {
if a == nil {
return ""
}
return a.Code
}
// GetMessage returns the Message field.
func (a *AppDomainProgressStepReason) GetMessage() string {
if a == nil {
return ""
}
return a.Message
}
// GetCertificate returns the Certificate field.
func (a *AppDomainSpec) GetCertificate() string {
if a == nil {
return ""
}
return a.Certificate
}
// GetDomain returns the Domain field.
func (a *AppDomainSpec) GetDomain() string {
if a == nil {
return ""
}
return a.Domain
}
// GetMinimumTLSVersion returns the MinimumTLSVersion field.
func (a *AppDomainSpec) GetMinimumTLSVersion() string {
if a == nil {
return ""
}
return a.MinimumTLSVersion
}
// GetType returns the Type field.
func (a *AppDomainSpec) GetType() AppDomainSpecType {
if a == nil {
return ""
}
return a.Type
}
// GetWildcard returns the Wildcard field.
func (a *AppDomainSpec) GetWildcard() bool {
if a == nil {
return false
}
return a.Wildcard
}
// GetZone returns the Zone field.
func (a *AppDomainSpec) GetZone() string {
if a == nil {
return ""
}
return a.Zone
}
// GetTXTName returns the TXTName field.
func (a *AppDomainValidation) GetTXTName() string {
if a == nil {
return ""
}
return a.TXTName
}
// GetTXTValue returns the TXTValue field.
func (a *AppDomainValidation) GetTXTValue() string {
if a == nil {
return ""
}
return a.TXTValue
}
// GetType returns the Type field.
func (a *AppEgressSpec) GetType() AppEgressSpecType {
if a == nil {
return ""
}
return a.Type
}
// GetAlerts returns the Alerts field.
func (a *AppFunctionsSpec) GetAlerts() []*AppAlertSpec {
if a == nil {
return nil
}
return a.Alerts
}
// GetCORS returns the CORS field.
func (a *AppFunctionsSpec) GetCORS() *AppCORSPolicy {
if a == nil {
return nil
}
return a.CORS
}
// GetEnvs returns the Envs field.
func (a *AppFunctionsSpec) GetEnvs() []*AppVariableDefinition {
if a == nil {
return nil
}
return a.Envs
}
// GetGit returns the Git field.
func (a *AppFunctionsSpec) GetGit() *GitSourceSpec {
if a == nil {
return nil
}
return a.Git
}
// GetGitHub returns the GitHub field.
func (a *AppFunctionsSpec) GetGitHub() *GitHubSourceSpec {
if a == nil {
return nil
}
return a.GitHub
}
// GetGitLab returns the GitLab field.
func (a *AppFunctionsSpec) GetGitLab() *GitLabSourceSpec {
if a == nil {
return nil
}
return a.GitLab
}
// GetLogDestinations returns the LogDestinations field.
func (a *AppFunctionsSpec) GetLogDestinations() []*AppLogDestinationSpec {
if a == nil {
return nil
}
return a.LogDestinations
}
// GetName returns the Name field.
func (a *AppFunctionsSpec) GetName() string {
if a == nil {
return ""
}
return a.Name
}
// GetRoutes returns the Routes field.
func (a *AppFunctionsSpec) GetRoutes() []*AppRouteSpec {
if a == nil {
return nil
}
return a.Routes
}
// GetSourceDir returns the SourceDir field.
func (a *AppFunctionsSpec) GetSourceDir() string {
if a == nil {
return ""
}
return a.SourceDir
}
// GetLoadBalancer returns the LoadBalancer field.
func (a *AppIngressSpec) GetLoadBalancer() AppIngressSpecLoadBalancer {
if a == nil {
return ""
}
return a.LoadBalancer
}
// GetLoadBalancerSize returns the LoadBalancerSize field.
func (a *AppIngressSpec) GetLoadBalancerSize() int64 {
if a == nil {
return 0
}
return a.LoadBalancerSize
}
// GetRules returns the Rules field.
func (a *AppIngressSpec) GetRules() []*AppIngressSpecRule {
if a == nil {
return nil
}
return a.Rules
}
// GetComponent returns the Component field.
func (a *AppIngressSpecRule) GetComponent() *AppIngressSpecRuleRoutingComponent {
if a == nil {
return nil
}
return a.Component
}
// GetCORS returns the CORS field.
func (a *AppIngressSpecRule) GetCORS() *AppCORSPolicy {
if a == nil {
return nil
}
return a.CORS
}
// GetMatch returns the Match field.
func (a *AppIngressSpecRule) GetMatch() *AppIngressSpecRuleMatch {
if a == nil {
return nil
}
return a.Match
}
// GetRedirect returns the Redirect field.
func (a *AppIngressSpecRule) GetRedirect() *AppIngressSpecRuleRoutingRedirect {
if a == nil {
return nil
}
return a.Redirect
}
// GetPath returns the Path field.
func (a *AppIngressSpecRuleMatch) GetPath() *AppIngressSpecRuleStringMatch {
if a == nil {
return nil
}
return a.Path
}
// GetName returns the Name field.
func (a *AppIngressSpecRuleRoutingComponent) GetName() string {
if a == nil {
return ""
}
return a.Name
}
// GetPreservePathPrefix returns the PreservePathPrefix field.
func (a *AppIngressSpecRuleRoutingComponent) GetPreservePathPrefix() bool {
if a == nil {
return false
}
return a.PreservePathPrefix
}
// GetRewrite returns the Rewrite field.
func (a *AppIngressSpecRuleRoutingComponent) GetRewrite() string {
if a == nil {
return ""
}
return a.Rewrite
}
// GetAuthority returns the Authority field.
func (a *AppIngressSpecRuleRoutingRedirect) GetAuthority() string {
if a == nil {
return ""
}
return a.Authority
}
// GetPort returns the Port field.
func (a *AppIngressSpecRuleRoutingRedirect) GetPort() int64 {
if a == nil {
return 0
}
return a.Port
}
// GetRedirectCode returns the RedirectCode field.
func (a *AppIngressSpecRuleRoutingRedirect) GetRedirectCode() int64 {
if a == nil {
return 0
}
return a.RedirectCode
}
// GetScheme returns the Scheme field.
func (a *AppIngressSpecRuleRoutingRedirect) GetScheme() string {
if a == nil {
return ""
}
return a.Scheme
}
// GetUri returns the Uri field.