package mocks
import "cloud.google.com/go/profiler/mocks"
Package mocks is a generated GoMock package.
Index ¶
- type MockProfilerServiceClient
- func NewMockProfilerServiceClient(ctrl *gomock.Controller) *MockProfilerServiceClient
- func (m *MockProfilerServiceClient) CreateOfflineProfile(arg0 context.Context, arg1 *v2.CreateOfflineProfileRequest, arg2 ...grpc.CallOption) (*v2.Profile, error)
- func (m *MockProfilerServiceClient) CreateProfile(arg0 context.Context, arg1 *v2.CreateProfileRequest, arg2 ...grpc.CallOption) (*v2.Profile, error)
- func (m *MockProfilerServiceClient) EXPECT() *MockProfilerServiceClientMockRecorder
- func (m *MockProfilerServiceClient) UpdateProfile(arg0 context.Context, arg1 *v2.UpdateProfileRequest, arg2 ...grpc.CallOption) (*v2.Profile, error)
- type MockProfilerServiceClientMockRecorder
- func (mr *MockProfilerServiceClientMockRecorder) CreateOfflineProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProfilerServiceClientMockRecorder) CreateProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockProfilerServiceClientMockRecorder) UpdateProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Types ¶
type MockProfilerServiceClient ¶
type MockProfilerServiceClient struct {
// contains filtered or unexported fields
}
MockProfilerServiceClient is a mock of ProfilerServiceClient interface
func NewMockProfilerServiceClient ¶
func NewMockProfilerServiceClient(ctrl *gomock.Controller) *MockProfilerServiceClient
NewMockProfilerServiceClient creates a new mock instance
func (*MockProfilerServiceClient) CreateOfflineProfile ¶
func (m *MockProfilerServiceClient) CreateOfflineProfile(arg0 context.Context, arg1 *v2.CreateOfflineProfileRequest, arg2 ...grpc.CallOption) (*v2.Profile, error)
CreateOfflineProfile mocks base method
func (*MockProfilerServiceClient) CreateProfile ¶
func (m *MockProfilerServiceClient) CreateProfile(arg0 context.Context, arg1 *v2.CreateProfileRequest, arg2 ...grpc.CallOption) (*v2.Profile, error)
CreateProfile mocks base method
func (*MockProfilerServiceClient) EXPECT ¶
func (m *MockProfilerServiceClient) EXPECT() *MockProfilerServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProfilerServiceClient) UpdateProfile ¶
func (m *MockProfilerServiceClient) UpdateProfile(arg0 context.Context, arg1 *v2.UpdateProfileRequest, arg2 ...grpc.CallOption) (*v2.Profile, error)
UpdateProfile mocks base method
type MockProfilerServiceClientMockRecorder ¶
type MockProfilerServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProfilerServiceClientMockRecorder is the mock recorder for MockProfilerServiceClient
func (*MockProfilerServiceClientMockRecorder) CreateOfflineProfile ¶
func (mr *MockProfilerServiceClientMockRecorder) CreateOfflineProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateOfflineProfile indicates an expected call of CreateOfflineProfile
func (*MockProfilerServiceClientMockRecorder) CreateProfile ¶
func (mr *MockProfilerServiceClientMockRecorder) CreateProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateProfile indicates an expected call of CreateProfile
func (*MockProfilerServiceClientMockRecorder) UpdateProfile ¶
func (mr *MockProfilerServiceClientMockRecorder) UpdateProfile(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateProfile indicates an expected call of UpdateProfile
Source Files ¶
mock_profiler_client.go
- Version
- v0.74.0
- Published
- Dec 11, 2020
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 7 minutes ago –
Tools for package owners.