Documentation ¶
Overview ¶
Package mock_platforms is a generated GoMock package.
Index ¶
- type MockPlatform
- func (m *MockPlatform) CheckAllStatusSucceeded(arg0, arg1, arg2 string, arg3 []string) (bool, error)
- func (m *MockPlatform) CreateFile(arg0, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockPlatform) CreateIssue(arg0, arg1 string, arg2 *platforms.Issue) error
- func (m *MockPlatform) CreateRelease(arg0, arg1 string, arg2 *platforms.Release) (*platforms.Release, error)
- func (m *MockPlatform) CreateRepository(arg0, arg1, arg2 string) error
- func (m *MockPlatform) CreateStatus(arg0, arg1 string, arg2 *platforms.Status) error
- func (m *MockPlatform) DeleteRepository(arg0, arg1 string) error
- func (m *MockPlatform) EXPECT() *MockPlatformMockRecorder
- func (m *MockPlatform) GetStatus(arg0, arg1, arg2, arg3 string) (*platforms.Status, error)
- func (m *MockPlatform) ListDraftReleases(arg0, arg1 string) ([]*platforms.Release, error)
- func (m *MockPlatform) ListIssuesByAuthor(arg0, arg1 string, arg2 interface{}) ([]*platforms.Issue, error)
- func (m *MockPlatform) ListReleases(arg0, arg1 string) ([]*platforms.Release, error)
- func (m *MockPlatform) ListStatuses(arg0, arg1, arg2 string) ([]*platforms.Status, error)
- func (m *MockPlatform) PublishRelease(arg0, arg1 string, arg2 *platforms.Release) (bool, error)
- func (m *MockPlatform) ReadFile(arg0, arg1, arg2 string) (io.Reader, error)
- func (m *MockPlatform) UpdateFile(arg0, arg1, arg2, arg3, arg4, arg5 string) error
- func (m *MockPlatform) UpdateIssue(arg0, arg1 string, arg2 *platforms.Issue) error
- func (m *MockPlatform) UpdateRelease(arg0, arg1 string, arg2 *platforms.Release) error
- type MockPlatformMockRecorder
- func (mr *MockPlatformMockRecorder) CheckAllStatusSucceeded(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) CreateFile(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) CreateIssue(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) CreateRelease(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) CreateRepository(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) CreateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) DeleteRepository(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) GetStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) ListDraftReleases(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) ListIssuesByAuthor(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) ListReleases(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) ListStatuses(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) PublishRelease(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) ReadFile(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) UpdateFile(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) UpdateIssue(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPlatformMockRecorder) UpdateRelease(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPlatform ¶
type MockPlatform struct {
// contains filtered or unexported fields
}
MockPlatform is a mock of Platform interface.
func NewMockPlatform ¶
func NewMockPlatform(ctrl *gomock.Controller) *MockPlatform
NewMockPlatform creates a new mock instance.
func (*MockPlatform) CheckAllStatusSucceeded ¶
func (m *MockPlatform) CheckAllStatusSucceeded(arg0, arg1, arg2 string, arg3 []string) (bool, error)
CheckAllStatusSucceeded mocks base method.
func (*MockPlatform) CreateFile ¶ added in v0.2.0
func (m *MockPlatform) CreateFile(arg0, arg1, arg2, arg3, arg4, arg5 string) error
CreateFile mocks base method.
func (*MockPlatform) CreateIssue ¶ added in v0.3.0
func (m *MockPlatform) CreateIssue(arg0, arg1 string, arg2 *platforms.Issue) error
CreateIssue mocks base method.
func (*MockPlatform) CreateRelease ¶ added in v0.2.0
func (m *MockPlatform) CreateRelease(arg0, arg1 string, arg2 *platforms.Release) (*platforms.Release, error)
CreateRelease mocks base method.
func (*MockPlatform) CreateRepository ¶ added in v0.2.0
func (m *MockPlatform) CreateRepository(arg0, arg1, arg2 string) error
CreateRepository mocks base method.
func (*MockPlatform) CreateStatus ¶
func (m *MockPlatform) CreateStatus(arg0, arg1 string, arg2 *platforms.Status) error
CreateStatus mocks base method.
func (*MockPlatform) DeleteRepository ¶ added in v0.2.0
func (m *MockPlatform) DeleteRepository(arg0, arg1 string) error
DeleteRepository mocks base method.
func (*MockPlatform) EXPECT ¶
func (m *MockPlatform) EXPECT() *MockPlatformMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPlatform) GetStatus ¶
func (m *MockPlatform) GetStatus(arg0, arg1, arg2, arg3 string) (*platforms.Status, error)
GetStatus mocks base method.
func (*MockPlatform) ListDraftReleases ¶ added in v0.2.1
func (m *MockPlatform) ListDraftReleases(arg0, arg1 string) ([]*platforms.Release, error)
ListDraftReleases mocks base method.
func (*MockPlatform) ListIssuesByAuthor ¶ added in v0.3.0
func (m *MockPlatform) ListIssuesByAuthor(arg0, arg1 string, arg2 interface{}) ([]*platforms.Issue, error)
ListIssuesByAuthor mocks base method.
func (*MockPlatform) ListReleases ¶
func (m *MockPlatform) ListReleases(arg0, arg1 string) ([]*platforms.Release, error)
ListReleases mocks base method.
func (*MockPlatform) ListStatuses ¶
func (m *MockPlatform) ListStatuses(arg0, arg1, arg2 string) ([]*platforms.Status, error)
ListStatuses mocks base method.
func (*MockPlatform) PublishRelease ¶
PublishRelease mocks base method.
func (*MockPlatform) ReadFile ¶
func (m *MockPlatform) ReadFile(arg0, arg1, arg2 string) (io.Reader, error)
ReadFile mocks base method.
func (*MockPlatform) UpdateFile ¶ added in v0.3.0
func (m *MockPlatform) UpdateFile(arg0, arg1, arg2, arg3, arg4, arg5 string) error
UpdateFile mocks base method.
func (*MockPlatform) UpdateIssue ¶ added in v0.3.0
func (m *MockPlatform) UpdateIssue(arg0, arg1 string, arg2 *platforms.Issue) error
UpdateIssue mocks base method.
func (*MockPlatform) UpdateRelease ¶ added in v0.2.0
func (m *MockPlatform) UpdateRelease(arg0, arg1 string, arg2 *platforms.Release) error
UpdateRelease mocks base method.
type MockPlatformMockRecorder ¶
type MockPlatformMockRecorder struct {
// contains filtered or unexported fields
}
MockPlatformMockRecorder is the mock recorder for MockPlatform.
func (*MockPlatformMockRecorder) CheckAllStatusSucceeded ¶
func (mr *MockPlatformMockRecorder) CheckAllStatusSucceeded(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
CheckAllStatusSucceeded indicates an expected call of CheckAllStatusSucceeded.
func (*MockPlatformMockRecorder) CreateFile ¶ added in v0.2.0
func (mr *MockPlatformMockRecorder) CreateFile(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
CreateFile indicates an expected call of CreateFile.
func (*MockPlatformMockRecorder) CreateIssue ¶ added in v0.3.0
func (mr *MockPlatformMockRecorder) CreateIssue(arg0, arg1, arg2 interface{}) *gomock.Call
CreateIssue indicates an expected call of CreateIssue.
func (*MockPlatformMockRecorder) CreateRelease ¶ added in v0.2.0
func (mr *MockPlatformMockRecorder) CreateRelease(arg0, arg1, arg2 interface{}) *gomock.Call
CreateRelease indicates an expected call of CreateRelease.
func (*MockPlatformMockRecorder) CreateRepository ¶ added in v0.2.0
func (mr *MockPlatformMockRecorder) CreateRepository(arg0, arg1, arg2 interface{}) *gomock.Call
CreateRepository indicates an expected call of CreateRepository.
func (*MockPlatformMockRecorder) CreateStatus ¶
func (mr *MockPlatformMockRecorder) CreateStatus(arg0, arg1, arg2 interface{}) *gomock.Call
CreateStatus indicates an expected call of CreateStatus.
func (*MockPlatformMockRecorder) DeleteRepository ¶ added in v0.2.0
func (mr *MockPlatformMockRecorder) DeleteRepository(arg0, arg1 interface{}) *gomock.Call
DeleteRepository indicates an expected call of DeleteRepository.
func (*MockPlatformMockRecorder) GetStatus ¶
func (mr *MockPlatformMockRecorder) GetStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockPlatformMockRecorder) ListDraftReleases ¶ added in v0.2.1
func (mr *MockPlatformMockRecorder) ListDraftReleases(arg0, arg1 interface{}) *gomock.Call
ListDraftReleases indicates an expected call of ListDraftReleases.
func (*MockPlatformMockRecorder) ListIssuesByAuthor ¶ added in v0.3.0
func (mr *MockPlatformMockRecorder) ListIssuesByAuthor(arg0, arg1, arg2 interface{}) *gomock.Call
ListIssuesByAuthor indicates an expected call of ListIssuesByAuthor.
func (*MockPlatformMockRecorder) ListReleases ¶
func (mr *MockPlatformMockRecorder) ListReleases(arg0, arg1 interface{}) *gomock.Call
ListReleases indicates an expected call of ListReleases.
func (*MockPlatformMockRecorder) ListStatuses ¶
func (mr *MockPlatformMockRecorder) ListStatuses(arg0, arg1, arg2 interface{}) *gomock.Call
ListStatuses indicates an expected call of ListStatuses.
func (*MockPlatformMockRecorder) PublishRelease ¶
func (mr *MockPlatformMockRecorder) PublishRelease(arg0, arg1, arg2 interface{}) *gomock.Call
PublishRelease indicates an expected call of PublishRelease.
func (*MockPlatformMockRecorder) ReadFile ¶
func (mr *MockPlatformMockRecorder) ReadFile(arg0, arg1, arg2 interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile.
func (*MockPlatformMockRecorder) UpdateFile ¶ added in v0.3.0
func (mr *MockPlatformMockRecorder) UpdateFile(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
UpdateFile indicates an expected call of UpdateFile.
func (*MockPlatformMockRecorder) UpdateIssue ¶ added in v0.3.0
func (mr *MockPlatformMockRecorder) UpdateIssue(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateIssue indicates an expected call of UpdateIssue.
func (*MockPlatformMockRecorder) UpdateRelease ¶ added in v0.2.0
func (mr *MockPlatformMockRecorder) UpdateRelease(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateRelease indicates an expected call of UpdateRelease.