Skip to content

Commit 94b612f

Browse files
author
Han Kang
committed
add client-go as a dep of component-base
1 parent 9309f16 commit 94b612f

File tree

10 files changed

+130
-0
lines changed

10 files changed

+130
-0
lines changed

staging/publishing/import-restrictions.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
allowedImports:
5757
- k8s.io/apimachinery
5858
- k8s.io/component-base
59+
- k8s.io/client-go
60+
- k8s.io/client-go/tools/
5961
- k8s.io/klog
6062
- k8s.io/utils
6163

staging/publishing/rules.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ rules:
110110
dependencies:
111111
- repository: apimachinery
112112
branch: master
113+
- repository: api
114+
branch: master
115+
- repository: client-go
116+
branch: master
113117
- source:
114118
branch: release-1.15
115119
dir: staging/src/k8s.io/component-base
@@ -540,6 +544,10 @@ rules:
540544
branch: master
541545
- repository: component-base
542546
branch: master
547+
- repository: api
548+
branch: master
549+
- repository: client-go
550+
branch: master
543551
- source:
544552
branch: release-1.15
545553
dir: staging/src/k8s.io/kube-proxy
@@ -604,6 +612,10 @@ rules:
604612
branch: master
605613
- repository: component-base
606614
branch: master
615+
- repository: api
616+
branch: master
617+
- repository: client-go
618+
branch: master
607619
- source:
608620
branch: release-1.15
609621
dir: staging/src/k8s.io/kube-scheduler
@@ -636,6 +648,10 @@ rules:
636648
branch: master
637649
- repository: component-base
638650
branch: master
651+
- repository: api
652+
branch: master
653+
- repository: client-go
654+
branch: master
639655
- source:
640656
branch: release-1.15
641657
dir: staging/src/k8s.io/kube-controller-manager

staging/src/k8s.io/component-base/go.mod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,18 @@ require (
1313
github.com/spf13/pflag v1.0.3
1414
github.com/stretchr/testify v1.3.0
1515
k8s.io/apimachinery v0.0.0
16+
k8s.io/client-go v0.0.0
1617
k8s.io/klog v0.4.0
1718
k8s.io/utils v0.0.0-20190801114015-581e00157fb1
1819
)
1920

2021
replace (
22+
golang.org/x/crypto => golang.org/x/crypto v0.0.0-20181025213731-e84da0312774
2123
golang.org/x/sync => golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
2224
golang.org/x/sys => golang.org/x/sys v0.0.0-20190209173611-3b5209105503
2325
golang.org/x/text => golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
26+
k8s.io/api => ../api
2427
k8s.io/apimachinery => ../apimachinery
28+
k8s.io/client-go => ../client-go
2529
k8s.io/component-base => ../component-base
2630
)

staging/src/k8s.io/component-base/go.sum

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/kube-controller-manager/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ require (
1010
)
1111

1212
replace (
13+
golang.org/x/crypto => golang.org/x/crypto v0.0.0-20181025213731-e84da0312774
1314
golang.org/x/sync => golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
1415
golang.org/x/sys => golang.org/x/sys v0.0.0-20190209173611-3b5209105503
1516
golang.org/x/text => golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
17+
k8s.io/api => ../api
1618
k8s.io/apimachinery => ../apimachinery
19+
k8s.io/client-go => ../client-go
1720
k8s.io/component-base => ../component-base
1821
k8s.io/kube-controller-manager => ../kube-controller-manager
1922
)

0 commit comments

Comments
 (0)