Skip to content

Commit

Permalink
Excavator: Manage go module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Oct 11, 2024
1 parent ea26318 commit 2a365ad
Show file tree
Hide file tree
Showing 26 changed files with 901 additions and 529 deletions.
21 changes: 21 additions & 0 deletions config/zz_generated_refreshables.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ type RefreshableClientConfig interface {
IdleConnTimeout() refreshable.DurationPtr
TLSHandshakeTimeout() refreshable.DurationPtr
ExpectContinueTimeout() refreshable.DurationPtr
ResponseHeaderTimeout() refreshable.DurationPtr
KeepAlive() refreshable.DurationPtr
HTTP2ReadIdleTimeout() refreshable.DurationPtr
HTTP2PingTimeout() refreshable.DurationPtr
MaxIdleConns() refreshable.IntPtr
Expand Down Expand Up @@ -465,6 +467,18 @@ func (r RefreshingClientConfig) ExpectContinueTimeout() refreshable.DurationPtr
}))
}

func (r RefreshingClientConfig) ResponseHeaderTimeout() refreshable.DurationPtr {
return refreshable.NewDurationPtr(r.MapClientConfig(func(i httpclient.ClientConfig) interface{} {
return i.ResponseHeaderTimeout
}))
}

func (r RefreshingClientConfig) KeepAlive() refreshable.DurationPtr {
return refreshable.NewDurationPtr(r.MapClientConfig(func(i httpclient.ClientConfig) interface{} {
return i.KeepAlive
}))
}

func (r RefreshingClientConfig) HTTP2ReadIdleTimeout() refreshable.DurationPtr {
return refreshable.NewDurationPtr(r.MapClientConfig(func(i httpclient.ClientConfig) interface{} {
return i.HTTP2ReadIdleTimeout
Expand Down Expand Up @@ -679,6 +693,7 @@ type RefreshableSecurityConfig interface {
CAFiles() refreshable.StringSlice
CertFile() refreshable.String
KeyFile() refreshable.String
InsecureSkipVerify() refreshable.BoolPtr
}

type RefreshingSecurityConfig struct {
Expand Down Expand Up @@ -723,6 +738,12 @@ func (r RefreshingSecurityConfig) KeyFile() refreshable.String {
}))
}

func (r RefreshingSecurityConfig) InsecureSkipVerify() refreshable.BoolPtr {
return refreshable.NewBoolPtr(r.MapSecurityConfig(func(i httpclient.SecurityConfig) interface{} {
return i.InsecureSkipVerify
}))
}

type RefreshableStringToClientConfig interface {
refreshable.Refreshable
CurrentStringToClientConfig() map[string]httpclient.ClientConfig
Expand Down
12 changes: 7 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
module github.com/palantir/witchcraft-go-server/v2

go 1.21
go 1.22.0

toolchain go1.22.8

require (
github.com/gorilla/mux v1.7.3
github.com/julienschmidt/httprouter v1.3.0
github.com/nmiyake/pkg/dirs v1.0.0
github.com/palantir/conjure-go-runtime/v2 v2.79.0
github.com/palantir/go-encrypted-config-value v1.36.0
github.com/palantir/conjure-go-runtime/v2 v2.83.0
github.com/palantir/go-encrypted-config-value v1.37.0
github.com/palantir/go-metrics v1.1.1
github.com/palantir/pkg/httpserver v1.1.0
github.com/palantir/pkg/metrics v1.7.0
Expand Down Expand Up @@ -45,7 +47,7 @@ require (
go.uber.org/atomic v1.6.0 // indirect
go.uber.org/multierr v1.5.0 // indirect
go.uber.org/zap v1.15.0 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/text v0.19.0 // indirect
google.golang.org/protobuf v1.33.0 // indirect
)
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/openzipkin/zipkin-go v0.2.2 h1:nY8Hti+WKaP0cRsSeQ026wU03QsM762XBeCXBb9NAWI=
github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4=
github.com/palantir/conjure-go-runtime/v2 v2.79.0 h1:TwQkhFMANIFpnX24q91XhxiNrAewmArdfpyeS6CUi2Q=
github.com/palantir/conjure-go-runtime/v2 v2.79.0/go.mod h1:+pd+AYgo5d3mdXX8Wn56pu/UK04DtEO5XX9lXqDvveY=
github.com/palantir/go-encrypted-config-value v1.36.0 h1:HWpyr8YkczJfkadN8dC+jqe9EyGbxieXoXJEF1g2vJM=
github.com/palantir/go-encrypted-config-value v1.36.0/go.mod h1:O+MA4qjmCndRlXNlZ7YI8HKVuyDQo54Wnm90oyqUzuY=
github.com/palantir/conjure-go-runtime/v2 v2.83.0 h1:wjATAO17MQcGcrTkdGevi2yfOMniJcW5CD0OBQRvX64=
github.com/palantir/conjure-go-runtime/v2 v2.83.0/go.mod h1:SgF6EMcUTPrZ6xJ4D2Zvu7D1FxLzysuwUu+Y75grBnM=
github.com/palantir/go-encrypted-config-value v1.37.0 h1:Hwn3ouH0srIIrX0oXBX6AOHDHNOZUw3mbJR/Wg7RI94=
github.com/palantir/go-encrypted-config-value v1.37.0/go.mod h1:OUNyHOakyq62heTwvv0ID28fzCYkR67dduHIDByCmqs=
github.com/palantir/go-metrics v1.1.1 h1:YL/UmptBjrC6iSCTVr7vfuIcjL0M359Da3/gBGNny10=
github.com/palantir/go-metrics v1.1.1/go.mod h1:fRkuipBnsI4nD8Vd9UNcrUJvD8Y0wOJMSbicygcBrGs=
github.com/palantir/pkg v1.1.0 h1:0EhrSUP8oeeh3MUvk7V/UU7WmsN1UiJNTvNj0sN9Cpo=
Expand Down Expand Up @@ -134,8 +134,8 @@ golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73r
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo=
golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0=
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand All @@ -145,11 +145,11 @@ golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224=
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2a365ad

Please sign in to comment.