Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/rusq/slackdump/v2/auth (interfaces: Provider)
Generated by this command:
mockgen -destination ../internal/mocks/mock_auth/mock_auth.go github.com/rusq/slackdump/v2/auth Provider
Package mock_auth is a generated GoMock package.
Index ¶
- type MockProvider
- func (m *MockProvider) Cookies() []*http.Cookie
- func (m *MockProvider) EXPECT() *MockProviderMockRecorder
- func (m *MockProvider) HTTPClient() (*http.Client, error)
- func (m *MockProvider) SlackToken() string
- func (m *MockProvider) Test(arg0 context.Context) error
- func (m *MockProvider) Type() auth.Type
- func (m *MockProvider) Validate() error
- type MockProviderMockRecorder
- func (mr *MockProviderMockRecorder) Cookies() *gomock.Call
- func (mr *MockProviderMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockProviderMockRecorder) SlackToken() *gomock.Call
- func (mr *MockProviderMockRecorder) Test(arg0 any) *gomock.Call
- func (mr *MockProviderMockRecorder) Type() *gomock.Call
- func (mr *MockProviderMockRecorder) Validate() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
type MockProvider struct {
// contains filtered or unexported fields
}
MockProvider is a mock of Provider interface.
func NewMockProvider ¶
func NewMockProvider(ctrl *gomock.Controller) *MockProvider
NewMockProvider creates a new mock instance.
func (*MockProvider) Cookies ¶
func (m *MockProvider) Cookies() []*http.Cookie
Cookies mocks base method.
func (*MockProvider) EXPECT ¶
func (m *MockProvider) EXPECT() *MockProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProvider) HTTPClient ¶ added in v2.5.0
func (m *MockProvider) HTTPClient() (*http.Client, error)
HTTPClient mocks base method.
func (*MockProvider) SlackToken ¶
func (m *MockProvider) SlackToken() string
SlackToken mocks base method.
type MockProviderMockRecorder ¶
type MockProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockProviderMockRecorder is the mock recorder for MockProvider.
func (*MockProviderMockRecorder) Cookies ¶
func (mr *MockProviderMockRecorder) Cookies() *gomock.Call
Cookies indicates an expected call of Cookies.
func (*MockProviderMockRecorder) HTTPClient ¶ added in v2.5.0
func (mr *MockProviderMockRecorder) HTTPClient() *gomock.Call
HTTPClient indicates an expected call of HTTPClient.
func (*MockProviderMockRecorder) SlackToken ¶
func (mr *MockProviderMockRecorder) SlackToken() *gomock.Call
SlackToken indicates an expected call of SlackToken.
func (*MockProviderMockRecorder) Test ¶
func (mr *MockProviderMockRecorder) Test(arg0 any) *gomock.Call
Test indicates an expected call of Test.
func (*MockProviderMockRecorder) Type ¶
func (mr *MockProviderMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockProviderMockRecorder) Validate ¶
func (mr *MockProviderMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.