mock_controllers

package
v0.0.0-...-8540621 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_controllers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIKeyMgr

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

MockAPIKeyMgr is a mock of APIKeyMgr interface.

func NewMockAPIKeyMgr

func NewMockAPIKeyMgr(ctrl *gomock.Controller) *MockAPIKeyMgr

NewMockAPIKeyMgr creates a new mock instance.

func (*MockAPIKeyMgr) EXPECT

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

func (*MockAPIKeyMgr) FetchOrgUserIDUsingAPIKey

func (m *MockAPIKeyMgr) FetchOrgUserIDUsingAPIKey(ctx context.Context, key string) (uuid.UUID, uuid.UUID, error)

FetchOrgUserIDUsingAPIKey mocks base method.

type MockAPIKeyMgrMockRecorder

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

MockAPIKeyMgrMockRecorder is the mock recorder for MockAPIKeyMgr.

func (*MockAPIKeyMgrMockRecorder) FetchOrgUserIDUsingAPIKey

func (mr *MockAPIKeyMgrMockRecorder) FetchOrgUserIDUsingAPIKey(ctx, key interface{}) *gomock.Call

FetchOrgUserIDUsingAPIKey indicates an expected call of FetchOrgUserIDUsingAPIKey.

type MockAuthProvider

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

MockAuthProvider is a mock of AuthProvider interface.

func NewMockAuthProvider

func NewMockAuthProvider(ctrl *gomock.Controller) *MockAuthProvider

NewMockAuthProvider creates a new mock instance.

func (*MockAuthProvider) CreateIdentity

func (m *MockAuthProvider) CreateIdentity(email string) (*controllers.CreateIdentityResponse, error)

CreateIdentity mocks base method.

func (m *MockAuthProvider) CreateInviteLink(authProviderID string) (*controllers.CreateInviteLinkResponse, error)

CreateInviteLink mocks base method.

func (*MockAuthProvider) EXPECT

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

func (*MockAuthProvider) GetUserInfoFromAccessToken

func (m *MockAuthProvider) GetUserInfoFromAccessToken(accessToken string) (*controllers.UserInfo, error)

GetUserInfoFromAccessToken mocks base method.

type MockAuthProviderMockRecorder

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

MockAuthProviderMockRecorder is the mock recorder for MockAuthProvider.

func (*MockAuthProviderMockRecorder) CreateIdentity

func (mr *MockAuthProviderMockRecorder) CreateIdentity(email interface{}) *gomock.Call

CreateIdentity indicates an expected call of CreateIdentity.

func (mr *MockAuthProviderMockRecorder) CreateInviteLink(authProviderID interface{}) *gomock.Call

CreateInviteLink indicates an expected call of CreateInviteLink.

func (*MockAuthProviderMockRecorder) GetUserInfoFromAccessToken

func (mr *MockAuthProviderMockRecorder) GetUserInfoFromAccessToken(accessToken interface{}) *gomock.Call

GetUserInfoFromAccessToken indicates an expected call of GetUserInfoFromAccessToken.

Jump to

Keyboard shortcuts

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