Documentation ¶
Overview ¶
Package repositories is a generated GoMock package.
Index ¶
- type MockRepositoryServiceClient
- func (m *MockRepositoryServiceClient) CreateRepository(ctx context.Context, in *repository.RepoCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
- func (m *MockRepositoryServiceClient) DeleteRepository(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*repository.RepoResponse, error)
- func (m *MockRepositoryServiceClient) EXPECT() *MockRepositoryServiceClientMockRecorder
- func (m *MockRepositoryServiceClient) Get(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
- func (m *MockRepositoryServiceClient) ListRepositories(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*v1alpha1.RepositoryList, error)
- func (m *MockRepositoryServiceClient) UpdateRepository(ctx context.Context, in *repository.RepoUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
- type MockRepositoryServiceClientMockRecorder
- func (mr *MockRepositoryServiceClientMockRecorder) CreateRepository(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRepositoryServiceClientMockRecorder) DeleteRepository(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRepositoryServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRepositoryServiceClientMockRecorder) ListRepositories(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockRepositoryServiceClientMockRecorder) UpdateRepository(ctx, in interface{}, opts ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepositoryServiceClient ¶
type MockRepositoryServiceClient struct {
// contains filtered or unexported fields
}
MockRepositoryServiceClient is a mock of RepositoryServiceClient interface.
func NewMockRepositoryServiceClient ¶
func NewMockRepositoryServiceClient(ctrl *gomock.Controller) *MockRepositoryServiceClient
NewMockRepositoryServiceClient creates a new mock instance.
func (*MockRepositoryServiceClient) CreateRepository ¶
func (m *MockRepositoryServiceClient) CreateRepository(ctx context.Context, in *repository.RepoCreateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
CreateRepository mocks base method.
func (*MockRepositoryServiceClient) DeleteRepository ¶
func (m *MockRepositoryServiceClient) DeleteRepository(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*repository.RepoResponse, error)
DeleteRepository mocks base method.
func (*MockRepositoryServiceClient) EXPECT ¶
func (m *MockRepositoryServiceClient) EXPECT() *MockRepositoryServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryServiceClient) Get ¶
func (m *MockRepositoryServiceClient) Get(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
Get mocks base method.
func (*MockRepositoryServiceClient) ListRepositories ¶
func (m *MockRepositoryServiceClient) ListRepositories(ctx context.Context, in *repository.RepoQuery, opts ...grpc.CallOption) (*v1alpha1.RepositoryList, error)
ListRepositories mocks base method.
func (*MockRepositoryServiceClient) UpdateRepository ¶
func (m *MockRepositoryServiceClient) UpdateRepository(ctx context.Context, in *repository.RepoUpdateRequest, opts ...grpc.CallOption) (*v1alpha1.Repository, error)
UpdateRepository mocks base method.
type MockRepositoryServiceClientMockRecorder ¶
type MockRepositoryServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryServiceClientMockRecorder is the mock recorder for MockRepositoryServiceClient.
func (*MockRepositoryServiceClientMockRecorder) CreateRepository ¶
func (mr *MockRepositoryServiceClientMockRecorder) CreateRepository(ctx, in interface{}, opts ...interface{}) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockRepositoryServiceClientMockRecorder) DeleteRepository ¶
func (mr *MockRepositoryServiceClientMockRecorder) DeleteRepository(ctx, in interface{}, opts ...interface{}) *gomock.Call
DeleteRepository indicates an expected call of DeleteRepository.
func (*MockRepositoryServiceClientMockRecorder) Get ¶
func (mr *MockRepositoryServiceClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockRepositoryServiceClientMockRecorder) ListRepositories ¶
func (mr *MockRepositoryServiceClientMockRecorder) ListRepositories(ctx, in interface{}, opts ...interface{}) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
func (*MockRepositoryServiceClientMockRecorder) UpdateRepository ¶
func (mr *MockRepositoryServiceClientMockRecorder) UpdateRepository(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpdateRepository indicates an expected call of UpdateRepository.