mock_auth

package
v2.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

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

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

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.

func (*MockProvider) Test

func (m *MockProvider) Test(arg0 context.Context) error

Test mocks base method.

func (*MockProvider) Type

func (m *MockProvider) Type() auth.Type

Type mocks base method.

func (*MockProvider) Validate

func (m *MockProvider) Validate() error

Validate 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL