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 Sep 28, 2024
1 parent e86d229 commit 655d30a
Show file tree
Hide file tree
Showing 19 changed files with 472 additions and 341 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
8 changes: 5 additions & 3 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.7

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.82.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
8 changes: 4 additions & 4 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.82.0 h1:wEyMBSE/CaoUiiGmRg/vNLgagWn3qaMh77LBG1Ceiik=
github.com/palantir/conjure-go-runtime/v2 v2.82.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

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.

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

Loading

0 comments on commit 655d30a

Please sign in to comment.