Documentation ¶
Index ¶
- func AccessProviderRoleSync(syncer AccessProviderRoleSyncer, ...) *wrappers.DataAccessSyncFunction
- type AccessProviderRoleSyncer
- type MockAccessProviderRoleSyncer
- func (_m *MockAccessProviderRoleSyncer) EXPECT() *MockAccessProviderRoleSyncer_Expecter
- func (_m *MockAccessProviderRoleSyncer) SyncAccessProviderFiltersToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, ...) error
- func (_m *MockAccessProviderRoleSyncer) SyncAccessProviderMasksToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, ...) error
- func (_m *MockAccessProviderRoleSyncer) SyncAccessProviderRolesToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, ...) error
- func (_m *MockAccessProviderRoleSyncer) SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler wrappers.AccessProviderHandler, ...) error
- type MockAccessProviderRoleSyncer_Expecter
- func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderFiltersToTarget(ctx interface{}, apToRemoveMap interface{}, apMap interface{}, ...) *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
- func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderMasksToTarget(ctx interface{}, apToRemoveMap interface{}, apMap interface{}, ...) *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
- func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderRolesToTarget(ctx interface{}, apToRemoveMap interface{}, apMap interface{}, ...) *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
- func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProvidersFromTarget(ctx interface{}, accessProviderHandler interface{}, configMap interface{}) *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call
- type MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) Return(_a0 error) *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) Run(...) *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) RunAndReturn(...) *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
- type MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call) Return(_a0 error) *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call) Run(...) *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call) RunAndReturn(...) *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
- type MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call) Return(_a0 error) *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call) Run(...) *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call) RunAndReturn(...) *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
- type MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call) Return(_a0 error) *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call) Run(...) *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call
- func (_c *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call) RunAndReturn(...) *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessProviderRoleSync ¶
func AccessProviderRoleSync(syncer AccessProviderRoleSyncer, namingConstraints naming_hint.NamingConstraints, configOpt ...func(config *access_provider.AccessSyncConfig)) *wrappers.DataAccessSyncFunction
Types ¶
type AccessProviderRoleSyncer ¶
type AccessProviderRoleSyncer interface { SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler wrappers.AccessProviderHandler, configMap *config.ConfigMap) error SyncAccessProviderRolesToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap) error SyncAccessProviderMasksToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, roleNameMap map[string]string, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap) error SyncAccessProviderFiltersToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, roleNameMap map[string]string, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap) error }
type MockAccessProviderRoleSyncer ¶
MockAccessProviderRoleSyncer is an autogenerated mock type for the AccessProviderRoleSyncer type
func NewMockAccessProviderRoleSyncer ¶
func NewMockAccessProviderRoleSyncer(t interface { mock.TestingT Cleanup(func()) }) *MockAccessProviderRoleSyncer
NewMockAccessProviderRoleSyncer creates a new instance of MockAccessProviderRoleSyncer. 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 (*MockAccessProviderRoleSyncer) EXPECT ¶
func (_m *MockAccessProviderRoleSyncer) EXPECT() *MockAccessProviderRoleSyncer_Expecter
func (*MockAccessProviderRoleSyncer) SyncAccessProviderFiltersToTarget ¶ added in v0.56.1
func (_m *MockAccessProviderRoleSyncer) SyncAccessProviderFiltersToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, roleNameMap map[string]string, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap) error
SyncAccessProviderFiltersToTarget provides a mock function with given fields: ctx, apToRemoveMap, apMap, roleNameMap, feedbackHandler, configMap
func (*MockAccessProviderRoleSyncer) SyncAccessProviderMasksToTarget ¶ added in v0.49.2
func (_m *MockAccessProviderRoleSyncer) SyncAccessProviderMasksToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, roleNameMap map[string]string, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap) error
SyncAccessProviderMasksToTarget provides a mock function with given fields: ctx, apToRemoveMap, apMap, roleNameMap, feedbackHandler, configMap
func (*MockAccessProviderRoleSyncer) SyncAccessProviderRolesToTarget ¶ added in v0.49.2
func (_m *MockAccessProviderRoleSyncer) SyncAccessProviderRolesToTarget(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap) error
SyncAccessProviderRolesToTarget provides a mock function with given fields: ctx, apToRemoveMap, apMap, feedbackHandler, configMap
func (*MockAccessProviderRoleSyncer) SyncAccessProvidersFromTarget ¶
func (_m *MockAccessProviderRoleSyncer) SyncAccessProvidersFromTarget(ctx context.Context, accessProviderHandler wrappers.AccessProviderHandler, configMap *config.ConfigMap) error
SyncAccessProvidersFromTarget provides a mock function with given fields: ctx, accessProviderHandler, configMap
type MockAccessProviderRoleSyncer_Expecter ¶
type MockAccessProviderRoleSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderFiltersToTarget ¶ added in v0.56.1
func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderFiltersToTarget(ctx interface{}, apToRemoveMap interface{}, apMap interface{}, roleNameMap interface{}, feedbackHandler interface{}, configMap interface{}) *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
SyncAccessProviderFiltersToTarget is a helper method to define mock.On call
- ctx context.Context
- apToRemoveMap map[string]*sync_to_target.AccessProvider
- apMap map[string]*sync_to_target.AccessProvider
- roleNameMap map[string]string
- feedbackHandler wrappers.AccessProviderFeedbackHandler
- configMap *config.ConfigMap
func (*MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderMasksToTarget ¶ added in v0.49.2
func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderMasksToTarget(ctx interface{}, apToRemoveMap interface{}, apMap interface{}, roleNameMap interface{}, feedbackHandler interface{}, configMap interface{}) *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
SyncAccessProviderMasksToTarget is a helper method to define mock.On call
- ctx context.Context
- apToRemoveMap map[string]*sync_to_target.AccessProvider
- apMap map[string]*sync_to_target.AccessProvider
- roleNameMap map[string]string
- feedbackHandler wrappers.AccessProviderFeedbackHandler
- configMap *config.ConfigMap
func (*MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderRolesToTarget ¶ added in v0.49.2
func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProviderRolesToTarget(ctx interface{}, apToRemoveMap interface{}, apMap interface{}, feedbackHandler interface{}, configMap interface{}) *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
SyncAccessProviderRolesToTarget is a helper method to define mock.On call
- ctx context.Context
- apToRemoveMap map[string]*sync_to_target.AccessProvider
- apMap map[string]*sync_to_target.AccessProvider
- feedbackHandler wrappers.AccessProviderFeedbackHandler
- configMap *config.ConfigMap
func (*MockAccessProviderRoleSyncer_Expecter) SyncAccessProvidersFromTarget ¶
func (_e *MockAccessProviderRoleSyncer_Expecter) SyncAccessProvidersFromTarget(ctx interface{}, accessProviderHandler interface{}, configMap interface{}) *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call
SyncAccessProvidersFromTarget is a helper method to define mock.On call
- ctx context.Context
- accessProviderHandler wrappers.AccessProviderHandler
- configMap *config.ConfigMap
type MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call ¶ added in v0.56.1
MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncAccessProviderFiltersToTarget'
func (*MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) Return ¶ added in v0.56.1
func (*MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) Run ¶ added in v0.56.1
func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) Run(run func(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, roleNameMap map[string]string, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap)) *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
func (*MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) RunAndReturn ¶ added in v0.56.1
func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call) RunAndReturn(run func(context.Context, map[string]*sync_to_target.AccessProvider, map[string]*sync_to_target.AccessProvider, map[string]string, wrappers.AccessProviderFeedbackHandler, *config.ConfigMap) error) *MockAccessProviderRoleSyncer_SyncAccessProviderFiltersToTarget_Call
type MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call ¶ added in v0.49.2
MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncAccessProviderMasksToTarget'
func (*MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call) Run ¶ added in v0.49.2
func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call) Run(run func(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, roleNameMap map[string]string, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap)) *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
func (*MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call) RunAndReturn ¶ added in v0.49.2
func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call) RunAndReturn(run func(context.Context, map[string]*sync_to_target.AccessProvider, map[string]*sync_to_target.AccessProvider, map[string]string, wrappers.AccessProviderFeedbackHandler, *config.ConfigMap) error) *MockAccessProviderRoleSyncer_SyncAccessProviderMasksToTarget_Call
type MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call ¶ added in v0.49.2
MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncAccessProviderRolesToTarget'
func (*MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call) Run ¶ added in v0.49.2
func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call) Run(run func(ctx context.Context, apToRemoveMap map[string]*sync_to_target.AccessProvider, apMap map[string]*sync_to_target.AccessProvider, feedbackHandler wrappers.AccessProviderFeedbackHandler, configMap *config.ConfigMap)) *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
func (*MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call) RunAndReturn ¶ added in v0.49.2
func (_c *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call) RunAndReturn(run func(context.Context, map[string]*sync_to_target.AccessProvider, map[string]*sync_to_target.AccessProvider, wrappers.AccessProviderFeedbackHandler, *config.ConfigMap) error) *MockAccessProviderRoleSyncer_SyncAccessProviderRolesToTarget_Call
type MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call ¶
MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncAccessProvidersFromTarget'
func (*MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call) Run ¶
func (_c *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call) Run(run func(ctx context.Context, accessProviderHandler wrappers.AccessProviderHandler, configMap *config.ConfigMap)) *MockAccessProviderRoleSyncer_SyncAccessProvidersFromTarget_Call