File tree Expand file tree Collapse file tree 8 files changed +26
-24
lines changed
Expand file tree Collapse file tree 8 files changed +26
-24
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ package main
99import (
1010 "context"
1111 "fmt"
12- log "github.com/sirupsen/logrus"
13- "go.amzn.com/lambda/interop"
14- "go.amzn.com/lambda/rapidcore/env"
15- "golang.org/x/sys/unix"
1612 "io"
1713 "io/fs"
1814 "math"
@@ -21,6 +17,11 @@ import (
2117 "path/filepath"
2218 "strings"
2319 "time"
20+
21+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/interop"
22+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapidcore/env"
23+ log "github.com/sirupsen/logrus"
24+ "golang.org/x/sys/unix"
2425)
2526
2627const (
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ import (
1414 "strings"
1515 "time"
1616
17+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/core/statejson"
18+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/interop"
19+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapidcore"
20+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapidcore/standalone"
1721 "github.com/go-chi/chi"
1822 log "github.com/sirupsen/logrus"
19- "go.amzn.com/lambda/core/statejson"
20- "go.amzn.com/lambda/interop"
21- "go.amzn.com/lambda/rapidcore"
22- "go.amzn.com/lambda/rapidcore/standalone"
2323)
2424
2525type CustomInteropServer struct {
Original file line number Diff line number Diff line change 11package main
22
33import (
4- "github.com/fsnotify/fsnotify"
5- log "github.com/sirupsen/logrus"
6- "go.amzn.com/cmd/localstack/filenotify"
74 "os"
85 "time"
6+
7+ "github.com/aws/aws-lambda-runtime-interface-emulator/cmd/localstack/filenotify"
8+ "github.com/fsnotify/fsnotify"
9+ log "github.com/sirupsen/logrus"
910)
1011
1112type ChangeListener struct {
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import (
1010 "strings"
1111 "time"
1212
13+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/interop"
14+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/rapidcore"
1315 log "github.com/sirupsen/logrus"
14- "go.amzn.com/lambda/interop"
15- "go.amzn.com/lambda/rapidcore"
1616)
1717
1818type LsOpts struct {
Original file line number Diff line number Diff line change 88 "os"
99 "path/filepath"
1010
11- "go.amzn. com/lambda/fatalerror"
12- "go.amzn. com/lambda/interop"
13- "go.amzn. com/lambda/rapidcore/env"
11+ "github. com/aws/aws-lambda-runtime-interface-emulator/internal /lambda/fatalerror"
12+ "github. com/aws/aws-lambda-runtime-interface-emulator/internal /lambda/interop"
13+ "github. com/aws/aws-lambda-runtime-interface-emulator/internal /lambda/rapidcore/env"
1414)
1515
1616// the type implement a simpler version of the Bootstrap
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ package main
33import (
44 "context"
55 "encoding/json"
6- "go.amzn.com/lambda/appctx"
7- "go.amzn.com/lambda/interop"
6+
7+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/appctx"
8+ "github.com/aws/aws-lambda-runtime-interface-emulator/internal/lambda/interop"
89)
910
1011type LocalStackTracer struct {
Original file line number Diff line number Diff line change @@ -12,14 +12,9 @@ require (
1212 github.com/go-chi/chi/v5 v5.2.3
1313 github.com/google/uuid v1.6.0
1414 github.com/jessevdk/go-flags v1.5.0
15- github.com/shirou/gopsutil v2.19.10+incompatible
16- github.com/aws/aws-lambda-go v1.46.0
17- github.com/go-chi/chi v1.5.5
18- github.com/go-chi/chi/v5 v5.2.2
19- github.com/google/uuid v1.6.0
20- github.com/jessevdk/go-flags v1.5.0
2115 github.com/orcaman/concurrent-map v1.0.0
2216 github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
17+ github.com/shirou/gopsutil v2.19.10+incompatible
2318 github.com/sirupsen/logrus v1.9.3
2419 github.com/stretchr/testify v1.9.0
2520 golang.org/x/sync v0.12.0
Original file line number Diff line number Diff line change @@ -27,9 +27,13 @@ github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9Y
2727github.com/jmespath/go-jmespath v0.4.0 /go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo =
2828github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8 =
2929github.com/jmespath/go-jmespath/internal/testify v1.5.1 /go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U =
30+ github.com/orcaman/concurrent-map v1.0.0 h1:I/2A2XPCb4IuQWcQhBhSwGfiuybl/J0ev9HDbW65HOY =
31+ github.com/orcaman/concurrent-map v1.0.0 /go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CFcDWnWD9XkenwhI =
3032github.com/pkg/errors v0.9.1 /go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0 =
3133github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM =
3234github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
35+ github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 h1:lZUw3E0/J3roVtGQ+SCrUrg3ON6NgVqpn3+iol9aGu4 =
36+ github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 /go.mod h1:uToXkOrWAZ6/Oc07xWQrPOhJotwFIyu2bBVN41fcDUY =
3337github.com/shirou/gopsutil v2.19.10+incompatible h1:lA4Pi29JEVIQIgATSeftHSY0rMGI9CLrl2ZvDLiahto =
3438github.com/shirou/gopsutil v2.19.10+incompatible /go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA =
3539github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ =
You can’t perform that action at this time.
0 commit comments