-
Notifications
You must be signed in to change notification settings - Fork 72
/
.golangci.yaml
145 lines (145 loc) · 6.24 KB
/
.golangci.yaml
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
run:
issues-exit-code: 3
timeout: 30m
skip-dirs:
- vendor
- .gobuild
- deps
- tools
linters:
disable-all: true
enable:
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unconvert
- unparam
- unused
- importas
- gci
linters-settings:
importas:
no-unaliased: true
alias:
- alias: pbImplAuthenticationV1
pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1
- alias: pbAuthenticationV1
pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition
- alias: pbImplAuthorizationV0
pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0
- alias: pbAuthorizationV0
pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition
- alias: pbImplConfigV1
pkg: github.com/arangodb/kube-arangodb/integrations/config/v1
- alias: pbConfigV1
pkg: github.com/arangodb/kube-arangodb/integrations/config/v1/definition
- alias: pbImplEnvoyAuthV3
pkg: github.com/arangodb/kube-arangodb/integrations/envoy/auth/v3
- pkg: github.com/arangodb/kube-arangodb/integrations/pong/v1
alias: pbImplPongV1
- pkg: github.com/arangodb/kube-arangodb/integrations/pong/v1/definition
alias: pbPongV1
- alias: pbImplSchedulerV1
pkg: github.com/arangodb/kube-arangodb/integrations/scheduler/v1
- alias: pbSchedulerV1
pkg: github.com/arangodb/kube-arangodb/integrations/scheduler/v1/definition
- alias: pbImplSharedV1
pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1
- alias: pbSharedV1
pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition
- alias: pbImplShutdownV1
pkg: github.com/arangodb/kube-arangodb/integrations/shutdown/v1
- alias: pbShutdownV1
pkg: github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition
- alias: pbImplStorageV2
pkg: github.com/arangodb/kube-arangodb/integrations/storage/v2
- alias: pbImplStorageV2Shared
pkg: github.com/arangodb/kube-arangodb/integrations/storage/v2/shared
- alias: pbImplStorageV2SharedS3
pkg: github.com/arangodb/kube-arangodb/integrations/storage/v2/shared/s3
- alias: pbStorageV2
pkg: github.com/arangodb/kube-arangodb/integrations/storage/v2/definition
- alias: analyticsApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/analytics/v1alpha1
- alias: mlApiv1alpha1
pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1alpha1
- alias: mlApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1beta1
- alias: networkingApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/networking/v1alpha1
- alias: platformApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/platform/v1alpha1
- alias: schedulerApiv1alpha1
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1
- alias: schedulerContainerApiv1alpha1
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/container
- alias: schedulerContainerResourcesApiv1alpha1
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/container/resources
- alias: schedulerPodApiv1alpha1
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/pod
- alias: schedulerPodResourcesApiv1alpha1
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/pod/resources
- alias: schedulerProfilesv1alpha1
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/profiles
- alias: schedulerApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1
- alias: schedulerContainerApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/container
- alias: schedulerContainerResourcesApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/container/resources
- alias: schedulerIntegrationApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/integration
- alias: schedulerPolicyApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/policy
- alias: schedulerPodApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/pod
- alias: schedulerPodResourcesApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/pod/resources
- alias: schedulerProfiles
pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/profiles
- alias: shared
pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared
- alias: sharedApi
pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared/v1
- alias: sharedReconcile
pkg: github.com/arangodb/kube-arangodb/pkg/deployment/reconcile/shared
- alias: analyticsShared
pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/analytics/shared
- alias: mlShared
pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/ml/shared
- alias: mlSharedTests
pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/ml/shared/test
- alias: enterpriseShared
pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/shared
- alias: kresources
pkg: github.com/arangodb/kube-arangodb/pkg/util/k8sutil/resources
- alias: ktls
pkg: github.com/arangodb/kube-arangodb/pkg/util/k8sutil/tls
- alias: pbEnvoyAuthV3
pkg: github.com/envoyproxy/go-control-plane/envoy/service/auth/v3
- alias: apps
pkg: k8s.io/api/apps/v1
- alias: batch
pkg: k8s.io/api/batch/v1
- alias: core
pkg: k8s.io/api/core/v1
- alias: policy
pkg: k8s.io/api/policy/v1
- alias: storage
pkg: k8s.io/api/storage/v1
- alias: meta
pkg: k8s.io/apimachinery/pkg/apis/meta/v1
- alias: autoscaling
pkg: k8s.io/api/autoscaling/v1
- alias: typedCore
pkg: k8s.io/client-go/kubernetes/typed/core/v1
- alias: ugrpc
pkg: github.com/arangodb/kube-arangodb/pkg/util/grpc
gci:
sections:
- standard
- default
- prefix(github.com/arangodb)
- prefix(github.com/arangodb/kube-arangodb)