wrappers

package
v0.37.0-dev0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 14 Imported by: 20

Documentation

Index

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 (*DataAccessSyncFunction) SyncFromTarget added in v0.23.6

func (*DataAccessSyncFunction) SyncToTarget added in v0.23.6

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 DataSourceSyncer interface {
	SyncDataSource(ctx context.Context, dataSourceHandler DataSourceObjectHandler, configParams *config.ConfigMap) error
	GetDataSourceMetaData(ctx context.Context) (*data_source.MetaData, error)
}

type DataUsageStatementHandler

type DataUsageStatementHandler interface {
	AddStatements(statements []data_usage.Statement) error
}

type DataUsageSyncer

type DataUsageSyncer interface {
	SyncDataUsage(ctx context.Context, fileCreator DataUsageStatementHandler, configParams *config.ConfigMap) error
}

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 IdentityStoreSyncer interface {
	SyncIdentityStore(ctx context.Context, identityHandler IdentityStoreIdentityHandler, configMap *config.ConfigMap) error
	GetIdentityStoreMetaData(ctx context.Context) (*identity_store.MetaData, error)
}

type MockAccessProviderSyncer added in v0.23.6

type MockAccessProviderSyncer struct {
	mock.Mock
}

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

type MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call struct {
	*mock.Call
}

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

func (*MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) Return added in v0.23.6

func (*MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) Run added in v0.23.6

func (*MockAccessProviderSyncer_SyncAccessAsCodeToTarget_Call) RunAndReturn added in v0.32.0

type MockAccessProviderSyncer_SyncAccessProviderToTarget_Call added in v0.23.6

type MockAccessProviderSyncer_SyncAccessProviderToTarget_Call struct {
	*mock.Call
}

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

func (*MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) Return added in v0.23.6

func (*MockAccessProviderSyncer_SyncAccessProviderToTarget_Call) Run added in v0.23.6

type MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call added in v0.23.6

type MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call struct {
	*mock.Call
}

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

func (*MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) Return added in v0.23.6

func (*MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) Run added in v0.23.6

func (*MockAccessProviderSyncer_SyncAccessProvidersFromTarget_Call) RunAndReturn added in v0.32.0

type MockDataSourceSyncer added in v0.23.5

type MockDataSourceSyncer struct {
	mock.Mock
}

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

type MockDataSourceSyncer_GetDataSourceMetaData_Call struct {
	*mock.Call
}

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 (*MockDataSourceSyncer_GetDataSourceMetaData_Call) Run added in v0.24.0

func (*MockDataSourceSyncer_GetDataSourceMetaData_Call) RunAndReturn added in v0.32.0

type MockDataSourceSyncer_SyncDataSource_Call added in v0.23.5

type MockDataSourceSyncer_SyncDataSource_Call struct {
	*mock.Call
}

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 (*MockDataSourceSyncer_SyncDataSource_Call) Run added in v0.23.5

func (*MockDataSourceSyncer_SyncDataSource_Call) RunAndReturn added in v0.32.0

type MockDataUsageSyncer

type MockDataUsageSyncer struct {
	mock.Mock
}

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

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

func (*MockDataUsageSyncer_SyncDataUsage_Call) RunAndReturn added in v0.32.0

type MockIdentityStoreSyncer added in v0.23.3

type MockIdentityStoreSyncer struct {
	mock.Mock
}

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

type MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call struct {
	*mock.Call
}

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 (*MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) Run added in v0.24.0

func (*MockIdentityStoreSyncer_GetIdentityStoreMetaData_Call) RunAndReturn added in v0.32.0

type MockIdentityStoreSyncer_SyncIdentityStore_Call added in v0.23.3

type MockIdentityStoreSyncer_SyncIdentityStore_Call struct {
	*mock.Call
}

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 (*MockIdentityStoreSyncer_SyncIdentityStore_Call) Run added in v0.23.3

func (*MockIdentityStoreSyncer_SyncIdentityStore_Call) RunAndReturn added in v0.32.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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