зеркало из https://github.com/Azure/ARO-RP.git
Add ClusterManager mock
This commit is contained in:
Родитель
f22254e177
Коммит
4c0f55e503
|
@ -0,0 +1,8 @@
|
|||
package hive
|
||||
|
||||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the Apache License 2.0.
|
||||
|
||||
//go:generate rm -rf ../util/mocks/$GOPACKAGE
|
||||
//go:generate go run ../../vendor/github.com/golang/mock/mockgen -destination=../util/mocks/$GOPACKAGE/$GOPACKAGE.go github.com/Azure/ARO-RP/pkg/$GOPACKAGE ClusterManager
|
||||
//go:generate go run ../../vendor/golang.org/x/tools/cmd/goimports -local=github.com/Azure/ARO-RP -e -w ../util/mocks/$GOPACKAGE/$GOPACKAGE.go
|
Загрузка…
Ссылка в новой задаче