Documentation ¶
Overview ¶
Package client is a generated GoMock package.
Package client is a generated GoMock package.
Index ¶
- type MockClientGitContent
- func (m *MockClientGitContent) Create(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitCommit, error)
- func (m *MockClientGitContent) EXPECT() *MockClientGitContentMockRecorder
- func (m *MockClientGitContent) Get(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitRepoFile, error)
- type MockClientGitContentMockRecorder
- type MockClientGitPullRequest
- func (m *MockClientGitPullRequest) Create(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequest, error)
- func (m *MockClientGitPullRequest) CreateNote(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequestNote, error)
- func (m *MockClientGitPullRequest) EXPECT() *MockClientGitPullRequestMockRecorder
- func (m *MockClientGitPullRequest) Get(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequest, error)
- func (m *MockClientGitPullRequest) List(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequestList, error)
- func (m *MockClientGitPullRequest) ListNote(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequestNoteList, error)
- type MockClientGitPullRequestMockRecorder
- func (mr *MockClientGitPullRequestMockRecorder) Create(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
- func (mr *MockClientGitPullRequestMockRecorder) CreateNote(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
- func (mr *MockClientGitPullRequestMockRecorder) Get(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
- func (mr *MockClientGitPullRequestMockRecorder) List(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
- func (mr *MockClientGitPullRequestMockRecorder) ListNote(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
- type MockGitPullRequestCRUClient
- func (m *MockGitPullRequestCRUClient) Create(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequest, error)
- func (m *MockGitPullRequestCRUClient) CreateNote(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequestNote, error)
- func (m *MockGitPullRequestCRUClient) EXPECT() *MockGitPullRequestCRUClientMockRecorder
- func (m *MockGitPullRequestCRUClient) Get(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequest, error)
- func (m *MockGitPullRequestCRUClient) List(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequestList, error)
- func (m *MockGitPullRequestCRUClient) ListNote(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequestNoteList, error)
- func (m *MockGitPullRequestCRUClient) UpdateNote(ctx context.Context, baseURL *v1.Addressable, ...) (*v1alpha1.GitPullRequestNote, error)
- type MockGitPullRequestCRUClientMockRecorder
- func (mr *MockGitPullRequestCRUClientMockRecorder) Create(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
- func (mr *MockGitPullRequestCRUClientMockRecorder) CreateNote(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
- func (mr *MockGitPullRequestCRUClientMockRecorder) Get(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
- func (mr *MockGitPullRequestCRUClientMockRecorder) List(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
- func (mr *MockGitPullRequestCRUClientMockRecorder) ListNote(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
- func (mr *MockGitPullRequestCRUClientMockRecorder) UpdateNote(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientGitContent ¶
type MockClientGitContent struct {
// contains filtered or unexported fields
}
MockClientGitContent is a mock of ClientGitContent interface.
func NewMockClientGitContent ¶
func NewMockClientGitContent(ctrl *gomock.Controller) *MockClientGitContent
NewMockClientGitContent creates a new mock instance.
func (*MockClientGitContent) Create ¶
func (m *MockClientGitContent) Create(ctx context.Context, baseURL *v1.Addressable, payload v1alpha1.CreateRepoFilePayload, options ...client.OptionFunc) (*v1alpha1.GitCommit, error)
Create mocks base method.
func (*MockClientGitContent) EXPECT ¶
func (m *MockClientGitContent) EXPECT() *MockClientGitContentMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientGitContent) Get ¶
func (m *MockClientGitContent) Get(ctx context.Context, baseURL *v1.Addressable, option v1alpha1.GitRepoFileOption, options ...client.OptionFunc) (*v1alpha1.GitRepoFile, error)
Get mocks base method.
type MockClientGitContentMockRecorder ¶
type MockClientGitContentMockRecorder struct {
// contains filtered or unexported fields
}
MockClientGitContentMockRecorder is the mock recorder for MockClientGitContent.
func (*MockClientGitContentMockRecorder) Create ¶
func (mr *MockClientGitContentMockRecorder) Create(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockClientGitContentMockRecorder) Get ¶
func (mr *MockClientGitContentMockRecorder) Get(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockClientGitPullRequest ¶
type MockClientGitPullRequest struct {
// contains filtered or unexported fields
}
MockClientGitPullRequest is a mock of ClientGitPullRequest interface.
func NewMockClientGitPullRequest ¶
func NewMockClientGitPullRequest(ctrl *gomock.Controller) *MockClientGitPullRequest
NewMockClientGitPullRequest creates a new mock instance.
func (*MockClientGitPullRequest) Create ¶
func (m *MockClientGitPullRequest) Create(ctx context.Context, baseURL *v1.Addressable, payload v1alpha1.CreatePullRequestPayload, options ...client.OptionFunc) (*v1alpha1.GitPullRequest, error)
Create mocks base method.
func (*MockClientGitPullRequest) CreateNote ¶
func (m *MockClientGitPullRequest) CreateNote(ctx context.Context, baseURL *v1.Addressable, payload v1alpha1.CreatePullRequestCommentPayload, options ...client.OptionFunc) (*v1alpha1.GitPullRequestNote, error)
CreateNote mocks base method.
func (*MockClientGitPullRequest) EXPECT ¶
func (m *MockClientGitPullRequest) EXPECT() *MockClientGitPullRequestMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientGitPullRequest) Get ¶
func (m *MockClientGitPullRequest) Get(ctx context.Context, baseURL *v1.Addressable, option v1alpha1.GitPullRequestOption, options ...client.OptionFunc) (*v1alpha1.GitPullRequest, error)
Get mocks base method.
func (*MockClientGitPullRequest) List ¶
func (m *MockClientGitPullRequest) List(ctx context.Context, baseURL *v1.Addressable, option v1alpha1.GitPullRequestListOption, options ...client.OptionFunc) (*v1alpha1.GitPullRequestList, error)
List mocks base method.
func (*MockClientGitPullRequest) ListNote ¶
func (m *MockClientGitPullRequest) ListNote(ctx context.Context, baseURL *v1.Addressable, option v1alpha1.GitPullRequestOption, options ...client.OptionFunc) (*v1alpha1.GitPullRequestNoteList, error)
ListNote mocks base method.
type MockClientGitPullRequestMockRecorder ¶
type MockClientGitPullRequestMockRecorder struct {
// contains filtered or unexported fields
}
MockClientGitPullRequestMockRecorder is the mock recorder for MockClientGitPullRequest.
func (*MockClientGitPullRequestMockRecorder) Create ¶
func (mr *MockClientGitPullRequestMockRecorder) Create(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockClientGitPullRequestMockRecorder) CreateNote ¶
func (mr *MockClientGitPullRequestMockRecorder) CreateNote(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
CreateNote indicates an expected call of CreateNote.
func (*MockClientGitPullRequestMockRecorder) Get ¶
func (mr *MockClientGitPullRequestMockRecorder) Get(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockClientGitPullRequestMockRecorder) List ¶
func (mr *MockClientGitPullRequestMockRecorder) List(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockClientGitPullRequestMockRecorder) ListNote ¶
func (mr *MockClientGitPullRequestMockRecorder) ListNote(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
ListNote indicates an expected call of ListNote.
type MockGitPullRequestCRUClient ¶
type MockGitPullRequestCRUClient struct {
// contains filtered or unexported fields
}
MockGitPullRequestCRUClient is a mock of GitPullRequestCRUClient interface.
func NewMockGitPullRequestCRUClient ¶
func NewMockGitPullRequestCRUClient(ctrl *gomock.Controller) *MockGitPullRequestCRUClient
NewMockGitPullRequestCRUClient creates a new mock instance.
func (*MockGitPullRequestCRUClient) Create ¶
func (m *MockGitPullRequestCRUClient) Create(ctx context.Context, baseURL *v1.Addressable, payload v1alpha1.CreatePullRequestPayload, options ...client.OptionFunc) (*v1alpha1.GitPullRequest, error)
Create mocks base method.
func (*MockGitPullRequestCRUClient) CreateNote ¶
func (m *MockGitPullRequestCRUClient) CreateNote(ctx context.Context, baseURL *v1.Addressable, payload v1alpha1.CreatePullRequestCommentPayload, options ...client.OptionFunc) (*v1alpha1.GitPullRequestNote, error)
CreateNote mocks base method.
func (*MockGitPullRequestCRUClient) EXPECT ¶
func (m *MockGitPullRequestCRUClient) EXPECT() *MockGitPullRequestCRUClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitPullRequestCRUClient) Get ¶
func (m *MockGitPullRequestCRUClient) Get(ctx context.Context, baseURL *v1.Addressable, option v1alpha1.GitPullRequestOption, options ...client.OptionFunc) (*v1alpha1.GitPullRequest, error)
Get mocks base method.
func (*MockGitPullRequestCRUClient) List ¶
func (m *MockGitPullRequestCRUClient) List(ctx context.Context, baseURL *v1.Addressable, option v1alpha1.GitPullRequestListOption, options ...client.OptionFunc) (*v1alpha1.GitPullRequestList, error)
List mocks base method.
func (*MockGitPullRequestCRUClient) ListNote ¶
func (m *MockGitPullRequestCRUClient) ListNote(ctx context.Context, baseURL *v1.Addressable, option v1alpha1.GitPullRequestOption, options ...client.OptionFunc) (*v1alpha1.GitPullRequestNoteList, error)
ListNote mocks base method.
func (*MockGitPullRequestCRUClient) UpdateNote ¶
func (m *MockGitPullRequestCRUClient) UpdateNote(ctx context.Context, baseURL *v1.Addressable, payload v1alpha1.UpdatePullRequestCommentPayload, options ...client.OptionFunc) (*v1alpha1.GitPullRequestNote, error)
UpdateNote mocks base method.
type MockGitPullRequestCRUClientMockRecorder ¶
type MockGitPullRequestCRUClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGitPullRequestCRUClientMockRecorder is the mock recorder for MockGitPullRequestCRUClient.
func (*MockGitPullRequestCRUClientMockRecorder) Create ¶
func (mr *MockGitPullRequestCRUClientMockRecorder) Create(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockGitPullRequestCRUClientMockRecorder) CreateNote ¶
func (mr *MockGitPullRequestCRUClientMockRecorder) CreateNote(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
CreateNote indicates an expected call of CreateNote.
func (*MockGitPullRequestCRUClientMockRecorder) Get ¶
func (mr *MockGitPullRequestCRUClientMockRecorder) Get(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockGitPullRequestCRUClientMockRecorder) List ¶
func (mr *MockGitPullRequestCRUClientMockRecorder) List(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockGitPullRequestCRUClientMockRecorder) ListNote ¶
func (mr *MockGitPullRequestCRUClientMockRecorder) ListNote(ctx, baseURL, option interface{}, options ...interface{}) *gomock.Call
ListNote indicates an expected call of ListNote.
func (*MockGitPullRequestCRUClientMockRecorder) UpdateNote ¶
func (mr *MockGitPullRequestCRUClientMockRecorder) UpdateNote(ctx, baseURL, payload interface{}, options ...interface{}) *gomock.Call
UpdateNote indicates an expected call of UpdateNote.