Documentation ¶
Overview ¶
Package mock_glow is a generated GoMock package.
Index ¶
- type MockAuthoredBranch
- func (m *MockAuthoredBranch) BranchName() string
- func (m *MockAuthoredBranch) CanBeClosed() bool
- func (m *MockAuthoredBranch) CanBePublished() bool
- func (m *MockAuthoredBranch) CloseBranches(availableBranches []glow.Branch) []glow.Branch
- func (m *MockAuthoredBranch) CreationIsAllowedFrom(sourceBranch glow.Branch) bool
- func (m *MockAuthoredBranch) EXPECT() *MockAuthoredBranchMockRecorder
- func (m *MockAuthoredBranch) PublishBranch() glow.Branch
- func (m *MockAuthoredBranch) ShortBranchName() string
- type MockAuthoredBranchMockRecorder
- func (mr *MockAuthoredBranchMockRecorder) BranchName() *gomock.Call
- func (mr *MockAuthoredBranchMockRecorder) CanBeClosed() *gomock.Call
- func (mr *MockAuthoredBranchMockRecorder) CanBePublished() *gomock.Call
- func (mr *MockAuthoredBranchMockRecorder) CloseBranches(availableBranches interface{}) *gomock.Call
- func (mr *MockAuthoredBranchMockRecorder) CreationIsAllowedFrom(sourceBranch interface{}) *gomock.Call
- func (mr *MockAuthoredBranchMockRecorder) PublishBranch() *gomock.Call
- func (mr *MockAuthoredBranchMockRecorder) ShortBranchName() *gomock.Call
- type MockBranch
- func (m *MockBranch) BranchName() string
- func (m *MockBranch) CanBeClosed() bool
- func (m *MockBranch) CanBePublished() bool
- func (m *MockBranch) CloseBranches(availableBranches []glow.Branch) []glow.Branch
- func (m *MockBranch) CreationIsAllowedFrom(sourceBranch glow.Branch) bool
- func (m *MockBranch) EXPECT() *MockBranchMockRecorder
- func (m *MockBranch) PublishBranch() glow.Branch
- func (m *MockBranch) ShortBranchName() string
- type MockBranchInterface
- type MockBranchMockRecorder
- func (mr *MockBranchMockRecorder) BranchName() *gomock.Call
- func (mr *MockBranchMockRecorder) CanBeClosed() *gomock.Call
- func (mr *MockBranchMockRecorder) CanBePublished() *gomock.Call
- func (mr *MockBranchMockRecorder) CloseBranches(availableBranches interface{}) *gomock.Call
- func (mr *MockBranchMockRecorder) CreationIsAllowedFrom(sourceBranch interface{}) *gomock.Call
- func (mr *MockBranchMockRecorder) PublishBranch() *gomock.Call
- func (mr *MockBranchMockRecorder) ShortBranchName() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthoredBranch ¶
type MockAuthoredBranch struct {
// contains filtered or unexported fields
}
MockAuthoredBranch is a mock of AuthoredBranch interface
func NewMockAuthoredBranch ¶
func NewMockAuthoredBranch(ctrl *gomock.Controller) *MockAuthoredBranch
NewMockAuthoredBranch creates a new mock instance
func (*MockAuthoredBranch) BranchName ¶
func (m *MockAuthoredBranch) BranchName() string
BranchName mocks base method
func (*MockAuthoredBranch) CanBeClosed ¶
func (m *MockAuthoredBranch) CanBeClosed() bool
CanBeClosed mocks base method
func (*MockAuthoredBranch) CanBePublished ¶
func (m *MockAuthoredBranch) CanBePublished() bool
CanBePublished mocks base method
func (*MockAuthoredBranch) CloseBranches ¶
func (m *MockAuthoredBranch) CloseBranches(availableBranches []glow.Branch) []glow.Branch
CloseBranches mocks base method
func (*MockAuthoredBranch) CreationIsAllowedFrom ¶
func (m *MockAuthoredBranch) CreationIsAllowedFrom(sourceBranch glow.Branch) bool
CreationIsAllowedFrom mocks base method
func (*MockAuthoredBranch) EXPECT ¶
func (m *MockAuthoredBranch) EXPECT() *MockAuthoredBranchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAuthoredBranch) PublishBranch ¶
func (m *MockAuthoredBranch) PublishBranch() glow.Branch
PublishBranch mocks base method
func (*MockAuthoredBranch) ShortBranchName ¶
func (m *MockAuthoredBranch) ShortBranchName() string
ShortBranchName mocks base method
type MockAuthoredBranchMockRecorder ¶
type MockAuthoredBranchMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthoredBranchMockRecorder is the mock recorder for MockAuthoredBranch
func (*MockAuthoredBranchMockRecorder) BranchName ¶
func (mr *MockAuthoredBranchMockRecorder) BranchName() *gomock.Call
BranchName indicates an expected call of BranchName
func (*MockAuthoredBranchMockRecorder) CanBeClosed ¶
func (mr *MockAuthoredBranchMockRecorder) CanBeClosed() *gomock.Call
CanBeClosed indicates an expected call of CanBeClosed
func (*MockAuthoredBranchMockRecorder) CanBePublished ¶
func (mr *MockAuthoredBranchMockRecorder) CanBePublished() *gomock.Call
CanBePublished indicates an expected call of CanBePublished
func (*MockAuthoredBranchMockRecorder) CloseBranches ¶
func (mr *MockAuthoredBranchMockRecorder) CloseBranches(availableBranches interface{}) *gomock.Call
CloseBranches indicates an expected call of CloseBranches
func (*MockAuthoredBranchMockRecorder) CreationIsAllowedFrom ¶
func (mr *MockAuthoredBranchMockRecorder) CreationIsAllowedFrom(sourceBranch interface{}) *gomock.Call
CreationIsAllowedFrom indicates an expected call of CreationIsAllowedFrom
func (*MockAuthoredBranchMockRecorder) PublishBranch ¶
func (mr *MockAuthoredBranchMockRecorder) PublishBranch() *gomock.Call
PublishBranch indicates an expected call of PublishBranch
func (*MockAuthoredBranchMockRecorder) ShortBranchName ¶
func (mr *MockAuthoredBranchMockRecorder) ShortBranchName() *gomock.Call
ShortBranchName indicates an expected call of ShortBranchName
type MockBranch ¶
type MockBranch struct {
// contains filtered or unexported fields
}
MockBranch is a mock of Branch interface
func NewMockBranch ¶
func NewMockBranch(ctrl *gomock.Controller) *MockBranch
NewMockBranch creates a new mock instance
func (*MockBranch) BranchName ¶
func (m *MockBranch) BranchName() string
BranchName mocks base method
func (*MockBranch) CanBeClosed ¶
func (m *MockBranch) CanBeClosed() bool
CanBeClosed mocks base method
func (*MockBranch) CanBePublished ¶
func (m *MockBranch) CanBePublished() bool
CanBePublished mocks base method
func (*MockBranch) CloseBranches ¶
func (m *MockBranch) CloseBranches(availableBranches []glow.Branch) []glow.Branch
CloseBranches mocks base method
func (*MockBranch) CreationIsAllowedFrom ¶
func (m *MockBranch) CreationIsAllowedFrom(sourceBranch glow.Branch) bool
CreationIsAllowedFrom mocks base method
func (*MockBranch) EXPECT ¶
func (m *MockBranch) EXPECT() *MockBranchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBranch) PublishBranch ¶
func (m *MockBranch) PublishBranch() glow.Branch
PublishBranch mocks base method
func (*MockBranch) ShortBranchName ¶
func (m *MockBranch) ShortBranchName() string
ShortBranchName mocks base method
type MockBranchInterface ¶
type MockBranchInterface interface { EXPECT() *MockBranchMockRecorder glow.Branch }
type MockBranchMockRecorder ¶
type MockBranchMockRecorder struct {
// contains filtered or unexported fields
}
MockBranchMockRecorder is the mock recorder for MockBranch
func (*MockBranchMockRecorder) BranchName ¶
func (mr *MockBranchMockRecorder) BranchName() *gomock.Call
BranchName indicates an expected call of BranchName
func (*MockBranchMockRecorder) CanBeClosed ¶
func (mr *MockBranchMockRecorder) CanBeClosed() *gomock.Call
CanBeClosed indicates an expected call of CanBeClosed
func (*MockBranchMockRecorder) CanBePublished ¶
func (mr *MockBranchMockRecorder) CanBePublished() *gomock.Call
CanBePublished indicates an expected call of CanBePublished
func (*MockBranchMockRecorder) CloseBranches ¶
func (mr *MockBranchMockRecorder) CloseBranches(availableBranches interface{}) *gomock.Call
CloseBranches indicates an expected call of CloseBranches
func (*MockBranchMockRecorder) CreationIsAllowedFrom ¶
func (mr *MockBranchMockRecorder) CreationIsAllowedFrom(sourceBranch interface{}) *gomock.Call
CreationIsAllowedFrom indicates an expected call of CreationIsAllowedFrom
func (*MockBranchMockRecorder) PublishBranch ¶
func (mr *MockBranchMockRecorder) PublishBranch() *gomock.Call
PublishBranch indicates an expected call of PublishBranch
func (*MockBranchMockRecorder) ShortBranchName ¶
func (mr *MockBranchMockRecorder) ShortBranchName() *gomock.Call
ShortBranchName indicates an expected call of ShortBranchName