mocks

package
v2.0.9-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOauth

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

MockOauth is a mock of Oauth interface.

func NewMockOauth

func NewMockOauth(ctrl *gomock.Controller) *MockOauth

NewMockOauth creates a new mock instance.

func (*MockOauth) AuthCodeURL

func (m *MockOauth) AuthCodeURL() (string, error)

AuthCodeURL mocks base method.

func (*MockOauth) EXPECT

func (m *MockOauth) EXPECT() *MockOauthMockRecorder

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

func (*MockOauth) Exchange

func (m *MockOauth) Exchange(arg0 string) (*oauth2.Token, error)

Exchange mocks base method.

func (*MockOauth) GetUser

func (m *MockOauth) GetUser(arg0 *oauth2.Token) (*oauth.User, error)

GetUser mocks base method.

type MockOauthMockRecorder

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

MockOauthMockRecorder is the mock recorder for MockOauth.

func (*MockOauthMockRecorder) AuthCodeURL

func (mr *MockOauthMockRecorder) AuthCodeURL() *gomock.Call

AuthCodeURL indicates an expected call of AuthCodeURL.

func (*MockOauthMockRecorder) Exchange

func (mr *MockOauthMockRecorder) Exchange(arg0 interface{}) *gomock.Call

Exchange indicates an expected call of Exchange.

func (*MockOauthMockRecorder) GetUser

func (mr *MockOauthMockRecorder) GetUser(arg0 interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

Jump to

Keyboard shortcuts

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