Documentation ¶
Overview ¶
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(ctx context.Context) (*slack.AuthTestResponse, error)
- 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(ctx any) *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 ¶
func (m *MockProvider) HTTPClient() (*http.Client, error)
HTTPClient mocks base method.
func (*MockProvider) SlackToken ¶
func (m *MockProvider) SlackToken() string
SlackToken mocks base method.
func (*MockProvider) Test ¶
func (m *MockProvider) Test(ctx context.Context) (*slack.AuthTestResponse, error)
Test 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 ¶
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(ctx any) *gomock.Call
Test indicates an expected call of Test.
func (*MockProviderMockRecorder) Validate ¶
func (mr *MockProviderMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.