Skip to content

Commit

Permalink
feat: add redis cache support
Browse files Browse the repository at this point in the history
  • Loading branch information
elee1766 authored and adodon2go committed Jul 2, 2024
1 parent 002ff05 commit 6920a46
Show file tree
Hide file tree
Showing 5 changed files with 484 additions and 22 deletions.
28 changes: 23 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,28 @@ require (
)

require (
github.com/aquasecurity/trivy v0.53.0
github.com/alicebob/miniredis/v2 v2.33.0
github.com/aquasecurity/trivy v0.52.1-0.20240619054236-36b3b772df21
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.34.1
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.32.1
github.com/aws/aws-secretsmanager-caching-go v1.2.0
github.com/containers/image/v5 v5.31.1
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.28.6
github.com/aws/aws-secretsmanager-caching-go v1.1.3
github.com/containers/image/v5 v5.31.0
github.com/dchest/siphash v1.2.3
github.com/google/go-github/v52 v52.0.0
github.com/gorilla/securecookie v1.1.2
github.com/gorilla/sessions v1.3.0
github.com/migueleliasweb/go-github-mock v0.0.23
github.com/notaryproject/notation-go v1.1.1
github.com/opencontainers/distribution-spec/specs-go v0.0.0-20240201174943-0f98d91a0afe
github.com/project-zot/mockoidc v0.0.0-20240610203808-d69d9e02020a
github.com/project-zot/mockoidc v0.0.0-20230307111146-f607b4b5fb97
github.com/redis/go-redis/v9 v9.5.1
github.com/sigstore/cosign/v2 v2.2.4
github.com/swaggo/http-swagger v1.3.4
github.com/zitadel/oidc v1.13.5
golang.org/x/oauth2 v0.21.0
modernc.org/sqlite v1.30.1
oras.land/oras-go/v2 v2.5.0
zotregistry.io/zot v1.4.3
)

require (
Expand Down Expand Up @@ -91,17 +94,24 @@ require (
github.com/Masterminds/squirrel v1.5.4 // indirect
github.com/Microsoft/hcsshim v0.12.3 // indirect
github.com/alecthomas/chroma v0.10.0 // indirect
github.com/alicebob/gopher-json v0.0.0-20200520072559-a9ecdc9d1d3a // indirect
github.com/anchore/go-struct-converter v0.0.0-20221118182256-c68fdcfa2092 // indirect
github.com/apex/log v1.9.0 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/aquasecurity/table v1.8.0 // indirect
github.com/aquasecurity/tml v0.6.1 // indirect
github.com/aquasecurity/trivy-checks v0.13.0 // indirect
github.com/aquasecurity/trivy-java-db v0.0.0-20240109071736-184bd7481d48 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.24 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.9 // indirect
github.com/aws/aws-sdk-go-v2/service/dynamodbstreams v1.22.1 // indirect
github.com/aws/aws-sdk-go-v2/service/ebs v1.21.7 // indirect
github.com/aws/aws-sdk-go-v2/service/ec2 v1.163.1 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.11 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.14 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.9 // indirect
github.com/aws/aws-sdk-go-v2/service/s3 v1.55.1 // indirect
github.com/bitnami/go-version v0.0.0-20231130084017-bb00604d650c // indirect
github.com/buildkite/agent/v3 v3.62.0 // indirect
Expand Down Expand Up @@ -180,8 +190,11 @@ require (
github.com/notaryproject/notation-plugin-framework-go v1.0.0 // indirect
github.com/nozzle/throttler v0.0.0-20180817012639-2ea982251481 // indirect
github.com/oleiade/reflections v1.0.1 // indirect
github.com/opencontainers/runc v1.1.12 // indirect
github.com/opencontainers/selinux v1.11.0 // indirect
github.com/opencontainers/umoci v0.4.8-0.20210922062158-e60a0cc726e6 // indirect
github.com/openvex/go-vex v0.2.5 // indirect
github.com/oras-project/artifacts-spec v1.0.0-rc.2 // indirect
github.com/owenrumney/go-sarif/v2 v2.3.1 // indirect
github.com/package-url/packageurl-go v0.1.3 // indirect
github.com/pborman/uuid v1.2.1 // indirect
Expand All @@ -191,24 +204,29 @@ require (
github.com/pkg/errors v0.9.1 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/rootless-containers/proto/go-proto v0.0.0-20210921234734-69430b6543fb // indirect
github.com/rubenv/sql-migrate v1.5.2 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/samber/lo v1.39.0 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/sigstore/cosign v1.13.1 // indirect
github.com/sigstore/timestamp-authority v1.2.2 // indirect
github.com/skeema/knownhosts v1.2.2 // indirect
github.com/smarty/assertions v1.15.0 // indirect
github.com/sosodev/duration v1.3.1 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spdx/tools-golang v0.5.4 // indirect
github.com/tetratelabs/wazero v1.7.2 // indirect
github.com/urfave/cli v1.22.14 // indirect
github.com/urfave/cli/v2 v2.27.2 // indirect
github.com/vbatts/go-mtree v0.5.0 // indirect
github.com/vbauerster/mpb/v8 v8.7.3 // indirect
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
github.com/xlab/treeprint v1.2.0 // indirect
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 // indirect
github.com/yuin/gopher-lua v1.1.1 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
go.opentelemetry.io/otel/metric v1.27.0 // indirect
Expand Down
Loading

0 comments on commit 6920a46

Please sign in to comment.