mock_sessionstorage

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_sessionstorage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBase

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

MockBase is a mock of Base interface.

func NewMockBase

func NewMockBase(ctrl *gomock.Controller) *MockBase

NewMockBase creates a new mock instance.

func (*MockBase) DestroySession

func (m *MockBase) DestroySession(ctx context.Context, sessionID ccc.UUID) error

DestroySession mocks base method.

func (*MockBase) EXPECT

func (m *MockBase) EXPECT() *MockBaseMockRecorder

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

func (*MockBase) Session

func (m *MockBase) Session(ctx context.Context, sessionID ccc.UUID) (*sessioninfo.SessionInfo, error)

Session mocks base method.

func (*MockBase) UpdateSessionActivity

func (m *MockBase) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error

UpdateSessionActivity mocks base method.

type MockBaseMockRecorder

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

MockBaseMockRecorder is the mock recorder for MockBase.

func (*MockBaseMockRecorder) DestroySession

func (mr *MockBaseMockRecorder) DestroySession(ctx, sessionID any) *gomock.Call

DestroySession indicates an expected call of DestroySession.

func (*MockBaseMockRecorder) Session

func (mr *MockBaseMockRecorder) Session(ctx, sessionID any) *gomock.Call

Session indicates an expected call of Session.

func (*MockBaseMockRecorder) UpdateSessionActivity

func (mr *MockBaseMockRecorder) UpdateSessionActivity(ctx, sessionID any) *gomock.Call

UpdateSessionActivity indicates an expected call of UpdateSessionActivity.

type MockOIDCAzure

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

MockOIDCAzure is a mock of OIDCAzure interface.

func NewMockOIDCAzure

func NewMockOIDCAzure(ctrl *gomock.Controller) *MockOIDCAzure

NewMockOIDCAzure creates a new mock instance.

func (*MockOIDCAzure) DestroySession

func (m *MockOIDCAzure) DestroySession(ctx context.Context, sessionID ccc.UUID) error

DestroySession mocks base method.

func (*MockOIDCAzure) DestroySessionOIDC

func (m *MockOIDCAzure) DestroySessionOIDC(ctx context.Context, oidcSID string) error

DestroySessionOIDC mocks base method.

func (*MockOIDCAzure) EXPECT

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

func (*MockOIDCAzure) NewSession

func (m *MockOIDCAzure) NewSession(ctx context.Context, username, oidcSID string) (ccc.UUID, error)

NewSession mocks base method.

func (*MockOIDCAzure) Session

func (m *MockOIDCAzure) Session(ctx context.Context, sessionID ccc.UUID) (*sessioninfo.SessionInfo, error)

Session mocks base method.

func (*MockOIDCAzure) UpdateSessionActivity

func (m *MockOIDCAzure) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error

UpdateSessionActivity mocks base method.

type MockOIDCAzureMockRecorder

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

MockOIDCAzureMockRecorder is the mock recorder for MockOIDCAzure.

func (*MockOIDCAzureMockRecorder) DestroySession

func (mr *MockOIDCAzureMockRecorder) DestroySession(ctx, sessionID any) *gomock.Call

DestroySession indicates an expected call of DestroySession.

func (*MockOIDCAzureMockRecorder) DestroySessionOIDC

func (mr *MockOIDCAzureMockRecorder) DestroySessionOIDC(ctx, oidcSID any) *gomock.Call

DestroySessionOIDC indicates an expected call of DestroySessionOIDC.

func (*MockOIDCAzureMockRecorder) NewSession

func (mr *MockOIDCAzureMockRecorder) NewSession(ctx, username, oidcSID any) *gomock.Call

NewSession indicates an expected call of NewSession.

func (*MockOIDCAzureMockRecorder) Session

func (mr *MockOIDCAzureMockRecorder) Session(ctx, sessionID any) *gomock.Call

Session indicates an expected call of Session.

func (*MockOIDCAzureMockRecorder) UpdateSessionActivity

func (mr *MockOIDCAzureMockRecorder) UpdateSessionActivity(ctx, sessionID any) *gomock.Call

UpdateSessionActivity indicates an expected call of UpdateSessionActivity.

type MockPreauth

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

MockPreauth is a mock of Preauth interface.

func NewMockPreauth

func NewMockPreauth(ctrl *gomock.Controller) *MockPreauth

NewMockPreauth creates a new mock instance.

func (*MockPreauth) DestroySession

func (m *MockPreauth) DestroySession(ctx context.Context, sessionID ccc.UUID) error

DestroySession mocks base method.

func (*MockPreauth) EXPECT

func (m *MockPreauth) EXPECT() *MockPreauthMockRecorder

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

func (*MockPreauth) NewSession

func (m *MockPreauth) NewSession(ctx context.Context, username string) (ccc.UUID, error)

NewSession mocks base method.

func (*MockPreauth) Session

func (m *MockPreauth) Session(ctx context.Context, sessionID ccc.UUID) (*sessioninfo.SessionInfo, error)

Session mocks base method.

func (*MockPreauth) UpdateSessionActivity

func (m *MockPreauth) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error

UpdateSessionActivity mocks base method.

type MockPreauthMockRecorder

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

MockPreauthMockRecorder is the mock recorder for MockPreauth.

func (*MockPreauthMockRecorder) DestroySession

func (mr *MockPreauthMockRecorder) DestroySession(ctx, sessionID any) *gomock.Call

DestroySession indicates an expected call of DestroySession.

func (*MockPreauthMockRecorder) NewSession

func (mr *MockPreauthMockRecorder) NewSession(ctx, username any) *gomock.Call

NewSession indicates an expected call of NewSession.

func (*MockPreauthMockRecorder) Session

func (mr *MockPreauthMockRecorder) Session(ctx, sessionID any) *gomock.Call

Session indicates an expected call of Session.

func (*MockPreauthMockRecorder) UpdateSessionActivity

func (mr *MockPreauthMockRecorder) UpdateSessionActivity(ctx, sessionID any) *gomock.Call

UpdateSessionActivity indicates an expected call of UpdateSessionActivity.

type Mockdb

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

Mockdb is a mock of db interface.

func NewMockdb

func NewMockdb(ctrl *gomock.Controller) *Mockdb

NewMockdb creates a new mock instance.

func (*Mockdb) DestroySession

func (m *Mockdb) DestroySession(ctx context.Context, sessionID ccc.UUID) error

DestroySession mocks base method.

func (*Mockdb) DestroySessionOIDC

func (m *Mockdb) DestroySessionOIDC(ctx context.Context, oidcSID string) error

DestroySessionOIDC mocks base method.

func (*Mockdb) EXPECT

func (m *Mockdb) EXPECT() *MockdbMockRecorder

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

func (*Mockdb) InsertSession

func (m *Mockdb) InsertSession(ctx context.Context, session *dbtype.InsertSession) (ccc.UUID, error)

InsertSession mocks base method.

func (*Mockdb) InsertSessionOIDC

func (m *Mockdb) InsertSessionOIDC(ctx context.Context, session *dbtype.InsertSessionOIDC) (ccc.UUID, error)

InsertSessionOIDC mocks base method.

func (*Mockdb) Session

func (m *Mockdb) Session(ctx context.Context, sessionID ccc.UUID) (*dbtype.Session, error)

Session mocks base method.

func (*Mockdb) SessionOIDC

func (m *Mockdb) SessionOIDC(ctx context.Context, sessionID ccc.UUID) (*dbtype.SessionOIDC, error)

SessionOIDC mocks base method.

func (*Mockdb) UpdateSessionActivity

func (m *Mockdb) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error

UpdateSessionActivity mocks base method.

type MockdbMockRecorder

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

MockdbMockRecorder is the mock recorder for Mockdb.

func (*MockdbMockRecorder) DestroySession

func (mr *MockdbMockRecorder) DestroySession(ctx, sessionID any) *gomock.Call

DestroySession indicates an expected call of DestroySession.

func (*MockdbMockRecorder) DestroySessionOIDC

func (mr *MockdbMockRecorder) DestroySessionOIDC(ctx, oidcSID any) *gomock.Call

DestroySessionOIDC indicates an expected call of DestroySessionOIDC.

func (*MockdbMockRecorder) InsertSession

func (mr *MockdbMockRecorder) InsertSession(ctx, session any) *gomock.Call

InsertSession indicates an expected call of InsertSession.

func (*MockdbMockRecorder) InsertSessionOIDC

func (mr *MockdbMockRecorder) InsertSessionOIDC(ctx, session any) *gomock.Call

InsertSessionOIDC indicates an expected call of InsertSessionOIDC.

func (*MockdbMockRecorder) Session

func (mr *MockdbMockRecorder) Session(ctx, sessionID any) *gomock.Call

Session indicates an expected call of Session.

func (*MockdbMockRecorder) SessionOIDC

func (mr *MockdbMockRecorder) SessionOIDC(ctx, sessionID any) *gomock.Call

SessionOIDC indicates an expected call of SessionOIDC.

func (*MockdbMockRecorder) UpdateSessionActivity

func (mr *MockdbMockRecorder) UpdateSessionActivity(ctx, sessionID any) *gomock.Call

UpdateSessionActivity indicates an expected call of UpdateSessionActivity.

Jump to

Keyboard shortcuts

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