MCPcopy Create free account
hub / github.com/cortexproject/cortex / NewCompositeCortexService

Function NewCompositeCortexService

integration/e2ecortex/service.go:41–50  ·  view source on GitHub ↗
(services ...*CortexService)

Source from the content-addressed store, hash-verified

39}
40
41func NewCompositeCortexService(services ...*CortexService) *CompositeCortexService {
42 var httpServices []*e2e.HTTPService
43 for _, s := range services {
44 httpServices = append(httpServices, s.HTTPService)
45 }
46
47 return &CompositeCortexService{
48 CompositeHTTPService: e2e.NewCompositeHTTPService(httpServices...),
49 }
50}

Calls 1

NewCompositeHTTPServiceFunction · 0.92