Documentation ¶
Overview ¶
Package mock_permissions is a generated GoMock package.
Package mock_permissions is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAllowedSpaceIDs ¶
type MockAllowedSpaceIDs struct {
// contains filtered or unexported fields
}
MockAllowedSpaceIDs is a mock of AllowedSpaceIDs interface.
func NewMockAllowedSpaceIDs ¶
func NewMockAllowedSpaceIDs(ctrl *gomock.Controller) *MockAllowedSpaceIDs
NewMockAllowedSpaceIDs creates a new mock instance.
func (*MockAllowedSpaceIDs) Contains ¶
func (m *MockAllowedSpaceIDs) Contains(column string) qm.QueryMod
Contains mocks base method.
func (*MockAllowedSpaceIDs) EXPECT ¶
func (m *MockAllowedSpaceIDs) EXPECT() *MockAllowedSpaceIDsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAllowedSpaceIDs) With ¶
func (m *MockAllowedSpaceIDs) With() []qm.QueryMod
With mocks base method.
type MockAllowedSpaceIDsMockRecorder ¶
type MockAllowedSpaceIDsMockRecorder struct {
// contains filtered or unexported fields
}
MockAllowedSpaceIDsMockRecorder is the mock recorder for MockAllowedSpaceIDs.
func (*MockAllowedSpaceIDsMockRecorder) Contains ¶
func (mr *MockAllowedSpaceIDsMockRecorder) Contains(column interface{}) *gomock.Call
Contains indicates an expected call of Contains.
func (*MockAllowedSpaceIDsMockRecorder) With ¶
func (mr *MockAllowedSpaceIDsMockRecorder) With() *gomock.Call
With indicates an expected call of With.
type MockQuerier ¶
type MockQuerier struct {
// contains filtered or unexported fields
}
MockQuerier is a mock of Querier interface.
func NewMockQuerier ¶
func NewMockQuerier(ctrl *gomock.Controller) *MockQuerier
NewMockQuerier creates a new mock instance.
func (*MockQuerier) AllowedSpaceIDsForUser ¶
func (m *MockQuerier) AllowedSpaceIDsForUser(userGUID string, roles ...permissions.Role) (permissions.AllowedSpaceIDs, error)
AllowedSpaceIDsForUser mocks base method.
func (*MockQuerier) EXPECT ¶
func (m *MockQuerier) EXPECT() *MockQuerierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockQuerierMockRecorder ¶
type MockQuerierMockRecorder struct {
// contains filtered or unexported fields
}
MockQuerierMockRecorder is the mock recorder for MockQuerier.
func (*MockQuerierMockRecorder) AllowedSpaceIDsForUser ¶
func (mr *MockQuerierMockRecorder) AllowedSpaceIDsForUser(userGUID interface{}, roles ...interface{}) *gomock.Call
AllowedSpaceIDsForUser indicates an expected call of AllowedSpaceIDsForUser.