mocks

package
v0.66.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 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 AccessProviderFileCreator

type AccessProviderFileCreator struct {
	mock.Mock
}

AccessProviderFileCreator is an autogenerated mock type for the AccessProviderFileCreator type

func NewAccessProviderFileCreator

func NewAccessProviderFileCreator(t interface {
	mock.TestingT
	Cleanup(func())
}) *AccessProviderFileCreator

NewAccessProviderFileCreator creates a new instance of AccessProviderFileCreator. 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 (*AccessProviderFileCreator) AddAccessProviders

func (_m *AccessProviderFileCreator) AddAccessProviders(dataAccessList ...*sync_from_target.AccessProvider) error

AddAccessProviders provides a mock function with given fields: dataAccessList

func (*AccessProviderFileCreator) Close

func (_m *AccessProviderFileCreator) Close()

Close provides a mock function with given fields:

func (*AccessProviderFileCreator) EXPECT

func (*AccessProviderFileCreator) GetAccessProviderCount

func (_m *AccessProviderFileCreator) GetAccessProviderCount() int

GetAccessProviderCount provides a mock function with given fields:

type AccessProviderFileCreator_AddAccessProviders_Call

type AccessProviderFileCreator_AddAccessProviders_Call struct {
	*mock.Call
}

AccessProviderFileCreator_AddAccessProviders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAccessProviders'

func (*AccessProviderFileCreator_AddAccessProviders_Call) Return

func (*AccessProviderFileCreator_AddAccessProviders_Call) Run

func (*AccessProviderFileCreator_AddAccessProviders_Call) RunAndReturn added in v0.32.0

type AccessProviderFileCreator_Close_Call

type AccessProviderFileCreator_Close_Call struct {
	*mock.Call
}

AccessProviderFileCreator_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'

func (*AccessProviderFileCreator_Close_Call) Return

func (*AccessProviderFileCreator_Close_Call) Run

func (*AccessProviderFileCreator_Close_Call) RunAndReturn added in v0.32.0

type AccessProviderFileCreator_Expecter

type AccessProviderFileCreator_Expecter struct {
	// contains filtered or unexported fields
}

func (*AccessProviderFileCreator_Expecter) AddAccessProviders

func (_e *AccessProviderFileCreator_Expecter) AddAccessProviders(dataAccessList ...interface{}) *AccessProviderFileCreator_AddAccessProviders_Call

AddAccessProviders is a helper method to define mock.On call

  • dataAccessList ...*sync_from_target.AccessProvider

func (*AccessProviderFileCreator_Expecter) Close

Close is a helper method to define mock.On call

func (*AccessProviderFileCreator_Expecter) GetAccessProviderCount

GetAccessProviderCount is a helper method to define mock.On call

type AccessProviderFileCreator_GetAccessProviderCount_Call

type AccessProviderFileCreator_GetAccessProviderCount_Call struct {
	*mock.Call
}

AccessProviderFileCreator_GetAccessProviderCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAccessProviderCount'

func (*AccessProviderFileCreator_GetAccessProviderCount_Call) Return

func (*AccessProviderFileCreator_GetAccessProviderCount_Call) Run

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