Skip to content

Commit 2bafdff

Browse files
Mark CMark C
authored andcommitted
Add ListById (iface only)
1 parent 79acb60 commit 2bafdff

18 files changed

Lines changed: 3204 additions & 442 deletions

File tree

connectors/airbyte/conn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
)
1616

1717
type source struct {
18+
adiomv1connect.UnimplementedConnectorServiceHandler
1819
dockerImage string
1920
config string
2021

connectors/dynamodb/conn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import (
2424
)
2525

2626
type conn struct {
27+
adiomv1connect.UnimplementedConnectorServiceHandler
2728
client *client
2829
streamsClient *dynamodbstreams.Client
2930
spec string

connectors/mongo/conn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ type buffer struct {
6464
}
6565

6666
type conn struct {
67+
adiomv1connect.UnimplementedConnectorServiceHandler
6768
client *mongo.Client
6869

6970
settings ConnectorSettings

connectors/null/connector.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
)
2222

2323
type conn struct {
24+
adiomv1connect.UnimplementedConnectorServiceHandler
2425
id string
2526
logJson bool
2627
sleep time.Duration
@@ -146,5 +147,10 @@ func (c *conn) WriteUpdates(ctx context.Context, r *connect.Request[adiomv1.Writ
146147
}
147148

148149
func NewConn(id string, logJson bool, sleep time.Duration, sleepJitter time.Duration) adiomv1connect.ConnectorServiceHandler {
149-
return &conn{id, logJson, sleep, sleepJitter}
150+
return &conn{
151+
id: id,
152+
logJson: logJson,
153+
sleep: sleep,
154+
sleepJitter: sleepJitter,
155+
}
150156
}

connectors/postgres/conn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ type PostgresSettings struct {
5252
}
5353

5454
type conn struct {
55+
adiomv1connect.UnimplementedConnectorServiceHandler
5556
replicationUrl string
5657
id uint64
5758
c *pgxpool.Pool

connectors/random/connector.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import (
1919
)
2020

2121
type conn struct {
22+
adiomv1connect.UnimplementedConnectorServiceHandler
2223
settings ConnectorSettings
2324

2425
docMap map[string]*IndexMap //map of locations to map of document IDs

connectors/random/connv2.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
)
2121

2222
type connV2 struct {
23+
adiomv1connect.UnimplementedConnectorServiceHandler
2324
payload map[string]any
2425
namespacePrefix string
2526
initialSource []byte

connectors/s3vector/conn.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
)
2323

2424
type conn struct {
25+
adiomv1connect.UnimplementedConnectorServiceHandler
2526
client *s3vectors.Client
2627
bucketName *string
2728
vectorKey string

connectors/testconn/connector.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import (
3030
)
3131

3232
type conn struct {
33+
adiomv1connect.UnimplementedConnectorServiceHandler
3334
bootstrapPath string
3435
updatesPath string
3536
loop bool

gen/adiom/v1/adiom.pb.go

Lines changed: 51 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)