Documentation ¶
Index ¶
- type PoolServiceClient
- func (_m *PoolServiceClient) CreatePool(ctx context.Context, in *v1.CreatePoolRequest, opts ...grpc.CallOption) (*v1.Pool, error)
- func (_m *PoolServiceClient) GetPool(ctx context.Context, in *v1.GetPoolRequest, opts ...grpc.CallOption) (*v1.Pool, error)
- func (_m *PoolServiceClient) ListPools(ctx context.Context, in *v1.ListPoolsRequest, opts ...grpc.CallOption) (*v1.ListPoolsResponse, error)
- type PoolServiceServer
- func (_m *PoolServiceServer) CreatePool(_a0 context.Context, _a1 *v1.CreatePoolRequest) (*v1.Pool, error)
- func (_m *PoolServiceServer) GetPool(_a0 context.Context, _a1 *v1.GetPoolRequest) (*v1.Pool, error)
- func (_m *PoolServiceServer) ListPools(_a0 context.Context, _a1 *v1.ListPoolsRequest) (*v1.ListPoolsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoolServiceClient ¶
PoolServiceClient is an autogenerated mock type for the PoolServiceClient type
func NewPoolServiceClient ¶
func NewPoolServiceClient(t interface { mock.TestingT Cleanup(func()) }) *PoolServiceClient
NewPoolServiceClient creates a new instance of PoolServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PoolServiceClient) CreatePool ¶
func (_m *PoolServiceClient) CreatePool(ctx context.Context, in *v1.CreatePoolRequest, opts ...grpc.CallOption) (*v1.Pool, error)
CreatePool provides a mock function with given fields: ctx, in, opts
func (*PoolServiceClient) GetPool ¶
func (_m *PoolServiceClient) GetPool(ctx context.Context, in *v1.GetPoolRequest, opts ...grpc.CallOption) (*v1.Pool, error)
GetPool provides a mock function with given fields: ctx, in, opts
func (*PoolServiceClient) ListPools ¶
func (_m *PoolServiceClient) ListPools(ctx context.Context, in *v1.ListPoolsRequest, opts ...grpc.CallOption) (*v1.ListPoolsResponse, error)
ListPools provides a mock function with given fields: ctx, in, opts
type PoolServiceServer ¶
PoolServiceServer is an autogenerated mock type for the PoolServiceServer type
func NewPoolServiceServer ¶
func NewPoolServiceServer(t interface { mock.TestingT Cleanup(func()) }) *PoolServiceServer
NewPoolServiceServer creates a new instance of PoolServiceServer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PoolServiceServer) CreatePool ¶
func (_m *PoolServiceServer) CreatePool(_a0 context.Context, _a1 *v1.CreatePoolRequest) (*v1.Pool, error)
CreatePool provides a mock function with given fields: _a0, _a1
func (*PoolServiceServer) GetPool ¶
func (_m *PoolServiceServer) GetPool(_a0 context.Context, _a1 *v1.GetPoolRequest) (*v1.Pool, error)
GetPool provides a mock function with given fields: _a0, _a1
func (*PoolServiceServer) ListPools ¶
func (_m *PoolServiceServer) ListPools(_a0 context.Context, _a1 *v1.ListPoolsRequest) (*v1.ListPoolsResponse, error)
ListPools provides a mock function with given fields: _a0, _a1