Documentation ¶
Overview ¶
Package projects is a generated GoMock package.
Index ¶
- type MockProjectServiceClient
- func (m *MockProjectServiceClient) Create(ctx context.Context, in *project.ProjectCreateRequest, opts ...grpc.CallOption) (*v1alpha1.AppProject, error)
- func (m *MockProjectServiceClient) Delete(ctx context.Context, in *project.ProjectQuery, opts ...grpc.CallOption) (*project.EmptyResponse, error)
- func (m *MockProjectServiceClient) EXPECT() *MockProjectServiceClientMockRecorder
- func (m *MockProjectServiceClient) Get(ctx context.Context, in *project.ProjectQuery, opts ...grpc.CallOption) (*v1alpha1.AppProject, error)
- func (m *MockProjectServiceClient) Update(ctx context.Context, in *project.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.AppProject, error)
- type MockProjectServiceClientMockRecorder
- func (mr *MockProjectServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockProjectServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProjectServiceClient ¶
type MockProjectServiceClient struct {
// contains filtered or unexported fields
}
MockProjectServiceClient is a mock of ProjectServiceClient interface.
func NewMockProjectServiceClient ¶
func NewMockProjectServiceClient(ctrl *gomock.Controller) *MockProjectServiceClient
NewMockProjectServiceClient creates a new mock instance.
func (*MockProjectServiceClient) Create ¶
func (m *MockProjectServiceClient) Create(ctx context.Context, in *project.ProjectCreateRequest, opts ...grpc.CallOption) (*v1alpha1.AppProject, error)
Create mocks base method.
func (*MockProjectServiceClient) Delete ¶
func (m *MockProjectServiceClient) Delete(ctx context.Context, in *project.ProjectQuery, opts ...grpc.CallOption) (*project.EmptyResponse, error)
Delete mocks base method.
func (*MockProjectServiceClient) EXPECT ¶
func (m *MockProjectServiceClient) EXPECT() *MockProjectServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectServiceClient) Get ¶
func (m *MockProjectServiceClient) Get(ctx context.Context, in *project.ProjectQuery, opts ...grpc.CallOption) (*v1alpha1.AppProject, error)
Get mocks base method.
func (*MockProjectServiceClient) Update ¶
func (m *MockProjectServiceClient) Update(ctx context.Context, in *project.ProjectUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.AppProject, error)
Update mocks base method.
type MockProjectServiceClientMockRecorder ¶
type MockProjectServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectServiceClientMockRecorder is the mock recorder for MockProjectServiceClient.
func (*MockProjectServiceClientMockRecorder) Create ¶
func (mr *MockProjectServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockProjectServiceClientMockRecorder) Delete ¶
func (mr *MockProjectServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockProjectServiceClientMockRecorder) Get ¶
func (mr *MockProjectServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockProjectServiceClientMockRecorder) Update ¶
func (mr *MockProjectServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.