Documentation ¶
Index ¶
- type IMonorailService
- func (_m *IMonorailService) GetEmail(userName string) (*monorail.MonorailUser, error)
- func (_m *IMonorailService) GetIssue(issueName string) (*monorail.MonorailIssue, error)
- func (_m *IMonorailService) GetIssueLink(instance string, id string) string
- func (_m *IMonorailService) MakeIssue(instance string, owner string, summary string, description string, ...) (*monorail.MonorailIssue, error)
- func (_m *IMonorailService) SearchIssuesWithPagination(instance string, query string) ([]monorail.MonorailIssue, error)
- func (_m *IMonorailService) SetOwnerAndAddComment(instance string, owner string, comment string, id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMonorailService ¶
IMonorailService is an autogenerated mock type for the IMonorailService type
func NewIMonorailService ¶
func NewIMonorailService(t interface { mock.TestingT Cleanup(func()) }) *IMonorailService
NewIMonorailService creates a new instance of IMonorailService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IMonorailService) GetEmail ¶
func (_m *IMonorailService) GetEmail(userName string) (*monorail.MonorailUser, error)
GetEmail provides a mock function with given fields: userName
func (*IMonorailService) GetIssue ¶
func (_m *IMonorailService) GetIssue(issueName string) (*monorail.MonorailIssue, error)
GetIssue provides a mock function with given fields: issueName
func (*IMonorailService) GetIssueLink ¶
func (_m *IMonorailService) GetIssueLink(instance string, id string) string
GetIssueLink provides a mock function with given fields: instance, id
func (*IMonorailService) MakeIssue ¶
func (_m *IMonorailService) MakeIssue(instance string, owner string, summary string, description string, status string, priority string, issueType string, labels []string, componentDefIDs []string, ccUsers []string) (*monorail.MonorailIssue, error)
MakeIssue provides a mock function with given fields: instance, owner, summary, description, status, priority, issueType, labels, componentDefIDs, ccUsers
func (*IMonorailService) SearchIssuesWithPagination ¶
func (_m *IMonorailService) SearchIssuesWithPagination(instance string, query string) ([]monorail.MonorailIssue, error)
SearchIssuesWithPagination provides a mock function with given fields: instance, query
func (*IMonorailService) SetOwnerAndAddComment ¶
func (_m *IMonorailService) SetOwnerAndAddComment(instance string, owner string, comment string, id string) error
SetOwnerAndAddComment provides a mock function with given fields: instance, owner, comment, id