github.com/tsuna/gohbase@v0.0.0-20250731002811-4ffcadfba63e/test/mock/gen.go (about) 1 // Copyright (C) 2016 The GoHBase Authors. All rights reserved. 2 // This file is part of GoHBase. 3 // Use of this source code is governed by the Apache License 2.0 4 // that can be found in the COPYING file. 5 6 package mock 7 8 // To run this command, mockgen need to be installed, by running 9 // go install go.uber.org/mock/mockgen@v0.4.0 10 // then run 'go generate' to auto-generate mock_client. 11 12 //go:generate mockgen -destination=client.go -package=mock github.com/tsuna/gohbase Client 13 //go:generate mockgen -destination=admin_client.go -package=mock github.com/tsuna/gohbase AdminClient 14 //go:generate mockgen -destination=conn.go -package=mock net Conn 15 //go:generate mockgen -destination=call.go -package=mock github.com/tsuna/gohbase/hrpc Call 16 //go:generate mockgen -destination=zk/client.go -package=mock github.com/tsuna/gohbase/zk Client 17 //go:generate mockgen -destination=region/client.go -package=mock github.com/tsuna/gohbase/hrpc RegionClient 18 //go:generate mockgen -destination=rpcclient.go -package=mock github.com/tsuna/gohbase RPCClient