Documentation ¶
Index ¶
- func DataSourceSync(syncer DataSourceSyncer) *dataSourceSyncFunction
- func DataUsageSync(syncer DataUsageSyncer) *dataUsageSyncFunction
- func IdentityStoreSync(syncer IdentityStoreSyncer) *identityStoreSyncFunction
- type AccessProviderFeedbackHandler
- type AccessProviderHandler
- type AccessProviderSyncer
- type DataAccessSyncFunction
- func (s *DataAccessSyncFunction) SyncConfig(_ context.Context) (*access_provider.AccessSyncConfig, error)
- func (s *DataAccessSyncFunction) SyncFromTarget(ctx context.Context, config *access_provider.AccessSyncFromTarget) (_ *access_provider.AccessSyncResult, err error)
- func (s *DataAccessSyncFunction) SyncToTarget(ctx context.Context, config *access_provider.AccessSyncToTarget) (_ *access_provider.AccessSyncResult, err error)
- type DataSourceObjectHandler
- type DataSourceSyncer
- type DataUsageStatementHandler
- type DataUsageSyncer
- type IdentityStoreIdentityHandler
- type IdentityStoreSyncer
- type MockAccessProviderSyncer
- func (_m *MockAccessProviderSyncer) EXPECT() *MockAccessProviderSyncer_Expecter
- func (_m *MockAccessProviderSyncer) SyncAccessAsCodeToTarget(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, ...) error
- func (_m *MockAccessProviderSyncer) SyncAccessProviderToTarget(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, ...) error
- func (_m *MockAccessProviderSyncer) SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler AccessProviderHandler, ...) error
- type MockAccessProviderSyncer_Expecter
- func (_e *MockAccessProviderSyncer_Expecter) SyncAccessAsCodeToTarget(ctx interface{}, accessProviders interface{}, prefix interface{}, ...) *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
- func (_e *MockAccessProviderSyncer_Expecter) SyncAccessProviderToTarget(ctx interface{}, accessProviders interface{}, ...) *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call
- func (_e *MockAccessProviderSyncer_Expecter) SyncAccessProvidersFromTarget(ctx interface{}, accessProviderHandler interface{}, configMap interface{}) *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
- type MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) Return(_a0 error) *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) Run(...) *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) RunAndReturn(...) *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
- type MockAccessProviderSyncer_SyncAccessProviderToTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) Return(_a0 error) *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) Run(...) *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) RunAndReturn(run func(context.Context, *sync_to_target.AccessProviderImport, ...) error) *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call
- type MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) Return(_a0 error) *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) Run(...) *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
- func (_c *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) RunAndReturn(run func(context.Context, AccessProviderHandler, *config.ConfigMap) error) *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
- type MockDataSourceSyncer
- type MockDataSourceSyncer_Expecter
- func (_e *MockDataSourceSyncer_Expecter) GetDataSourceMetaData(ctx interface{}) *MockDataSourceSyncer_GetDataSourceMetaData_Call
- func (_e *MockDataSourceSyncer_Expecter) SyncDataSource(ctx interface{}, dataSourceHandler interface{}, configParams interface{}) *MockDataSourceSyncer_SyncDataSource_Call
- type MockDataSourceSyncer_GetDataSourceMetaData_Call
- func (_c *MockDataSourceSyncer_GetDataSourceMetaData_Call) Return(_a0 *data_source.MetaData, _a1 error) *MockDataSourceSyncer_GetDataSourceMetaData_Call
- func (_c *MockDataSourceSyncer_GetDataSourceMetaData_Call) Run(run func(ctx context.Context)) *MockDataSourceSyncer_GetDataSourceMetaData_Call
- func (_c *MockDataSourceSyncer_GetDataSourceMetaData_Call) RunAndReturn(run func(context.Context) (*data_source.MetaData, error)) *MockDataSourceSyncer_GetDataSourceMetaData_Call
- type MockDataSourceSyncer_SyncDataSource_Call
- func (_c *MockDataSourceSyncer_SyncDataSource_Call) Return(_a0 error) *MockDataSourceSyncer_SyncDataSource_Call
- func (_c *MockDataSourceSyncer_SyncDataSource_Call) Run(run func(ctx context.Context, dataSourceHandler DataSourceObjectHandler, ...)) *MockDataSourceSyncer_SyncDataSource_Call
- func (_c *MockDataSourceSyncer_SyncDataSource_Call) RunAndReturn(run func(context.Context, DataSourceObjectHandler, *config.ConfigMap) error) *MockDataSourceSyncer_SyncDataSource_Call
- type MockDataUsageSyncer
- type MockDataUsageSyncer_Expecter
- type MockDataUsageSyncer_SyncDataUsage_Call
- func (_c *MockDataUsageSyncer_SyncDataUsage_Call) Return(_a0 error) *MockDataUsageSyncer_SyncDataUsage_Call
- func (_c *MockDataUsageSyncer_SyncDataUsage_Call) Run(run func(ctx context.Context, fileCreator DataUsageStatementHandler, ...)) *MockDataUsageSyncer_SyncDataUsage_Call
- func (_c *MockDataUsageSyncer_SyncDataUsage_Call) RunAndReturn(run func(context.Context, DataUsageStatementHandler, *config.ConfigMap) error) *MockDataUsageSyncer_SyncDataUsage_Call
- type MockIdentityStoreSyncer
- func (_m *MockIdentityStoreSyncer) EXPECT() *MockIdentityStoreSyncer_Expecter
- func (_m *MockIdentityStoreSyncer) GetIdentityStoreMetaData(ctx context.Context) (*identity_store.MetaData, error)
- func (_m *MockIdentityStoreSyncer) SyncIdentityStore(ctx context.Context, identityHandler IdentityStoreIdentityHandler, ...) error
- type MockIdentityStoreSyncer_Expecter
- func (_e *MockIdentityStoreSyncer_Expecter) GetIdentityStoreMetaData(ctx interface{}) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
- func (_e *MockIdentityStoreSyncer_Expecter) SyncIdentityStore(ctx interface{}, identityHandler interface{}, configMap interface{}) *MockIdentityStoreSyncer_SyncIdentityStore_Call
- type MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
- func (_c *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) Return(_a0 *identity_store.MetaData, _a1 error) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
- func (_c *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) Run(run func(ctx context.Context)) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
- func (_c *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) RunAndReturn(run func(context.Context) (*identity_store.MetaData, error)) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
- type MockIdentityStoreSyncer_SyncIdentityStore_Call
- func (_c *MockIdentityStoreSyncer_SyncIdentityStore_Call) Return(_a0 error) *MockIdentityStoreSyncer_SyncIdentityStore_Call
- func (_c *MockIdentityStoreSyncer_SyncIdentityStore_Call) Run(...) *MockIdentityStoreSyncer_SyncIdentityStore_Call
- func (_c *MockIdentityStoreSyncer_SyncIdentityStore_Call) RunAndReturn(...) *MockIdentityStoreSyncer_SyncIdentityStore_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataSourceSync ¶ added in v0.23.5
func DataSourceSync(syncer DataSourceSyncer) *dataSourceSyncFunction
func DataUsageSync ¶
func DataUsageSync(syncer DataUsageSyncer) *dataUsageSyncFunction
func IdentityStoreSync ¶ added in v0.23.3
func IdentityStoreSync(syncer IdentityStoreSyncer) *identityStoreSyncFunction
Types ¶
type AccessProviderFeedbackHandler ¶ added in v0.23.6
type AccessProviderFeedbackHandler interface {
AddAccessProviderFeedback(accessProviderId string, accessFeedback ...sync_to_target.AccessSyncFeedbackInformation) error
}
type AccessProviderHandler ¶ added in v0.23.6
type AccessProviderHandler interface {
AddAccessProviders(dataAccessList ...*sync_from_target.AccessProvider) error
}
type AccessProviderSyncer ¶ added in v0.23.6
type AccessProviderSyncer interface { SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler AccessProviderHandler, configMap *config.ConfigMap) error SyncAccessAsCodeToTarget(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, prefix string, configMap *config.ConfigMap) error SyncAccessProviderToTarget(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, accessProviderFeedbackHandler AccessProviderFeedbackHandler, configMap *config.ConfigMap) error }
type DataAccessSyncFunction ¶ added in v0.23.6
type DataAccessSyncFunction struct { access_provider.AccessSyncerVersionHandler Syncer AccessProviderSyncer // contains filtered or unexported fields }
func DataAccessSync ¶ added in v0.23.6
func DataAccessSync(syncer AccessProviderSyncer, configOpt ...func(config *access_provider.AccessSyncConfig)) *DataAccessSyncFunction
func (*DataAccessSyncFunction) SyncConfig ¶ added in v0.30.0
func (s *DataAccessSyncFunction) SyncConfig(_ context.Context) (*access_provider.AccessSyncConfig, error)
func (*DataAccessSyncFunction) SyncFromTarget ¶ added in v0.23.6
func (s *DataAccessSyncFunction) SyncFromTarget(ctx context.Context, config *access_provider.AccessSyncFromTarget) (_ *access_provider.AccessSyncResult, err error)
func (*DataAccessSyncFunction) SyncToTarget ¶ added in v0.23.6
func (s *DataAccessSyncFunction) SyncToTarget(ctx context.Context, config *access_provider.AccessSyncToTarget) (_ *access_provider.AccessSyncResult, err error)
type DataSourceObjectHandler ¶ added in v0.23.5
type DataSourceObjectHandler interface { AddDataObjects(dataObjects ...*data_source.DataObject) error SetDataSourceName(name string) SetDataSourceFullname(name string) SetDataSourceDescription(desc string) }
type DataSourceSyncer ¶ added in v0.23.5
type DataUsageStatementHandler ¶
type DataUsageStatementHandler interface {
AddStatements(statements []data_usage.Statement) error
}
type DataUsageSyncer ¶
type IdentityStoreIdentityHandler ¶ added in v0.23.3
type IdentityStoreIdentityHandler interface { AddGroups(groups ...*identity_store.Group) error AddUsers(user ...*identity_store.User) error }
type IdentityStoreSyncer ¶ added in v0.23.3
type MockAccessProviderSyncer ¶ added in v0.23.6
MockAccessProviderSyncer is an autogenerated mock type for the AccessProviderSyncer type
func NewMockAccessProviderSyncer ¶ added in v0.23.6
func NewMockAccessProviderSyncer(t mockConstructorTestingTNewMockAccessProviderSyncer) *MockAccessProviderSyncer
NewMockAccessProviderSyncer creates a new instance of MockAccessProviderSyncer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockAccessProviderSyncer) EXPECT ¶ added in v0.23.6
func (_m *MockAccessProviderSyncer) EXPECT() *MockAccessProviderSyncer_Expecter
func (*MockAccessProviderSyncer) SyncAccessAsCodeToTarget ¶ added in v0.23.6
func (_m *MockAccessProviderSyncer) SyncAccessAsCodeToTarget(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, prefix string, configMap *config.ConfigMap) error
SyncAccessAsCodeToTarget provides a mock function with given fields: ctx, accessProviders, prefix, configMap
func (*MockAccessProviderSyncer) SyncAccessProviderToTarget ¶ added in v0.23.6
func (_m *MockAccessProviderSyncer) SyncAccessProviderToTarget(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, accessProviderFeedbackHandler AccessProviderFeedbackHandler, configMap *config.ConfigMap) error
SyncAccessProviderToTarget provides a mock function with given fields: ctx, accessProviders, accessProviderFeedbackHandler, configMap
func (*MockAccessProviderSyncer) SyncAccessProvidersFromTarget ¶ added in v0.23.6
func (_m *MockAccessProviderSyncer) SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler AccessProviderHandler, configMap *config.ConfigMap) error
SyncAccessProvidersFromTarget provides a mock function with given fields: ctx, accessProviderHandler, configMap
type MockAccessProviderSyncer_Expecter ¶ added in v0.23.6
type MockAccessProviderSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAccessProviderSyncer_Expecter) SyncAccessAsCodeToTarget ¶ added in v0.23.6
func (_e *MockAccessProviderSyncer_Expecter) SyncAccessAsCodeToTarget(ctx interface{}, accessProviders interface{}, prefix interface{}, configMap interface{}) *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
SyncAccessAsCodeToTarget is a helper method to define mock.On call
- ctx context.Context
- accessProviders *sync_to_target.AccessProviderImport
- prefix string
- configMap *config.ConfigMap
func (*MockAccessProviderSyncer_Expecter) SyncAccessProviderToTarget ¶ added in v0.23.6
func (_e *MockAccessProviderSyncer_Expecter) SyncAccessProviderToTarget(ctx interface{}, accessProviders interface{}, accessProviderFeedbackHandler interface{}, configMap interface{}) *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call
SyncAccessProviderToTarget is a helper method to define mock.On call
- ctx context.Context
- accessProviders *sync_to_target.AccessProviderImport
- accessProviderFeedbackHandler AccessProviderFeedbackHandler
- configMap *config.ConfigMap
func (*MockAccessProviderSyncer_Expecter) SyncAccessProvidersFromTarget ¶ added in v0.23.6
func (_e *MockAccessProviderSyncer_Expecter) SyncAccessProvidersFromTarget(ctx interface{}, accessProviderHandler interface{}, configMap interface{}) *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
SyncAccessProvidersFromTarget is a helper method to define mock.On call
- ctx context.Context
- accessProviderHandler AccessProviderHandler
- configMap *config.ConfigMap
type MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call ¶ added in v0.23.6
MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncAccessAsCodeToTarget'
func (*MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) Run ¶ added in v0.23.6
func (_c *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) Run(run func(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, prefix string, configMap *config.ConfigMap)) *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
func (*MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) RunAndReturn(run func(context.Context, *sync_to_target.AccessProviderImport, string, *config.ConfigMap) error) *MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call
type MockAccessProviderSyncer_SyncAccessProviderToTarget_Call ¶ added in v0.23.6
MockAccessProviderSyncer_SyncAccessProviderToTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncAccessProviderToTarget'
func (*MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) Run ¶ added in v0.23.6
func (_c *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) Run(run func(ctx context.Context, accessProviders *sync_to_target.AccessProviderImport, accessProviderFeedbackHandler AccessProviderFeedbackHandler, configMap *config.ConfigMap)) *MockAccessProviderSyncer_SyncAccessProviderToTarget_Call
func (*MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) RunAndReturn ¶ added in v0.32.0
type MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call ¶ added in v0.23.6
MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncAccessProvidersFromTarget'
func (*MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) Run ¶ added in v0.23.6
func (_c *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) Run(run func(ctx context.Context, accessProviderHandler AccessProviderHandler, configMap *config.ConfigMap)) *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
func (*MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) RunAndReturn(run func(context.Context, AccessProviderHandler, *config.ConfigMap) error) *MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call
type MockDataSourceSyncer ¶ added in v0.23.5
MockDataSourceSyncer is an autogenerated mock type for the DataSourceSyncer type
func NewMockDataSourceSyncer ¶ added in v0.23.5
func NewMockDataSourceSyncer(t mockConstructorTestingTNewMockDataSourceSyncer) *MockDataSourceSyncer
NewMockDataSourceSyncer creates a new instance of MockDataSourceSyncer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockDataSourceSyncer) EXPECT ¶ added in v0.23.5
func (_m *MockDataSourceSyncer) EXPECT() *MockDataSourceSyncer_Expecter
func (*MockDataSourceSyncer) GetDataSourceMetaData ¶ added in v0.24.0
func (_m *MockDataSourceSyncer) GetDataSourceMetaData(ctx context.Context) (*data_source.MetaData, error)
GetDataSourceMetaData provides a mock function with given fields: ctx
func (*MockDataSourceSyncer) SyncDataSource ¶ added in v0.23.5
func (_m *MockDataSourceSyncer) SyncDataSource(ctx context.Context, dataSourceHandler DataSourceObjectHandler, configParams *config.ConfigMap) error
SyncDataSource provides a mock function with given fields: ctx, dataSourceHandler, configParams
type MockDataSourceSyncer_Expecter ¶ added in v0.23.5
type MockDataSourceSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDataSourceSyncer_Expecter) GetDataSourceMetaData ¶ added in v0.24.0
func (_e *MockDataSourceSyncer_Expecter) GetDataSourceMetaData(ctx interface{}) *MockDataSourceSyncer_GetDataSourceMetaData_Call
GetDataSourceMetaData is a helper method to define mock.On call
- ctx context.Context
func (*MockDataSourceSyncer_Expecter) SyncDataSource ¶ added in v0.23.5
func (_e *MockDataSourceSyncer_Expecter) SyncDataSource(ctx interface{}, dataSourceHandler interface{}, configParams interface{}) *MockDataSourceSyncer_SyncDataSource_Call
SyncDataSource is a helper method to define mock.On call
- ctx context.Context
- dataSourceHandler DataSourceObjectHandler
- configParams *config.ConfigMap
type MockDataSourceSyncer_GetDataSourceMetaData_Call ¶ added in v0.24.0
MockDataSourceSyncer_GetDataSourceMetaData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataSourceMetaData'
func (*MockDataSourceSyncer_GetDataSourceMetaData_Call) Return ¶ added in v0.24.0
func (_c *MockDataSourceSyncer_GetDataSourceMetaData_Call) Return(_a0 *data_source.MetaData, _a1 error) *MockDataSourceSyncer_GetDataSourceMetaData_Call
func (*MockDataSourceSyncer_GetDataSourceMetaData_Call) Run ¶ added in v0.24.0
func (_c *MockDataSourceSyncer_GetDataSourceMetaData_Call) Run(run func(ctx context.Context)) *MockDataSourceSyncer_GetDataSourceMetaData_Call
func (*MockDataSourceSyncer_GetDataSourceMetaData_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockDataSourceSyncer_GetDataSourceMetaData_Call) RunAndReturn(run func(context.Context) (*data_source.MetaData, error)) *MockDataSourceSyncer_GetDataSourceMetaData_Call
type MockDataSourceSyncer_SyncDataSource_Call ¶ added in v0.23.5
MockDataSourceSyncer_SyncDataSource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncDataSource'
func (*MockDataSourceSyncer_SyncDataSource_Call) Return ¶ added in v0.23.5
func (_c *MockDataSourceSyncer_SyncDataSource_Call) Return(_a0 error) *MockDataSourceSyncer_SyncDataSource_Call
func (*MockDataSourceSyncer_SyncDataSource_Call) Run ¶ added in v0.23.5
func (_c *MockDataSourceSyncer_SyncDataSource_Call) Run(run func(ctx context.Context, dataSourceHandler DataSourceObjectHandler, configParams *config.ConfigMap)) *MockDataSourceSyncer_SyncDataSource_Call
func (*MockDataSourceSyncer_SyncDataSource_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockDataSourceSyncer_SyncDataSource_Call) RunAndReturn(run func(context.Context, DataSourceObjectHandler, *config.ConfigMap) error) *MockDataSourceSyncer_SyncDataSource_Call
type MockDataUsageSyncer ¶
MockDataUsageSyncer is an autogenerated mock type for the DataUsageSyncer type
func NewMockDataUsageSyncer ¶
func NewMockDataUsageSyncer(t mockConstructorTestingTNewMockDataUsageSyncer) *MockDataUsageSyncer
NewMockDataUsageSyncer creates a new instance of MockDataUsageSyncer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockDataUsageSyncer) EXPECT ¶
func (_m *MockDataUsageSyncer) EXPECT() *MockDataUsageSyncer_Expecter
func (*MockDataUsageSyncer) SyncDataUsage ¶
func (_m *MockDataUsageSyncer) SyncDataUsage(ctx context.Context, fileCreator DataUsageStatementHandler, configParams *config.ConfigMap) error
SyncDataUsage provides a mock function with given fields: ctx, fileCreator, configParams
type MockDataUsageSyncer_Expecter ¶
type MockDataUsageSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDataUsageSyncer_Expecter) SyncDataUsage ¶
func (_e *MockDataUsageSyncer_Expecter) SyncDataUsage(ctx interface{}, fileCreator interface{}, configParams interface{}) *MockDataUsageSyncer_SyncDataUsage_Call
SyncDataUsage is a helper method to define mock.On call
- ctx context.Context
- fileCreator DataUsageStatementHandler
- configParams *config.ConfigMap
type MockDataUsageSyncer_SyncDataUsage_Call ¶
MockDataUsageSyncer_SyncDataUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncDataUsage'
func (*MockDataUsageSyncer_SyncDataUsage_Call) Return ¶
func (_c *MockDataUsageSyncer_SyncDataUsage_Call) Return(_a0 error) *MockDataUsageSyncer_SyncDataUsage_Call
func (*MockDataUsageSyncer_SyncDataUsage_Call) Run ¶
func (_c *MockDataUsageSyncer_SyncDataUsage_Call) Run(run func(ctx context.Context, fileCreator DataUsageStatementHandler, configParams *config.ConfigMap)) *MockDataUsageSyncer_SyncDataUsage_Call
func (*MockDataUsageSyncer_SyncDataUsage_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockDataUsageSyncer_SyncDataUsage_Call) RunAndReturn(run func(context.Context, DataUsageStatementHandler, *config.ConfigMap) error) *MockDataUsageSyncer_SyncDataUsage_Call
type MockIdentityStoreSyncer ¶ added in v0.23.3
MockIdentityStoreSyncer is an autogenerated mock type for the IdentityStoreSyncer type
func NewMockIdentityStoreSyncer ¶ added in v0.23.3
func NewMockIdentityStoreSyncer(t mockConstructorTestingTNewMockIdentityStoreSyncer) *MockIdentityStoreSyncer
NewMockIdentityStoreSyncer creates a new instance of MockIdentityStoreSyncer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockIdentityStoreSyncer) EXPECT ¶ added in v0.23.3
func (_m *MockIdentityStoreSyncer) EXPECT() *MockIdentityStoreSyncer_Expecter
func (*MockIdentityStoreSyncer) GetIdentityStoreMetaData ¶ added in v0.24.0
func (_m *MockIdentityStoreSyncer) GetIdentityStoreMetaData(ctx context.Context) (*identity_store.MetaData, error)
GetIdentityStoreMetaData provides a mock function with given fields: ctx
func (*MockIdentityStoreSyncer) SyncIdentityStore ¶ added in v0.23.3
func (_m *MockIdentityStoreSyncer) SyncIdentityStore(ctx context.Context, identityHandler IdentityStoreIdentityHandler, configMap *config.ConfigMap) error
SyncIdentityStore provides a mock function with given fields: ctx, identityHandler, configMap
type MockIdentityStoreSyncer_Expecter ¶ added in v0.23.3
type MockIdentityStoreSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockIdentityStoreSyncer_Expecter) GetIdentityStoreMetaData ¶ added in v0.24.0
func (_e *MockIdentityStoreSyncer_Expecter) GetIdentityStoreMetaData(ctx interface{}) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
GetIdentityStoreMetaData is a helper method to define mock.On call
- ctx context.Context
func (*MockIdentityStoreSyncer_Expecter) SyncIdentityStore ¶ added in v0.23.3
func (_e *MockIdentityStoreSyncer_Expecter) SyncIdentityStore(ctx interface{}, identityHandler interface{}, configMap interface{}) *MockIdentityStoreSyncer_SyncIdentityStore_Call
SyncIdentityStore is a helper method to define mock.On call
- ctx context.Context
- identityHandler IdentityStoreIdentityHandler
- configMap *config.ConfigMap
type MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call ¶ added in v0.24.0
MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIdentityStoreMetaData'
func (*MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) Return ¶ added in v0.24.0
func (_c *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) Return(_a0 *identity_store.MetaData, _a1 error) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
func (*MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) Run ¶ added in v0.24.0
func (_c *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) Run(run func(ctx context.Context)) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
func (*MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) RunAndReturn(run func(context.Context) (*identity_store.MetaData, error)) *MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call
type MockIdentityStoreSyncer_SyncIdentityStore_Call ¶ added in v0.23.3
MockIdentityStoreSyncer_SyncIdentityStore_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncIdentityStore'
func (*MockIdentityStoreSyncer_SyncIdentityStore_Call) Return ¶ added in v0.23.3
func (_c *MockIdentityStoreSyncer_SyncIdentityStore_Call) Return(_a0 error) *MockIdentityStoreSyncer_SyncIdentityStore_Call
func (*MockIdentityStoreSyncer_SyncIdentityStore_Call) Run ¶ added in v0.23.3
func (_c *MockIdentityStoreSyncer_SyncIdentityStore_Call) Run(run func(ctx context.Context, identityHandler IdentityStoreIdentityHandler, configMap *config.ConfigMap)) *MockIdentityStoreSyncer_SyncIdentityStore_Call
func (*MockIdentityStoreSyncer_SyncIdentityStore_Call) RunAndReturn ¶ added in v0.32.0
func (_c *MockIdentityStoreSyncer_SyncIdentityStore_Call) RunAndReturn(run func(context.Context, IdentityStoreIdentityHandler, *config.ConfigMap) error) *MockIdentityStoreSyncer_SyncIdentityStore_Call