-
Notifications
You must be signed in to change notification settings - Fork 11
/
.gimps.yaml
64 lines (50 loc) · 1.87 KB
/
.gimps.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
# This is the configuration for https://github.com/xrstf/gimps.
importOrder: [std, external, project]
exclude:
- "vendor/**"
- "third_party/**"
- "dev/**"
- "**/zz_generated.**"
- "**/zz_generated_**"
- "**/generated.pb.go"
- "**/generated.proto"
- "**/*_generated.go"
- ".git/**"
- "hack/boilerplate.go.txt"
aliasRules:
- name: client-go
expr: '^k8s.io/client-go/tools/([a-z0-9-]+)/api/(v[a-z0-9-]+)$'
alias: '$1$2'
- name: client-go-latest
expr: '^k8s.io/client-go/tools/([a-z0-9-]+)/api/(latest)$'
alias: '$1$2'
- name: client-go-apis
expr: '^k8s.io/client-go/pkg/apis/([a-z0-9-]+)/(v[a-z0-9-]+)$'
alias: '$1$2'
- name: k8s-api
expr: '^k8s.io/api/([a-z0-9-]+)/(v[a-z0-9-]+)$'
alias: '$1$2'
- name: k8s-apimachinery
expr: '^k8s.io/apimachinery/pkg/apis/([a-z0-9-]+)/(v[a-z0-9-]+)(/([a-z0-9-]+))?$'
alias: '$1$2$4'
- name: gardener-garden-core-shorter
expr: '^github.com/gardener/gardener/pkg/apis/core/(validation)$'
alias: 'core$1'
- name: gardener-garden-core-short
expr: '^github.com/gardener/gardener/pkg/apis/core/(v[a-z0-9-]+)/([a-z0-9-]+)$'
alias: 'core$1$2'
- name: gardener-garden-core
expr: '^github.com/gardener/gardener/pkg/apis/core(/(v[a-z0-9-]+)(/([a-z0-9-]+))?)?$'
alias: 'gardencore$2$4'
- name: gardener-garden-other
expr: '^github.com/gardener/gardener/pkg/apis/([a-z0-9-]+)(/(v[a-z0-9-]+)(/([a-z0-9-]+))?)?$'
alias: '$1$3$5'
- name: gardener-garden-envtest
expr: '^github.com/gardener/gardener/pkg/envtest$'
alias: 'gardenenvtest'
- name: gardener-controllermanager
expr: '^github.com/gardener/gardener/pkg/controllermanager/apis/([a-z0-9-]+)(/(v[a-z0-9-]+)(/([a-z0-9-]+))?)?$'
alias: '$1$3$5'
- name: gardener-gardenlet
expr: '^github.com/gardener/gardener/pkg/gardenlet/apis/([a-z0-9-]+)(/(v[a-z0-9-]+)(/([a-z0-9-]+))?)?$'
alias: '$1$3$5'