MCPcopy
hub / github.com/helm/helm / WithTLSConfig

Function WithTLSConfig

pkg/repo/v1/repotest/server.go:55–59  ·  view source on GitHub ↗
(tlsConfig *tls.Config)

Source from the content-addressed store, hash-verified

53type ServerOption func(*testing.T, *Server)
54
55func WithTLSConfig(tlsConfig *tls.Config) ServerOption {
56 return func(_ *testing.T, server *Server) {
57 server.tlsConfig = tlsConfig
58 }
59}
60
61func WithMiddleware(middleware http.HandlerFunc) ServerOption {
62 return func(_ *testing.T, server *Server) {

Callers 3

TestDownloadTo_TLSFunction · 0.92
TestNewTempServerFunction · 0.85
TestNewTempServer_TLSFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestDownloadTo_TLSFunction · 0.74
TestNewTempServerFunction · 0.68
TestNewTempServer_TLSFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…