Documentation ¶
Overview ¶
Package mock_session is a generated GoMock package.
Index ¶
- type MockProviderSessionService
- type MockProviderSessionServiceMockRecorder
- type MockdbSessionStore
- func (m *MockdbSessionStore) EXPECT() *MockdbSessionStoreMockRecorder
- func (m *MockdbSessionStore) GetProjectIDBySessionState(ctx context.Context, sessionState string) (db.GetProjectIDBySessionStateRow, error)
- func (m *MockdbSessionStore) UpsertAccessToken(ctx context.Context, arg db.UpsertAccessTokenParams) (db.ProviderAccessToken, error)
- type MockdbSessionStoreMockRecorder
- type MockproviderByNameGetter
- type MockproviderByNameGetterMockRecorder
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 ¶
func (m *MockProviderSessionService) EXPECT() *MockProviderSessionServiceMockRecorder
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 ¶
func (m *MockdbSessionStore) EXPECT() *MockdbSessionStoreMockRecorder
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 ¶
func (m *MockdbSessionStore) UpsertAccessToken(ctx context.Context, arg db.UpsertAccessTokenParams) (db.ProviderAccessToken, error)
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 ¶
func (m *MockproviderByNameGetter) EXPECT() *MockproviderByNameGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockproviderByNameGetterMockRecorder ¶
type MockproviderByNameGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockproviderByNameGetterMockRecorder is the mock recorder for MockproviderByNameGetter.