mocks

package
v0.68.4 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentityStoreFileCreator

type IdentityStoreFileCreator struct {
	mock.Mock
}

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 (*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

type IdentityStoreFileCreator_AddGroups_Call struct {
	*mock.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 (*IdentityStoreFileCreator_AddGroups_Call) Run

func (*IdentityStoreFileCreator_AddGroups_Call) RunAndReturn added in v0.32.0

type IdentityStoreFileCreator_AddUsers_Call

type IdentityStoreFileCreator_AddUsers_Call struct {
	*mock.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 (*IdentityStoreFileCreator_AddUsers_Call) Run

func (*IdentityStoreFileCreator_AddUsers_Call) RunAndReturn added in v0.32.0

type IdentityStoreFileCreator_Close_Call

type IdentityStoreFileCreator_Close_Call struct {
	*mock.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 (*IdentityStoreFileCreator_Close_Call) Run

func (*IdentityStoreFileCreator_Close_Call) RunAndReturn added in v0.32.0

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

AddUsers is a helper method to define mock.On call

  • users ...*identity_store.User

func (*IdentityStoreFileCreator_Expecter) Close

Close is a helper method to define mock.On call

func (*IdentityStoreFileCreator_Expecter) GetGroupCount

GetGroupCount is a helper method to define mock.On call

func (*IdentityStoreFileCreator_Expecter) GetUserCount

GetUserCount is a helper method to define mock.On call

type IdentityStoreFileCreator_GetGroupCount_Call

type IdentityStoreFileCreator_GetGroupCount_Call struct {
	*mock.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 (*IdentityStoreFileCreator_GetGroupCount_Call) Run

func (*IdentityStoreFileCreator_GetGroupCount_Call) RunAndReturn added in v0.32.0

type IdentityStoreFileCreator_GetUserCount_Call

type IdentityStoreFileCreator_GetUserCount_Call struct {
	*mock.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 (*IdentityStoreFileCreator_GetUserCount_Call) Run

func (*IdentityStoreFileCreator_GetUserCount_Call) RunAndReturn added in v0.32.0

Jump to

Keyboard shortcuts

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