Documentation ¶
Overview ¶
Package application is a generated GoMock package.
Index ¶
- type MockServiceClient
- func (m *MockServiceClient) Create(ctx context.Context, in *application.ApplicationCreateRequest, ...) (*v1alpha1.Application, error)
- func (m *MockServiceClient) Delete(ctx context.Context, in *application.ApplicationDeleteRequest, ...) (*application.ApplicationResponse, error)
- func (m *MockServiceClient) EXPECT() *MockServiceClientMockRecorder
- func (m *MockServiceClient) Get(ctx context.Context, in *application.ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error)
- func (m *MockServiceClient) List(ctx context.Context, in *application.ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error)
- func (m *MockServiceClient) Update(ctx context.Context, in *application.ApplicationUpdateRequest, ...) (*v1alpha1.Application, error)
- type MockServiceClientMockRecorder
- func (mr *MockServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockServiceClientMockRecorder) 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 MockServiceClient ¶
type MockServiceClient struct {
// contains filtered or unexported fields
}
MockServiceClient is a mock of ServiceClient interface.
func NewMockServiceClient ¶
func NewMockServiceClient(ctrl *gomock.Controller) *MockServiceClient
NewMockServiceClient creates a new mock instance.
func (*MockServiceClient) Create ¶
func (m *MockServiceClient) Create(ctx context.Context, in *application.ApplicationCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error)
Create mocks base method.
func (*MockServiceClient) Delete ¶
func (m *MockServiceClient) Delete(ctx context.Context, in *application.ApplicationDeleteRequest, opts ...grpc.CallOption) (*application.ApplicationResponse, error)
Delete mocks base method.
func (*MockServiceClient) EXPECT ¶
func (m *MockServiceClient) EXPECT() *MockServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServiceClient) Get ¶
func (m *MockServiceClient) Get(ctx context.Context, in *application.ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.Application, error)
Get mocks base method.
func (*MockServiceClient) List ¶
func (m *MockServiceClient) List(ctx context.Context, in *application.ApplicationQuery, opts ...grpc.CallOption) (*v1alpha1.ApplicationList, error)
List mocks base method.
func (*MockServiceClient) Update ¶
func (m *MockServiceClient) Update(ctx context.Context, in *application.ApplicationUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Application, error)
Update mocks base method.
type MockServiceClientMockRecorder ¶
type MockServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceClientMockRecorder is the mock recorder for MockServiceClient.
func (*MockServiceClientMockRecorder) Create ¶
func (mr *MockServiceClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceClientMockRecorder) Delete ¶
func (mr *MockServiceClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockServiceClientMockRecorder) Get ¶
func (mr *MockServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockServiceClientMockRecorder) List ¶
func (mr *MockServiceClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockServiceClientMockRecorder) Update ¶
func (mr *MockServiceClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update.