mock_session

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_session is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProviderSessionService

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

MockProviderSessionService is a mock of ProviderSessionService interface.

func NewMockProviderSessionService

func NewMockProviderSessionService(ctrl *gomock.Controller) *MockProviderSessionService

NewMockProviderSessionService creates a new mock instance.

func (*MockProviderSessionService) CreateProviderFromSessionState

func (m *MockProviderSessionService) CreateProviderFromSessionState(ctx context.Context, providerClass db.ProviderClass, encryptedCreds *crypto.EncryptedData, state string) (*db.Provider, error)

CreateProviderFromSessionState mocks base method.

func (*MockProviderSessionService) EXPECT

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

type MockProviderSessionServiceMockRecorder

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

MockProviderSessionServiceMockRecorder is the mock recorder for MockProviderSessionService.

func (*MockProviderSessionServiceMockRecorder) CreateProviderFromSessionState

func (mr *MockProviderSessionServiceMockRecorder) CreateProviderFromSessionState(ctx, providerClass, encryptedCreds, state any) *gomock.Call

CreateProviderFromSessionState indicates an expected call of CreateProviderFromSessionState.

type MockdbSessionStore

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

MockdbSessionStore is a mock of dbSessionStore interface.

func NewMockdbSessionStore

func NewMockdbSessionStore(ctrl *gomock.Controller) *MockdbSessionStore

NewMockdbSessionStore creates a new mock instance.

func (*MockdbSessionStore) EXPECT

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

func (*MockdbSessionStore) GetProjectIDBySessionState

func (m *MockdbSessionStore) GetProjectIDBySessionState(ctx context.Context, sessionState string) (db.GetProjectIDBySessionStateRow, error)

GetProjectIDBySessionState mocks base method.

func (*MockdbSessionStore) UpsertAccessToken

UpsertAccessToken mocks base method.

type MockdbSessionStoreMockRecorder

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

MockdbSessionStoreMockRecorder is the mock recorder for MockdbSessionStore.

func (*MockdbSessionStoreMockRecorder) GetProjectIDBySessionState

func (mr *MockdbSessionStoreMockRecorder) GetProjectIDBySessionState(ctx, sessionState any) *gomock.Call

GetProjectIDBySessionState indicates an expected call of GetProjectIDBySessionState.

func (*MockdbSessionStoreMockRecorder) UpsertAccessToken

func (mr *MockdbSessionStoreMockRecorder) UpsertAccessToken(ctx, arg any) *gomock.Call

UpsertAccessToken indicates an expected call of UpsertAccessToken.

type MockproviderByNameGetter

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

MockproviderByNameGetter is a mock of providerByNameGetter interface.

func NewMockproviderByNameGetter

func NewMockproviderByNameGetter(ctrl *gomock.Controller) *MockproviderByNameGetter

NewMockproviderByNameGetter creates a new mock instance.

func (*MockproviderByNameGetter) EXPECT

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

func (*MockproviderByNameGetter) GetByName

func (m *MockproviderByNameGetter) GetByName(ctx context.Context, projectID uuid.UUID, name string) (*db.Provider, error)

GetByName mocks base method.

type MockproviderByNameGetterMockRecorder

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

MockproviderByNameGetterMockRecorder is the mock recorder for MockproviderByNameGetter.

func (*MockproviderByNameGetterMockRecorder) GetByName

func (mr *MockproviderByNameGetterMockRecorder) GetByName(ctx, projectID, name any) *gomock.Call

GetByName indicates an expected call of GetByName.

Jump to

Keyboard shortcuts

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