Skip to content

Commit

Permalink
remove common policy logic
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispatrick committed Sep 4, 2024
1 parent 409f5e3 commit 0858f3f
Show file tree
Hide file tree
Showing 36 changed files with 9 additions and 3,191 deletions.
13 changes: 3 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,11 @@ go 1.21.6

require (
cloud.google.com/go/logging v1.8.1
cloud.google.com/go/storage v1.35.1
github.com/google/go-containerregistry v0.19.0
github.com/google/uuid v1.6.0
github.com/hasura/go-graphql-client v0.9.3
github.com/mitchellh/hashstructure/v2 v2.0.2
github.com/secure-systems-lab/go-securesystemslib v0.8.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.4
golang.org/x/oauth2 v0.15.0
google.golang.org/api v0.152.0
olympos.io/encoding/edn v0.0.0-20201019073823-d3554ca0b0a3
)

Expand Down Expand Up @@ -51,6 +46,7 @@ require (
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/mitchellh/go-homedir v1.1.0 // indirect
github.com/mitchellh/hashstructure/v2 v2.0.2 // indirect
github.com/moby/locker v1.0.1 // indirect
github.com/moby/sys/mountinfo v0.6.2 // indirect
github.com/moby/sys/sequential v0.5.0 // indirect
Expand All @@ -65,7 +61,6 @@ require (
github.com/pierrec/lz4/v4 v4.1.15 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/scylladb/go-set v1.0.3-0.20200225121959-cc7b2070d91e // indirect
github.com/shibumi/go-pathspec v1.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/sylabs/sif/v2 v2.11.5 // indirect
github.com/sylabs/squashfs v0.6.1 // indirect
Expand All @@ -78,15 +73,16 @@ require (
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
golang.org/x/mod v0.15.0 // indirect
golang.org/x/oauth2 v0.15.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/tools v0.17.0 // indirect
google.golang.org/api v0.152.0 // indirect
)

require (
cloud.google.com/go v0.110.10 // indirect
cloud.google.com/go/compute v1.23.3 // indirect
cloud.google.com/go/compute/metadata v0.2.3
cloud.google.com/go/iam v1.1.5 // indirect
cloud.google.com/go/longrunning v0.5.4 // indirect
github.com/anchore/packageurl-go v0.1.1-0.20240202171727-877e1747d426
github.com/anchore/syft v0.105.0
Expand All @@ -97,7 +93,6 @@ require (
github.com/google/s2a-go v0.1.7 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
github.com/in-toto/in-toto-golang v0.9.0
github.com/klauspost/compress v1.17.4 // indirect
github.com/openvex/go-vex v0.2.5
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
Expand All @@ -107,13 +102,11 @@ require (
golang.org/x/sync v0.6.0 // indirect
golang.org/x/sys v0.17.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect
google.golang.org/grpc v1.59.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v3 v3.0.1
nhooyr.io/websocket v1.8.7 // indirect
)
71 changes: 0 additions & 71 deletions go.sum

Large diffs are not rendered by default.

67 changes: 0 additions & 67 deletions policy/data/cache/cache.go

This file was deleted.

105 changes: 0 additions & 105 deletions policy/data/convert.go

This file was deleted.

82 changes: 0 additions & 82 deletions policy/data/proxy/client.go

This file was deleted.

25 changes: 0 additions & 25 deletions policy/data/proxy/types.go

This file was deleted.

Loading

0 comments on commit 0858f3f

Please sign in to comment.