Documentation ¶
Overview ¶
Package mock_stream is a generated GoMock package.
Index ¶
- type MockSlacker
- func (m *MockSlacker) AuthTestContext(arg0 context.Context) (*slack.AuthTestResponse, error)
- func (m *MockSlacker) EXPECT() *MockSlackerMockRecorder
- func (m *MockSlacker) GetConversationHistoryContext(ctx context.Context, params *slack.GetConversationHistoryParameters) (*slack.GetConversationHistoryResponse, error)
- func (m *MockSlacker) GetConversationInfoContext(ctx context.Context, input *slack.GetConversationInfoInput) (*slack.Channel, error)
- func (m *MockSlacker) GetConversationRepliesContext(ctx context.Context, params *slack.GetConversationRepliesParameters) ([]slack.Message, bool, string, error)
- func (m *MockSlacker) GetConversationsContext(ctx context.Context, params *slack.GetConversationsParameters) ([]slack.Channel, string, error)
- func (m *MockSlacker) GetStarredContext(ctx context.Context, params slack.StarsParameters) ([]slack.StarredItem, *slack.Paging, error)
- func (m *MockSlacker) GetUsersInConversationContext(ctx context.Context, params *slack.GetUsersInConversationParameters) ([]string, string, error)
- func (m *MockSlacker) GetUsersPaginated(options ...slack.GetUsersOption) slack.UserPagination
- func (m *MockSlacker) ListBookmarks(channelID string) ([]slack.Bookmark, error)
- func (m *MockSlacker) SearchFilesContext(ctx context.Context, query string, params slack.SearchParameters) (*slack.SearchFiles, error)
- func (m *MockSlacker) SearchMessagesContext(ctx context.Context, query string, params slack.SearchParameters) (*slack.SearchMessages, error)
- type MockSlackerMockRecorder
- func (mr *MockSlackerMockRecorder) AuthTestContext(arg0 any) *gomock.Call
- func (mr *MockSlackerMockRecorder) GetConversationHistoryContext(ctx, params any) *gomock.Call
- func (mr *MockSlackerMockRecorder) GetConversationInfoContext(ctx, input any) *gomock.Call
- func (mr *MockSlackerMockRecorder) GetConversationRepliesContext(ctx, params any) *gomock.Call
- func (mr *MockSlackerMockRecorder) GetConversationsContext(ctx, params any) *gomock.Call
- func (mr *MockSlackerMockRecorder) GetStarredContext(ctx, params any) *gomock.Call
- func (mr *MockSlackerMockRecorder) GetUsersInConversationContext(ctx, params any) *gomock.Call
- func (mr *MockSlackerMockRecorder) GetUsersPaginated(options ...any) *gomock.Call
- func (mr *MockSlackerMockRecorder) ListBookmarks(channelID any) *gomock.Call
- func (mr *MockSlackerMockRecorder) SearchFilesContext(ctx, query, params any) *gomock.Call
- func (mr *MockSlackerMockRecorder) SearchMessagesContext(ctx, query, params any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSlacker ¶
type MockSlacker struct {
// contains filtered or unexported fields
}
MockSlacker is a mock of Slacker interface.
func NewMockSlacker ¶
func NewMockSlacker(ctrl *gomock.Controller) *MockSlacker
NewMockSlacker creates a new mock instance.
func (*MockSlacker) AuthTestContext ¶
func (m *MockSlacker) AuthTestContext(arg0 context.Context) (*slack.AuthTestResponse, error)
AuthTestContext mocks base method.
func (*MockSlacker) EXPECT ¶
func (m *MockSlacker) EXPECT() *MockSlackerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSlacker) GetConversationHistoryContext ¶
func (m *MockSlacker) GetConversationHistoryContext(ctx context.Context, params *slack.GetConversationHistoryParameters) (*slack.GetConversationHistoryResponse, error)
GetConversationHistoryContext mocks base method.
func (*MockSlacker) GetConversationInfoContext ¶
func (m *MockSlacker) GetConversationInfoContext(ctx context.Context, input *slack.GetConversationInfoInput) (*slack.Channel, error)
GetConversationInfoContext mocks base method.
func (*MockSlacker) GetConversationRepliesContext ¶
func (m *MockSlacker) GetConversationRepliesContext(ctx context.Context, params *slack.GetConversationRepliesParameters) ([]slack.Message, bool, string, error)
GetConversationRepliesContext mocks base method.
func (*MockSlacker) GetConversationsContext ¶
func (m *MockSlacker) GetConversationsContext(ctx context.Context, params *slack.GetConversationsParameters) ([]slack.Channel, string, error)
GetConversationsContext mocks base method.
func (*MockSlacker) GetStarredContext ¶
func (m *MockSlacker) GetStarredContext(ctx context.Context, params slack.StarsParameters) ([]slack.StarredItem, *slack.Paging, error)
GetStarredContext mocks base method.
func (*MockSlacker) GetUsersInConversationContext ¶
func (m *MockSlacker) GetUsersInConversationContext(ctx context.Context, params *slack.GetUsersInConversationParameters) ([]string, string, error)
GetUsersInConversationContext mocks base method.
func (*MockSlacker) GetUsersPaginated ¶
func (m *MockSlacker) GetUsersPaginated(options ...slack.GetUsersOption) slack.UserPagination
GetUsersPaginated mocks base method.
func (*MockSlacker) ListBookmarks ¶
func (m *MockSlacker) ListBookmarks(channelID string) ([]slack.Bookmark, error)
ListBookmarks mocks base method.
func (*MockSlacker) SearchFilesContext ¶
func (m *MockSlacker) SearchFilesContext(ctx context.Context, query string, params slack.SearchParameters) (*slack.SearchFiles, error)
SearchFilesContext mocks base method.
func (*MockSlacker) SearchMessagesContext ¶
func (m *MockSlacker) SearchMessagesContext(ctx context.Context, query string, params slack.SearchParameters) (*slack.SearchMessages, error)
SearchMessagesContext mocks base method.
type MockSlackerMockRecorder ¶
type MockSlackerMockRecorder struct {
// contains filtered or unexported fields
}
MockSlackerMockRecorder is the mock recorder for MockSlacker.
func (*MockSlackerMockRecorder) AuthTestContext ¶
func (mr *MockSlackerMockRecorder) AuthTestContext(arg0 any) *gomock.Call
AuthTestContext indicates an expected call of AuthTestContext.
func (*MockSlackerMockRecorder) GetConversationHistoryContext ¶
func (mr *MockSlackerMockRecorder) GetConversationHistoryContext(ctx, params any) *gomock.Call
GetConversationHistoryContext indicates an expected call of GetConversationHistoryContext.
func (*MockSlackerMockRecorder) GetConversationInfoContext ¶
func (mr *MockSlackerMockRecorder) GetConversationInfoContext(ctx, input any) *gomock.Call
GetConversationInfoContext indicates an expected call of GetConversationInfoContext.
func (*MockSlackerMockRecorder) GetConversationRepliesContext ¶
func (mr *MockSlackerMockRecorder) GetConversationRepliesContext(ctx, params any) *gomock.Call
GetConversationRepliesContext indicates an expected call of GetConversationRepliesContext.
func (*MockSlackerMockRecorder) GetConversationsContext ¶
func (mr *MockSlackerMockRecorder) GetConversationsContext(ctx, params any) *gomock.Call
GetConversationsContext indicates an expected call of GetConversationsContext.
func (*MockSlackerMockRecorder) GetStarredContext ¶
func (mr *MockSlackerMockRecorder) GetStarredContext(ctx, params any) *gomock.Call
GetStarredContext indicates an expected call of GetStarredContext.
func (*MockSlackerMockRecorder) GetUsersInConversationContext ¶
func (mr *MockSlackerMockRecorder) GetUsersInConversationContext(ctx, params any) *gomock.Call
GetUsersInConversationContext indicates an expected call of GetUsersInConversationContext.
func (*MockSlackerMockRecorder) GetUsersPaginated ¶
func (mr *MockSlackerMockRecorder) GetUsersPaginated(options ...any) *gomock.Call
GetUsersPaginated indicates an expected call of GetUsersPaginated.
func (*MockSlackerMockRecorder) ListBookmarks ¶
func (mr *MockSlackerMockRecorder) ListBookmarks(channelID any) *gomock.Call
ListBookmarks indicates an expected call of ListBookmarks.
func (*MockSlackerMockRecorder) SearchFilesContext ¶
func (mr *MockSlackerMockRecorder) SearchFilesContext(ctx, query, params any) *gomock.Call
SearchFilesContext indicates an expected call of SearchFilesContext.
func (*MockSlackerMockRecorder) SearchMessagesContext ¶
func (mr *MockSlackerMockRecorder) SearchMessagesContext(ctx, query, params any) *gomock.Call
SearchMessagesContext indicates an expected call of SearchMessagesContext.