@@ -48,16 +48,16 @@ func GetNewClient(options ...Option) plugin.NewClientFunc {
4848 for _ , opt := range options {
4949 opt (c )
5050 }
51- return func (context.Context , zerolog.Logger , []byte ) (plugin.Client , error ) {
51+ return func (context.Context , zerolog.Logger , []byte , plugin. NewClientOptions ) (plugin.Client , error ) {
5252 return c , nil
5353 }
5454}
5555
56- func NewMemDBClient (ctx context.Context , l zerolog.Logger , spec []byte ) (plugin.Client , error ) {
57- return GetNewClient ()(ctx , l , spec )
56+ func NewMemDBClient (ctx context.Context , l zerolog.Logger , spec []byte , options plugin. NewClientOptions ) (plugin.Client , error ) {
57+ return GetNewClient ()(ctx , l , spec , options )
5858}
5959
60- func NewMemDBClientErrOnNew (context.Context , zerolog.Logger , []byte ) (plugin.Client , error ) {
60+ func NewMemDBClientErrOnNew (context.Context , zerolog.Logger , []byte , plugin. NewClientOptions ) (plugin.Client , error ) {
6161 return nil , fmt .Errorf ("newTestDestinationMemDBClientErrOnNew" )
6262}
6363
@@ -123,7 +123,7 @@ func (c *client) Sync(_ context.Context, options plugin.SyncOptions, res chan<-
123123 return nil
124124}
125125
126- func (c * client ) Tables (_ context.Context ) (schema.Tables , error ) {
126+ func (c * client ) Tables (context.Context , plugin. TableOptions ) (schema.Tables , error ) {
127127 tables := make (schema.Tables , 0 , len (c .tables ))
128128 for _ , table := range c .tables {
129129 tables = append (tables , table )
0 commit comments