Skip to content

Commit

Permalink
feat: handle graceful shutdowns, nest webhook handlers under /webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailswift committed Jun 4, 2024
1 parent 60396a8 commit 86cfd2d
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 15 deletions.
9 changes: 6 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ module github.com/testifysec/witness-webhook

go 1.22.3

require (
github.com/gorilla/mux v1.8.1
github.com/in-toto/go-witness v0.4.1-0.20240604030233-2131cf28e35b
gopkg.in/yaml.v3 v3.0.1
)

require (
cloud.google.com/go/auth v0.3.0 // indirect
cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
Expand Down Expand Up @@ -59,7 +65,6 @@ require (
github.com/google/uuid v1.6.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
github.com/googleapis/gax-go/v2 v2.12.3 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
Expand All @@ -68,7 +73,6 @@ require (
github.com/hashicorp/vault-client-go v0.4.3 // indirect
github.com/in-toto/archivista v0.4.0 // indirect
github.com/in-toto/attestation v1.0.2 // indirect
github.com/in-toto/go-witness v0.4.1-0.20240530013607-aecd1109d4f9 // indirect
github.com/invopop/jsonschema v0.12.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jellydator/ttlcache/v3 v3.2.0 // indirect
Expand Down Expand Up @@ -138,7 +142,6 @@ require (
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apimachinery v0.29.5 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
Expand Down
Loading

0 comments on commit 86cfd2d

Please sign in to comment.