2022-06-30 18:39:07 +00:00
|
|
|
run:
|
|
|
|
issues-exit-code: 3
|
|
|
|
timeout: 30m
|
|
|
|
skip-dirs:
|
|
|
|
- vendor
|
|
|
|
- .gobuild
|
|
|
|
- deps
|
|
|
|
- tools
|
|
|
|
linters:
|
|
|
|
disable-all: true
|
|
|
|
enable:
|
2023-02-20 13:30:42 +00:00
|
|
|
- gosimple
|
|
|
|
- govet
|
|
|
|
- ineffassign
|
2022-12-22 09:49:51 +00:00
|
|
|
- staticcheck
|
2023-02-20 13:30:42 +00:00
|
|
|
- typecheck
|
|
|
|
- unconvert
|
|
|
|
- unparam
|
2022-12-22 09:49:51 +00:00
|
|
|
- unused
|
2022-06-30 18:39:07 +00:00
|
|
|
- importas
|
2022-07-11 11:49:47 +00:00
|
|
|
- gci
|
2022-06-30 18:39:07 +00:00
|
|
|
linters-settings:
|
|
|
|
importas:
|
2022-07-11 11:49:47 +00:00
|
|
|
no-unaliased: true
|
2022-06-30 18:39:07 +00:00
|
|
|
alias:
|
|
|
|
- pkg: k8s.io/api/core/v1
|
|
|
|
alias: core
|
|
|
|
- pkg: k8s.io/apimachinery/pkg/apis/meta/v1
|
|
|
|
alias: meta
|
2022-07-11 11:49:47 +00:00
|
|
|
- pkg: k8s.io/client-go/kubernetes/typed/core/v1
|
|
|
|
alias: typedCore
|
2022-07-14 16:22:16 +00:00
|
|
|
- pkg: k8s.io/api/apps/v1
|
|
|
|
alias: apps
|
2022-07-14 16:34:19 +00:00
|
|
|
- pkg: k8s.io/api/batch/v1
|
|
|
|
alias: batch
|
2022-07-15 05:56:00 +00:00
|
|
|
- pkg: k8s.io/api/storage/v1
|
|
|
|
alias: storage
|
2023-12-12 15:39:35 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/deployment/reconcile/shared
|
|
|
|
alias: sharedReconcile
|
2023-01-26 08:12:15 +00:00
|
|
|
- pkg: k8s.io/api/policy/v1
|
|
|
|
alias: policy
|
2023-12-12 15:39:35 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared/v1
|
|
|
|
alias: sharedApi
|
2024-05-06 12:32:52 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1
|
2024-02-23 08:21:00 +00:00
|
|
|
alias: schedulerApi
|
2024-05-06 12:32:52 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/profiles
|
2024-05-07 09:46:57 +00:00
|
|
|
alias: schedulerProfiles
|
2024-05-06 12:32:52 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/container
|
|
|
|
alias: schedulerContainerApi
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/container/resources
|
|
|
|
alias: schedulerContainerResourcesApi
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/pod
|
|
|
|
alias: schedulerPodApi
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1beta1/pod/resources
|
|
|
|
alias: schedulerPodResourcesApi
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1
|
|
|
|
alias: schedulerApiv1alpha1
|
2024-03-04 12:59:13 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/profiles
|
2024-05-06 12:32:52 +00:00
|
|
|
alias: schedulerProfilesv1alpha1
|
2024-02-23 08:21:00 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/container
|
2024-05-06 12:32:52 +00:00
|
|
|
alias: schedulerContainerApiv1alpha1
|
2024-02-23 08:21:00 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/container/resources
|
2024-05-06 12:32:52 +00:00
|
|
|
alias: schedulerContainerResourcesApiv1alpha1
|
2024-02-23 08:21:00 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/pod
|
2024-05-06 12:32:52 +00:00
|
|
|
alias: schedulerPodApiv1alpha1
|
2024-02-23 08:21:00 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/scheduler/v1alpha1/pod/resources
|
2024-05-06 12:32:52 +00:00
|
|
|
alias: schedulerPodResourcesApiv1alpha1
|
2023-12-12 15:39:35 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/shared
|
|
|
|
alias: shared
|
2024-05-09 11:12:21 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/analytics/shared
|
|
|
|
alias: analyticsShared
|
2024-05-17 15:58:45 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/shared
|
|
|
|
alias: enterpriseShared
|
2023-12-12 15:39:35 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/ml/shared
|
|
|
|
alias: mlShared
|
2023-12-19 12:10:12 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/handlers/enterprise/ml/shared/test
|
|
|
|
alias: mlSharedTests
|
2024-05-08 10:20:14 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/analytics/v1alpha1
|
|
|
|
alias: analyticsApi
|
2024-07-26 08:32:36 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/networking/v1alpha1
|
|
|
|
alias: networkingApi
|
2024-05-06 12:32:52 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1beta1
|
2023-11-08 15:36:20 +00:00
|
|
|
alias: mlApi
|
2024-05-06 12:32:52 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/apis/ml/v1alpha1
|
|
|
|
alias: mlApiv1alpha1
|
2024-03-28 08:24:56 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/scheduler/v1/definition
|
|
|
|
alias: pbSchedulerV1
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/scheduler/v1
|
|
|
|
alias: pbImplSchedulerV1
|
2024-02-12 12:22:15 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/shutdown/v1/definition
|
|
|
|
alias: pbShutdownV1
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/shutdown/v1
|
|
|
|
alias: pbImplShutdownV1
|
2024-02-14 08:14:32 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1/definition
|
|
|
|
alias: pbAuthenticationV1
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/authentication/v1
|
|
|
|
alias: pbImplAuthenticationV1
|
2024-02-16 09:04:43 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0/definition
|
|
|
|
alias: pbAuthorizationV0
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/authorization/v0
|
|
|
|
alias: pbImplAuthorizationV0
|
2024-02-12 12:22:15 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1/definition
|
|
|
|
alias: pbSharedV1
|
|
|
|
- pkg: github.com/arangodb/kube-arangodb/integrations/shared/v1
|
|
|
|
alias: pbImplSharedV1
|
2024-03-08 22:27:25 +00:00
|
|
|
- pkg: github.com/arangodb/kube-arangodb/pkg/util/k8sutil/resources
|
|
|
|
alias: kresources
|
2022-07-11 11:49:47 +00:00
|
|
|
gci:
|
|
|
|
sections:
|
|
|
|
- standard
|
|
|
|
- default
|
|
|
|
- prefix(github.com/arangodb)
|
|
|
|
- prefix(github.com/arangodb/kube-arangodb)
|