Documentation
¶
Overview ¶
Package mock_sessionstorage is a generated GoMock package.
Index ¶
- type MockBase
- func (m *MockBase) DestroySession(ctx context.Context, sessionID ccc.UUID) error
- func (m *MockBase) EXPECT() *MockBaseMockRecorder
- func (m *MockBase) Session(ctx context.Context, sessionID ccc.UUID) (*sessioninfo.SessionInfo, error)
- func (m *MockBase) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error
- type MockBaseMockRecorder
- type MockOIDCAzure
- func (m *MockOIDCAzure) DestroySession(ctx context.Context, sessionID ccc.UUID) error
- func (m *MockOIDCAzure) DestroySessionOIDC(ctx context.Context, oidcSID string) error
- func (m *MockOIDCAzure) EXPECT() *MockOIDCAzureMockRecorder
- func (m *MockOIDCAzure) NewSession(ctx context.Context, username, oidcSID string) (ccc.UUID, error)
- func (m *MockOIDCAzure) Session(ctx context.Context, sessionID ccc.UUID) (*sessioninfo.SessionInfo, error)
- func (m *MockOIDCAzure) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error
- type MockOIDCAzureMockRecorder
- func (mr *MockOIDCAzureMockRecorder) DestroySession(ctx, sessionID any) *gomock.Call
- func (mr *MockOIDCAzureMockRecorder) DestroySessionOIDC(ctx, oidcSID any) *gomock.Call
- func (mr *MockOIDCAzureMockRecorder) NewSession(ctx, username, oidcSID any) *gomock.Call
- func (mr *MockOIDCAzureMockRecorder) Session(ctx, sessionID any) *gomock.Call
- func (mr *MockOIDCAzureMockRecorder) UpdateSessionActivity(ctx, sessionID any) *gomock.Call
- type MockPreauth
- func (m *MockPreauth) DestroySession(ctx context.Context, sessionID ccc.UUID) error
- func (m *MockPreauth) EXPECT() *MockPreauthMockRecorder
- func (m *MockPreauth) NewSession(ctx context.Context, username string) (ccc.UUID, error)
- func (m *MockPreauth) Session(ctx context.Context, sessionID ccc.UUID) (*sessioninfo.SessionInfo, error)
- func (m *MockPreauth) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error
- type MockPreauthMockRecorder
- func (mr *MockPreauthMockRecorder) DestroySession(ctx, sessionID any) *gomock.Call
- func (mr *MockPreauthMockRecorder) NewSession(ctx, username any) *gomock.Call
- func (mr *MockPreauthMockRecorder) Session(ctx, sessionID any) *gomock.Call
- func (mr *MockPreauthMockRecorder) UpdateSessionActivity(ctx, sessionID any) *gomock.Call
- type Mockdb
- func (m *Mockdb) DestroySession(ctx context.Context, sessionID ccc.UUID) error
- func (m *Mockdb) DestroySessionOIDC(ctx context.Context, oidcSID string) error
- func (m *Mockdb) EXPECT() *MockdbMockRecorder
- func (m *Mockdb) InsertSession(ctx context.Context, session *dbtype.InsertSession) (ccc.UUID, error)
- func (m *Mockdb) InsertSessionOIDC(ctx context.Context, session *dbtype.InsertSessionOIDC) (ccc.UUID, error)
- func (m *Mockdb) Session(ctx context.Context, sessionID ccc.UUID) (*dbtype.Session, error)
- func (m *Mockdb) SessionOIDC(ctx context.Context, sessionID ccc.UUID) (*dbtype.SessionOIDC, error)
- func (m *Mockdb) UpdateSessionActivity(ctx context.Context, sessionID ccc.UUID) error
- type MockdbMockRecorder
- func (mr *MockdbMockRecorder) DestroySession(ctx, sessionID any) *gomock.Call
- func (mr *MockdbMockRecorder) DestroySessionOIDC(ctx, oidcSID any) *gomock.Call
- func (mr *MockdbMockRecorder) InsertSession(ctx, session any) *gomock.Call
- func (mr *MockdbMockRecorder) InsertSessionOIDC(ctx, session any) *gomock.Call
- func (mr *MockdbMockRecorder) Session(ctx, sessionID any) *gomock.Call
- func (mr *MockdbMockRecorder) SessionOIDC(ctx, sessionID any) *gomock.Call
- func (mr *MockdbMockRecorder) UpdateSessionActivity(ctx, sessionID any) *gomock.Call
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 ¶
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.
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 ¶
DestroySession mocks base method.
func (*MockOIDCAzure) DestroySessionOIDC ¶
func (m *MockOIDCAzure) DestroySessionOIDC(ctx context.Context, oidcSID string) error
DestroySessionOIDC mocks base method.
func (*MockOIDCAzure) EXPECT ¶
func (m *MockOIDCAzure) EXPECT() *MockOIDCAzureMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOIDCAzure) NewSession ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
DestroySession mocks base method.
func (*Mockdb) DestroySessionOIDC ¶
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) SessionOIDC ¶
SessionOIDC 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.