mock_oauther

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_oauther is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOAuther

type MockOAuther struct {
	// contains filtered or unexported fields
}

MockOAuther is a mock of OAuther interface.

func NewMockOAuther

func NewMockOAuther(ctrl *gomock.Controller) *MockOAuther

NewMockOAuther creates a new mock instance.

func (*MockOAuther) AddPayload

func (m *MockOAuther) AddPayload(arg0 string, arg1 []byte) error

AddPayload mocks base method.

func (*MockOAuther) Deauthorize

func (m *MockOAuther) Deauthorize(arg0 string) error

Deauthorize mocks base method.

func (*MockOAuther) EXPECT

func (m *MockOAuther) EXPECT() *MockOAutherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockOAuther) GetConnectURL

func (m *MockOAuther) GetConnectURL() string

GetConnectURL mocks base method.

func (*MockOAuther) GetToken

func (m *MockOAuther) GetToken(arg0 string) (*oauth2.Token, error)

GetToken mocks base method.

func (*MockOAuther) ServeHTTP

func (m *MockOAuther) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)

ServeHTTP mocks base method.

type MockOAutherMockRecorder

type MockOAutherMockRecorder struct {
	// contains filtered or unexported fields
}

MockOAutherMockRecorder is the mock recorder for MockOAuther.

func (*MockOAutherMockRecorder) AddPayload

func (mr *MockOAutherMockRecorder) AddPayload(arg0, arg1 interface{}) *gomock.Call

AddPayload indicates an expected call of AddPayload.

func (*MockOAutherMockRecorder) Deauthorize

func (mr *MockOAutherMockRecorder) Deauthorize(arg0 interface{}) *gomock.Call

Deauthorize indicates an expected call of Deauthorize.

func (*MockOAutherMockRecorder) GetConnectURL

func (mr *MockOAutherMockRecorder) GetConnectURL() *gomock.Call

GetConnectURL indicates an expected call of GetConnectURL.

func (*MockOAutherMockRecorder) GetToken

func (mr *MockOAutherMockRecorder) GetToken(arg0 interface{}) *gomock.Call

GetToken indicates an expected call of GetToken.

func (*MockOAutherMockRecorder) ServeHTTP

func (mr *MockOAutherMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP.

Jump to

Keyboard shortcuts

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