Documentation ¶
Overview ¶
Package mock_controllers is a generated GoMock package.
Index ¶
- type MockOrgDatastore
- func (m *MockOrgDatastore) ApproveAllOrgUsers(arg0 uuid.UUID) error
- func (m *MockOrgDatastore) CreateInviteSigningKey(arg0 uuid.UUID) (string, error)
- func (m *MockOrgDatastore) CreateOrg(arg0 *datastore.OrgInfo) (uuid.UUID, error)
- func (m *MockOrgDatastore) DeleteOrgAndUsers(arg0 uuid.UUID) error
- func (m *MockOrgDatastore) EXPECT() *MockOrgDatastoreMockRecorder
- func (m *MockOrgDatastore) GetInviteSigningKey(arg0 uuid.UUID) (string, error)
- func (m *MockOrgDatastore) GetOrg(arg0 uuid.UUID) (*datastore.OrgInfo, error)
- func (m *MockOrgDatastore) GetOrgByDomain(arg0 string) (*datastore.OrgInfo, error)
- func (m *MockOrgDatastore) GetOrgByName(arg0 string) (*datastore.OrgInfo, error)
- func (m *MockOrgDatastore) GetOrgs() ([]*datastore.OrgInfo, error)
- func (m *MockOrgDatastore) GetUsersInOrg(arg0 uuid.UUID) ([]*datastore.UserInfo, error)
- func (m *MockOrgDatastore) NumUsersInOrg(arg0 uuid.UUID) (int, error)
- func (m *MockOrgDatastore) UpdateOrg(arg0 *datastore.OrgInfo) error
- type MockOrgDatastoreMockRecorder
- func (mr *MockOrgDatastoreMockRecorder) ApproveAllOrgUsers(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) CreateInviteSigningKey(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) CreateOrg(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) DeleteOrgAndUsers(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) GetInviteSigningKey(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) GetOrg(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) GetOrgByDomain(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) GetOrgByName(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) GetOrgs() *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) GetUsersInOrg(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) NumUsersInOrg(arg0 interface{}) *gomock.Call
- func (mr *MockOrgDatastoreMockRecorder) UpdateOrg(arg0 interface{}) *gomock.Call
- type MockOrgSettingsDatastore
- func (m *MockOrgSettingsDatastore) AddIDEConfig(arg0 uuid.UUID, arg1 *datastore.IDEConfig) error
- func (m *MockOrgSettingsDatastore) DeleteIDEConfig(arg0 uuid.UUID, arg1 string) error
- func (m *MockOrgSettingsDatastore) EXPECT() *MockOrgSettingsDatastoreMockRecorder
- func (m *MockOrgSettingsDatastore) GetIDEConfig(arg0 uuid.UUID, arg1 string) (*datastore.IDEConfig, error)
- func (m *MockOrgSettingsDatastore) GetIDEConfigs(arg0 uuid.UUID) ([]*datastore.IDEConfig, error)
- type MockOrgSettingsDatastoreMockRecorder
- func (mr *MockOrgSettingsDatastoreMockRecorder) AddIDEConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgSettingsDatastoreMockRecorder) DeleteIDEConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgSettingsDatastoreMockRecorder) GetIDEConfig(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrgSettingsDatastoreMockRecorder) GetIDEConfigs(arg0 interface{}) *gomock.Call
- type MockUserDatastore
- func (m *MockUserDatastore) CreateUser(arg0 *datastore.UserInfo) (uuid.UUID, error)
- func (m *MockUserDatastore) CreateUserAndOrg(arg0 *datastore.OrgInfo, arg1 *datastore.UserInfo) (uuid.UUID, uuid.UUID, error)
- func (m *MockUserDatastore) DeleteUser(arg0 uuid.UUID) error
- func (m *MockUserDatastore) EXPECT() *MockUserDatastoreMockRecorder
- func (m *MockUserDatastore) GetUser(arg0 uuid.UUID) (*datastore.UserInfo, error)
- func (m *MockUserDatastore) GetUserByAuthProviderID(arg0 string) (*datastore.UserInfo, error)
- func (m *MockUserDatastore) GetUserByEmail(arg0 string) (*datastore.UserInfo, error)
- func (m *MockUserDatastore) UpdateUser(arg0 *datastore.UserInfo) error
- type MockUserDatastoreMockRecorder
- func (mr *MockUserDatastoreMockRecorder) CreateUser(arg0 interface{}) *gomock.Call
- func (mr *MockUserDatastoreMockRecorder) CreateUserAndOrg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserDatastoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
- func (mr *MockUserDatastoreMockRecorder) GetUser(arg0 interface{}) *gomock.Call
- func (mr *MockUserDatastoreMockRecorder) GetUserByAuthProviderID(arg0 interface{}) *gomock.Call
- func (mr *MockUserDatastoreMockRecorder) GetUserByEmail(arg0 interface{}) *gomock.Call
- func (mr *MockUserDatastoreMockRecorder) UpdateUser(arg0 interface{}) *gomock.Call
- type MockUserSettingsDatastore
- func (m *MockUserSettingsDatastore) EXPECT() *MockUserSettingsDatastoreMockRecorder
- func (m *MockUserSettingsDatastore) GetUserAttributes(arg0 uuid.UUID) (*datastore.UserAttributes, error)
- func (m *MockUserSettingsDatastore) GetUserSettings(arg0 uuid.UUID) (*datastore.UserSettings, error)
- func (m *MockUserSettingsDatastore) SetUserAttributes(arg0 *datastore.UserAttributes) error
- func (m *MockUserSettingsDatastore) UpdateUserSettings(arg0 *datastore.UserSettings) error
- type MockUserSettingsDatastoreMockRecorder
- func (mr *MockUserSettingsDatastoreMockRecorder) GetUserAttributes(arg0 interface{}) *gomock.Call
- func (mr *MockUserSettingsDatastoreMockRecorder) GetUserSettings(arg0 interface{}) *gomock.Call
- func (mr *MockUserSettingsDatastoreMockRecorder) SetUserAttributes(arg0 interface{}) *gomock.Call
- func (mr *MockUserSettingsDatastoreMockRecorder) UpdateUserSettings(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOrgDatastore ¶
type MockOrgDatastore struct {
// contains filtered or unexported fields
}
MockOrgDatastore is a mock of OrgDatastore interface.
func NewMockOrgDatastore ¶
func NewMockOrgDatastore(ctrl *gomock.Controller) *MockOrgDatastore
NewMockOrgDatastore creates a new mock instance.
func (*MockOrgDatastore) ApproveAllOrgUsers ¶
func (m *MockOrgDatastore) ApproveAllOrgUsers(arg0 uuid.UUID) error
ApproveAllOrgUsers mocks base method.
func (*MockOrgDatastore) CreateInviteSigningKey ¶
func (m *MockOrgDatastore) CreateInviteSigningKey(arg0 uuid.UUID) (string, error)
CreateInviteSigningKey mocks base method.
func (*MockOrgDatastore) DeleteOrgAndUsers ¶
func (m *MockOrgDatastore) DeleteOrgAndUsers(arg0 uuid.UUID) error
DeleteOrgAndUsers mocks base method.
func (*MockOrgDatastore) EXPECT ¶
func (m *MockOrgDatastore) EXPECT() *MockOrgDatastoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrgDatastore) GetInviteSigningKey ¶
func (m *MockOrgDatastore) GetInviteSigningKey(arg0 uuid.UUID) (string, error)
GetInviteSigningKey mocks base method.
func (*MockOrgDatastore) GetOrgByDomain ¶
func (m *MockOrgDatastore) GetOrgByDomain(arg0 string) (*datastore.OrgInfo, error)
GetOrgByDomain mocks base method.
func (*MockOrgDatastore) GetOrgByName ¶
func (m *MockOrgDatastore) GetOrgByName(arg0 string) (*datastore.OrgInfo, error)
GetOrgByName mocks base method.
func (*MockOrgDatastore) GetOrgs ¶
func (m *MockOrgDatastore) GetOrgs() ([]*datastore.OrgInfo, error)
GetOrgs mocks base method.
func (*MockOrgDatastore) GetUsersInOrg ¶
GetUsersInOrg mocks base method.
func (*MockOrgDatastore) NumUsersInOrg ¶
func (m *MockOrgDatastore) NumUsersInOrg(arg0 uuid.UUID) (int, error)
NumUsersInOrg mocks base method.
type MockOrgDatastoreMockRecorder ¶
type MockOrgDatastoreMockRecorder struct {
// contains filtered or unexported fields
}
MockOrgDatastoreMockRecorder is the mock recorder for MockOrgDatastore.
func (*MockOrgDatastoreMockRecorder) ApproveAllOrgUsers ¶
func (mr *MockOrgDatastoreMockRecorder) ApproveAllOrgUsers(arg0 interface{}) *gomock.Call
ApproveAllOrgUsers indicates an expected call of ApproveAllOrgUsers.
func (*MockOrgDatastoreMockRecorder) CreateInviteSigningKey ¶
func (mr *MockOrgDatastoreMockRecorder) CreateInviteSigningKey(arg0 interface{}) *gomock.Call
CreateInviteSigningKey indicates an expected call of CreateInviteSigningKey.
func (*MockOrgDatastoreMockRecorder) CreateOrg ¶
func (mr *MockOrgDatastoreMockRecorder) CreateOrg(arg0 interface{}) *gomock.Call
CreateOrg indicates an expected call of CreateOrg.
func (*MockOrgDatastoreMockRecorder) DeleteOrgAndUsers ¶
func (mr *MockOrgDatastoreMockRecorder) DeleteOrgAndUsers(arg0 interface{}) *gomock.Call
DeleteOrgAndUsers indicates an expected call of DeleteOrgAndUsers.
func (*MockOrgDatastoreMockRecorder) GetInviteSigningKey ¶
func (mr *MockOrgDatastoreMockRecorder) GetInviteSigningKey(arg0 interface{}) *gomock.Call
GetInviteSigningKey indicates an expected call of GetInviteSigningKey.
func (*MockOrgDatastoreMockRecorder) GetOrg ¶
func (mr *MockOrgDatastoreMockRecorder) GetOrg(arg0 interface{}) *gomock.Call
GetOrg indicates an expected call of GetOrg.
func (*MockOrgDatastoreMockRecorder) GetOrgByDomain ¶
func (mr *MockOrgDatastoreMockRecorder) GetOrgByDomain(arg0 interface{}) *gomock.Call
GetOrgByDomain indicates an expected call of GetOrgByDomain.
func (*MockOrgDatastoreMockRecorder) GetOrgByName ¶
func (mr *MockOrgDatastoreMockRecorder) GetOrgByName(arg0 interface{}) *gomock.Call
GetOrgByName indicates an expected call of GetOrgByName.
func (*MockOrgDatastoreMockRecorder) GetOrgs ¶
func (mr *MockOrgDatastoreMockRecorder) GetOrgs() *gomock.Call
GetOrgs indicates an expected call of GetOrgs.
func (*MockOrgDatastoreMockRecorder) GetUsersInOrg ¶
func (mr *MockOrgDatastoreMockRecorder) GetUsersInOrg(arg0 interface{}) *gomock.Call
GetUsersInOrg indicates an expected call of GetUsersInOrg.
func (*MockOrgDatastoreMockRecorder) NumUsersInOrg ¶
func (mr *MockOrgDatastoreMockRecorder) NumUsersInOrg(arg0 interface{}) *gomock.Call
NumUsersInOrg indicates an expected call of NumUsersInOrg.
func (*MockOrgDatastoreMockRecorder) UpdateOrg ¶
func (mr *MockOrgDatastoreMockRecorder) UpdateOrg(arg0 interface{}) *gomock.Call
UpdateOrg indicates an expected call of UpdateOrg.
type MockOrgSettingsDatastore ¶
type MockOrgSettingsDatastore struct {
// contains filtered or unexported fields
}
MockOrgSettingsDatastore is a mock of OrgSettingsDatastore interface.
func NewMockOrgSettingsDatastore ¶
func NewMockOrgSettingsDatastore(ctrl *gomock.Controller) *MockOrgSettingsDatastore
NewMockOrgSettingsDatastore creates a new mock instance.
func (*MockOrgSettingsDatastore) AddIDEConfig ¶
AddIDEConfig mocks base method.
func (*MockOrgSettingsDatastore) DeleteIDEConfig ¶
func (m *MockOrgSettingsDatastore) DeleteIDEConfig(arg0 uuid.UUID, arg1 string) error
DeleteIDEConfig mocks base method.
func (*MockOrgSettingsDatastore) EXPECT ¶
func (m *MockOrgSettingsDatastore) EXPECT() *MockOrgSettingsDatastoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrgSettingsDatastore) GetIDEConfig ¶
func (m *MockOrgSettingsDatastore) GetIDEConfig(arg0 uuid.UUID, arg1 string) (*datastore.IDEConfig, error)
GetIDEConfig mocks base method.
func (*MockOrgSettingsDatastore) GetIDEConfigs ¶
GetIDEConfigs mocks base method.
type MockOrgSettingsDatastoreMockRecorder ¶
type MockOrgSettingsDatastoreMockRecorder struct {
// contains filtered or unexported fields
}
MockOrgSettingsDatastoreMockRecorder is the mock recorder for MockOrgSettingsDatastore.
func (*MockOrgSettingsDatastoreMockRecorder) AddIDEConfig ¶
func (mr *MockOrgSettingsDatastoreMockRecorder) AddIDEConfig(arg0, arg1 interface{}) *gomock.Call
AddIDEConfig indicates an expected call of AddIDEConfig.
func (*MockOrgSettingsDatastoreMockRecorder) DeleteIDEConfig ¶
func (mr *MockOrgSettingsDatastoreMockRecorder) DeleteIDEConfig(arg0, arg1 interface{}) *gomock.Call
DeleteIDEConfig indicates an expected call of DeleteIDEConfig.
func (*MockOrgSettingsDatastoreMockRecorder) GetIDEConfig ¶
func (mr *MockOrgSettingsDatastoreMockRecorder) GetIDEConfig(arg0, arg1 interface{}) *gomock.Call
GetIDEConfig indicates an expected call of GetIDEConfig.
func (*MockOrgSettingsDatastoreMockRecorder) GetIDEConfigs ¶
func (mr *MockOrgSettingsDatastoreMockRecorder) GetIDEConfigs(arg0 interface{}) *gomock.Call
GetIDEConfigs indicates an expected call of GetIDEConfigs.
type MockUserDatastore ¶
type MockUserDatastore struct {
// contains filtered or unexported fields
}
MockUserDatastore is a mock of UserDatastore interface.
func NewMockUserDatastore ¶
func NewMockUserDatastore(ctrl *gomock.Controller) *MockUserDatastore
NewMockUserDatastore creates a new mock instance.
func (*MockUserDatastore) CreateUser ¶
CreateUser mocks base method.
func (*MockUserDatastore) CreateUserAndOrg ¶
func (m *MockUserDatastore) CreateUserAndOrg(arg0 *datastore.OrgInfo, arg1 *datastore.UserInfo) (uuid.UUID, uuid.UUID, error)
CreateUserAndOrg mocks base method.
func (*MockUserDatastore) DeleteUser ¶
func (m *MockUserDatastore) DeleteUser(arg0 uuid.UUID) error
DeleteUser mocks base method.
func (*MockUserDatastore) EXPECT ¶
func (m *MockUserDatastore) EXPECT() *MockUserDatastoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserDatastore) GetUserByAuthProviderID ¶
func (m *MockUserDatastore) GetUserByAuthProviderID(arg0 string) (*datastore.UserInfo, error)
GetUserByAuthProviderID mocks base method.
func (*MockUserDatastore) GetUserByEmail ¶
func (m *MockUserDatastore) GetUserByEmail(arg0 string) (*datastore.UserInfo, error)
GetUserByEmail mocks base method.
func (*MockUserDatastore) UpdateUser ¶
func (m *MockUserDatastore) UpdateUser(arg0 *datastore.UserInfo) error
UpdateUser mocks base method.
type MockUserDatastoreMockRecorder ¶
type MockUserDatastoreMockRecorder struct {
// contains filtered or unexported fields
}
MockUserDatastoreMockRecorder is the mock recorder for MockUserDatastore.
func (*MockUserDatastoreMockRecorder) CreateUser ¶
func (mr *MockUserDatastoreMockRecorder) CreateUser(arg0 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserDatastoreMockRecorder) CreateUserAndOrg ¶
func (mr *MockUserDatastoreMockRecorder) CreateUserAndOrg(arg0, arg1 interface{}) *gomock.Call
CreateUserAndOrg indicates an expected call of CreateUserAndOrg.
func (*MockUserDatastoreMockRecorder) DeleteUser ¶
func (mr *MockUserDatastoreMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockUserDatastoreMockRecorder) GetUser ¶
func (mr *MockUserDatastoreMockRecorder) GetUser(arg0 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockUserDatastoreMockRecorder) GetUserByAuthProviderID ¶
func (mr *MockUserDatastoreMockRecorder) GetUserByAuthProviderID(arg0 interface{}) *gomock.Call
GetUserByAuthProviderID indicates an expected call of GetUserByAuthProviderID.
func (*MockUserDatastoreMockRecorder) GetUserByEmail ¶
func (mr *MockUserDatastoreMockRecorder) GetUserByEmail(arg0 interface{}) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockUserDatastoreMockRecorder) UpdateUser ¶
func (mr *MockUserDatastoreMockRecorder) UpdateUser(arg0 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.
type MockUserSettingsDatastore ¶
type MockUserSettingsDatastore struct {
// contains filtered or unexported fields
}
MockUserSettingsDatastore is a mock of UserSettingsDatastore interface.
func NewMockUserSettingsDatastore ¶
func NewMockUserSettingsDatastore(ctrl *gomock.Controller) *MockUserSettingsDatastore
NewMockUserSettingsDatastore creates a new mock instance.
func (*MockUserSettingsDatastore) EXPECT ¶
func (m *MockUserSettingsDatastore) EXPECT() *MockUserSettingsDatastoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserSettingsDatastore) GetUserAttributes ¶
func (m *MockUserSettingsDatastore) GetUserAttributes(arg0 uuid.UUID) (*datastore.UserAttributes, error)
GetUserAttributes mocks base method.
func (*MockUserSettingsDatastore) GetUserSettings ¶
func (m *MockUserSettingsDatastore) GetUserSettings(arg0 uuid.UUID) (*datastore.UserSettings, error)
GetUserSettings mocks base method.
func (*MockUserSettingsDatastore) SetUserAttributes ¶
func (m *MockUserSettingsDatastore) SetUserAttributes(arg0 *datastore.UserAttributes) error
SetUserAttributes mocks base method.
func (*MockUserSettingsDatastore) UpdateUserSettings ¶
func (m *MockUserSettingsDatastore) UpdateUserSettings(arg0 *datastore.UserSettings) error
UpdateUserSettings mocks base method.
type MockUserSettingsDatastoreMockRecorder ¶
type MockUserSettingsDatastoreMockRecorder struct {
// contains filtered or unexported fields
}
MockUserSettingsDatastoreMockRecorder is the mock recorder for MockUserSettingsDatastore.
func (*MockUserSettingsDatastoreMockRecorder) GetUserAttributes ¶
func (mr *MockUserSettingsDatastoreMockRecorder) GetUserAttributes(arg0 interface{}) *gomock.Call
GetUserAttributes indicates an expected call of GetUserAttributes.
func (*MockUserSettingsDatastoreMockRecorder) GetUserSettings ¶
func (mr *MockUserSettingsDatastoreMockRecorder) GetUserSettings(arg0 interface{}) *gomock.Call
GetUserSettings indicates an expected call of GetUserSettings.
func (*MockUserSettingsDatastoreMockRecorder) SetUserAttributes ¶
func (mr *MockUserSettingsDatastoreMockRecorder) SetUserAttributes(arg0 interface{}) *gomock.Call
SetUserAttributes indicates an expected call of SetUserAttributes.
func (*MockUserSettingsDatastoreMockRecorder) UpdateUserSettings ¶
func (mr *MockUserSettingsDatastoreMockRecorder) UpdateUserSettings(arg0 interface{}) *gomock.Call
UpdateUserSettings indicates an expected call of UpdateUserSettings.