Documentation ¶
Index ¶
- type IdentityStoreFileCreator
- func (_m *IdentityStoreFileCreator) AddGroups(groups ...*identity_store.Group) error
- func (_m *IdentityStoreFileCreator) AddUsers(users ...*identity_store.User) error
- func (_m *IdentityStoreFileCreator) Close()
- func (_m *IdentityStoreFileCreator) EXPECT() *IdentityStoreFileCreator_Expecter
- func (_m *IdentityStoreFileCreator) GetGroupCount() int
- func (_m *IdentityStoreFileCreator) GetUserCount() int
- type IdentityStoreFileCreator_AddGroups_Call
- func (_c *IdentityStoreFileCreator_AddGroups_Call) Return(_a0 error) *IdentityStoreFileCreator_AddGroups_Call
- func (_c *IdentityStoreFileCreator_AddGroups_Call) Run(run func(groups ...*identity_store.Group)) *IdentityStoreFileCreator_AddGroups_Call
- func (_c *IdentityStoreFileCreator_AddGroups_Call) RunAndReturn(run func(...*identity_store.Group) error) *IdentityStoreFileCreator_AddGroups_Call
- type IdentityStoreFileCreator_AddUsers_Call
- func (_c *IdentityStoreFileCreator_AddUsers_Call) Return(_a0 error) *IdentityStoreFileCreator_AddUsers_Call
- func (_c *IdentityStoreFileCreator_AddUsers_Call) Run(run func(users ...*identity_store.User)) *IdentityStoreFileCreator_AddUsers_Call
- func (_c *IdentityStoreFileCreator_AddUsers_Call) RunAndReturn(run func(...*identity_store.User) error) *IdentityStoreFileCreator_AddUsers_Call
- type IdentityStoreFileCreator_Close_Call
- func (_c *IdentityStoreFileCreator_Close_Call) Return() *IdentityStoreFileCreator_Close_Call
- func (_c *IdentityStoreFileCreator_Close_Call) Run(run func()) *IdentityStoreFileCreator_Close_Call
- func (_c *IdentityStoreFileCreator_Close_Call) RunAndReturn(run func()) *IdentityStoreFileCreator_Close_Call
- type IdentityStoreFileCreator_Expecter
- func (_e *IdentityStoreFileCreator_Expecter) AddGroups(groups ...interface{}) *IdentityStoreFileCreator_AddGroups_Call
- func (_e *IdentityStoreFileCreator_Expecter) AddUsers(users ...interface{}) *IdentityStoreFileCreator_AddUsers_Call
- func (_e *IdentityStoreFileCreator_Expecter) Close() *IdentityStoreFileCreator_Close_Call
- func (_e *IdentityStoreFileCreator_Expecter) GetGroupCount() *IdentityStoreFileCreator_GetGroupCount_Call
- func (_e *IdentityStoreFileCreator_Expecter) GetUserCount() *IdentityStoreFileCreator_GetUserCount_Call
- type IdentityStoreFileCreator_GetGroupCount_Call
- func (_c *IdentityStoreFileCreator_GetGroupCount_Call) Return(_a0 int) *IdentityStoreFileCreator_GetGroupCount_Call
- func (_c *IdentityStoreFileCreator_GetGroupCount_Call) Run(run func()) *IdentityStoreFileCreator_GetGroupCount_Call
- func (_c *IdentityStoreFileCreator_GetGroupCount_Call) RunAndReturn(run func() int) *IdentityStoreFileCreator_GetGroupCount_Call
- type IdentityStoreFileCreator_GetUserCount_Call
- func (_c *IdentityStoreFileCreator_GetUserCount_Call) Return(_a0 int) *IdentityStoreFileCreator_GetUserCount_Call
- func (_c *IdentityStoreFileCreator_GetUserCount_Call) Run(run func()) *IdentityStoreFileCreator_GetUserCount_Call
- func (_c *IdentityStoreFileCreator_GetUserCount_Call) RunAndReturn(run func() int) *IdentityStoreFileCreator_GetUserCount_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityStoreFileCreator ¶
IdentityStoreFileCreator is an autogenerated mock type for the IdentityStoreFileCreator type
func NewIdentityStoreFileCreator ¶
func NewIdentityStoreFileCreator(t interface { mock.TestingT Cleanup(func()) }) *IdentityStoreFileCreator
NewIdentityStoreFileCreator creates a new instance of IdentityStoreFileCreator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityStoreFileCreator) AddGroups ¶
func (_m *IdentityStoreFileCreator) AddGroups(groups ...*identity_store.Group) error
AddGroups provides a mock function with given fields: groups
func (*IdentityStoreFileCreator) AddUsers ¶
func (_m *IdentityStoreFileCreator) AddUsers(users ...*identity_store.User) error
AddUsers provides a mock function with given fields: users
func (*IdentityStoreFileCreator) Close ¶
func (_m *IdentityStoreFileCreator) Close()
Close provides a mock function with given fields:
func (*IdentityStoreFileCreator) EXPECT ¶
func (_m *IdentityStoreFileCreator) EXPECT() *IdentityStoreFileCreator_Expecter
func (*IdentityStoreFileCreator) GetGroupCount ¶
func (_m *IdentityStoreFileCreator) GetGroupCount() int
GetGroupCount provides a mock function with given fields:
func (*IdentityStoreFileCreator) GetUserCount ¶
func (_m *IdentityStoreFileCreator) GetUserCount() int
GetUserCount provides a mock function with given fields:
type IdentityStoreFileCreator_AddGroups_Call ¶
IdentityStoreFileCreator_AddGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddGroups'
func (*IdentityStoreFileCreator_AddGroups_Call) Return ¶
func (_c *IdentityStoreFileCreator_AddGroups_Call) Return(_a0 error) *IdentityStoreFileCreator_AddGroups_Call
func (*IdentityStoreFileCreator_AddGroups_Call) Run ¶
func (_c *IdentityStoreFileCreator_AddGroups_Call) Run(run func(groups ...*identity_store.Group)) *IdentityStoreFileCreator_AddGroups_Call
func (*IdentityStoreFileCreator_AddGroups_Call) RunAndReturn ¶ added in v0.32.0
func (_c *IdentityStoreFileCreator_AddGroups_Call) RunAndReturn(run func(...*identity_store.Group) error) *IdentityStoreFileCreator_AddGroups_Call
type IdentityStoreFileCreator_AddUsers_Call ¶
IdentityStoreFileCreator_AddUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUsers'
func (*IdentityStoreFileCreator_AddUsers_Call) Return ¶
func (_c *IdentityStoreFileCreator_AddUsers_Call) Return(_a0 error) *IdentityStoreFileCreator_AddUsers_Call
func (*IdentityStoreFileCreator_AddUsers_Call) Run ¶
func (_c *IdentityStoreFileCreator_AddUsers_Call) Run(run func(users ...*identity_store.User)) *IdentityStoreFileCreator_AddUsers_Call
func (*IdentityStoreFileCreator_AddUsers_Call) RunAndReturn ¶ added in v0.32.0
func (_c *IdentityStoreFileCreator_AddUsers_Call) RunAndReturn(run func(...*identity_store.User) error) *IdentityStoreFileCreator_AddUsers_Call
type IdentityStoreFileCreator_Close_Call ¶
IdentityStoreFileCreator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*IdentityStoreFileCreator_Close_Call) Return ¶
func (_c *IdentityStoreFileCreator_Close_Call) Return() *IdentityStoreFileCreator_Close_Call
func (*IdentityStoreFileCreator_Close_Call) Run ¶
func (_c *IdentityStoreFileCreator_Close_Call) Run(run func()) *IdentityStoreFileCreator_Close_Call
func (*IdentityStoreFileCreator_Close_Call) RunAndReturn ¶ added in v0.32.0
func (_c *IdentityStoreFileCreator_Close_Call) RunAndReturn(run func()) *IdentityStoreFileCreator_Close_Call
type IdentityStoreFileCreator_Expecter ¶
type IdentityStoreFileCreator_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityStoreFileCreator_Expecter) AddGroups ¶
func (_e *IdentityStoreFileCreator_Expecter) AddGroups(groups ...interface{}) *IdentityStoreFileCreator_AddGroups_Call
AddGroups is a helper method to define mock.On call
- groups ...*identity_store.Group
func (*IdentityStoreFileCreator_Expecter) AddUsers ¶
func (_e *IdentityStoreFileCreator_Expecter) AddUsers(users ...interface{}) *IdentityStoreFileCreator_AddUsers_Call
AddUsers is a helper method to define mock.On call
- users ...*identity_store.User
func (*IdentityStoreFileCreator_Expecter) Close ¶
func (_e *IdentityStoreFileCreator_Expecter) Close() *IdentityStoreFileCreator_Close_Call
Close is a helper method to define mock.On call
func (*IdentityStoreFileCreator_Expecter) GetGroupCount ¶
func (_e *IdentityStoreFileCreator_Expecter) GetGroupCount() *IdentityStoreFileCreator_GetGroupCount_Call
GetGroupCount is a helper method to define mock.On call
func (*IdentityStoreFileCreator_Expecter) GetUserCount ¶
func (_e *IdentityStoreFileCreator_Expecter) GetUserCount() *IdentityStoreFileCreator_GetUserCount_Call
GetUserCount is a helper method to define mock.On call
type IdentityStoreFileCreator_GetGroupCount_Call ¶
IdentityStoreFileCreator_GetGroupCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetGroupCount'
func (*IdentityStoreFileCreator_GetGroupCount_Call) Return ¶
func (_c *IdentityStoreFileCreator_GetGroupCount_Call) Return(_a0 int) *IdentityStoreFileCreator_GetGroupCount_Call
func (*IdentityStoreFileCreator_GetGroupCount_Call) Run ¶
func (_c *IdentityStoreFileCreator_GetGroupCount_Call) Run(run func()) *IdentityStoreFileCreator_GetGroupCount_Call
func (*IdentityStoreFileCreator_GetGroupCount_Call) RunAndReturn ¶ added in v0.32.0
func (_c *IdentityStoreFileCreator_GetGroupCount_Call) RunAndReturn(run func() int) *IdentityStoreFileCreator_GetGroupCount_Call
type IdentityStoreFileCreator_GetUserCount_Call ¶
IdentityStoreFileCreator_GetUserCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUserCount'
func (*IdentityStoreFileCreator_GetUserCount_Call) Return ¶
func (_c *IdentityStoreFileCreator_GetUserCount_Call) Return(_a0 int) *IdentityStoreFileCreator_GetUserCount_Call
func (*IdentityStoreFileCreator_GetUserCount_Call) Run ¶
func (_c *IdentityStoreFileCreator_GetUserCount_Call) Run(run func()) *IdentityStoreFileCreator_GetUserCount_Call
func (*IdentityStoreFileCreator_GetUserCount_Call) RunAndReturn ¶ added in v0.32.0
func (_c *IdentityStoreFileCreator_GetUserCount_Call) RunAndReturn(run func() int) *IdentityStoreFileCreator_GetUserCount_Call