Skip to content

Commit

Permalink
feat(platform): remove register cluster provider (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
leoryu authored Nov 16, 2021
1 parent a2b31ab commit a5e246c
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 165 deletions.
1 change: 0 additions & 1 deletion cmd/tke-platform-api/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
_ "tkestack.io/tke/pkg/platform/provider/baremetal/cluster"
_ "tkestack.io/tke/pkg/platform/provider/baremetal/machine"
_ "tkestack.io/tke/pkg/platform/provider/imported/cluster"
_ "tkestack.io/tke/pkg/platform/provider/registered/cluster"
)

func main() {
Expand Down
1 change: 0 additions & 1 deletion cmd/tke-platform-controller/controller-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
_ "tkestack.io/tke/pkg/platform/provider/baremetal/cluster"
_ "tkestack.io/tke/pkg/platform/provider/baremetal/machine"
_ "tkestack.io/tke/pkg/platform/provider/imported/cluster"
_ "tkestack.io/tke/pkg/platform/provider/registered/cluster"
)

func main() {
Expand Down
35 changes: 0 additions & 35 deletions pkg/platform/provider/registered/cluster/create.go

This file was deleted.

29 changes: 0 additions & 29 deletions pkg/platform/provider/registered/cluster/delete.go

This file was deleted.

64 changes: 0 additions & 64 deletions pkg/platform/provider/registered/cluster/provider.go

This file was deleted.

32 changes: 0 additions & 32 deletions pkg/platform/provider/registered/validation/cluster.go

This file was deleted.

1 change: 0 additions & 1 deletion test/cmd/tke-up/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import (
_ "tkestack.io/tke/pkg/platform/provider/baremetal/cluster"
_ "tkestack.io/tke/pkg/platform/provider/baremetal/machine"
_ "tkestack.io/tke/pkg/platform/provider/imported/cluster"
_ "tkestack.io/tke/pkg/platform/provider/registered/cluster"
)

func quickConfig(nodes []cloudprovider.Instance) []byte {
Expand Down
1 change: 0 additions & 1 deletion test/e2e/platform/platform_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import (
_ "tkestack.io/tke/pkg/platform/provider/baremetal/cluster"
_ "tkestack.io/tke/pkg/platform/provider/baremetal/machine"
_ "tkestack.io/tke/pkg/platform/provider/imported/cluster"
_ "tkestack.io/tke/pkg/platform/provider/registered/cluster"
"tkestack.io/tke/test/e2e/tke"
tke2 "tkestack.io/tke/test/tke"
"tkestack.io/tke/test/util"
Expand Down
1 change: 0 additions & 1 deletion test/tke/tke.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
_ "tkestack.io/tke/pkg/platform/provider/baremetal/cluster"
_ "tkestack.io/tke/pkg/platform/provider/baremetal/machine"
_ "tkestack.io/tke/pkg/platform/provider/imported/cluster"
_ "tkestack.io/tke/pkg/platform/provider/registered/cluster"
)

type TestTKE struct {
Expand Down

0 comments on commit a5e246c

Please sign in to comment.