MCPcopy Create free account
hub / github.com/clouditor/clouditor / NewService

Method NewService

launcher/spec.go:78–78  ·  view source on GitHub ↗
(db persistence.Storage)

Source from the content-addressed store, hash-verified

76// ServiceSpec is an interface we need because of generics foo.
77type ServiceSpec interface {
78 NewService(db persistence.Storage) (svc service.Service, grpcOpts []server.StartGRPCServerOption, err error)
79}
80
81func NewServiceSpec[T service.Service](nsf NewServiceFunc[T], wsf WithStorageFunc[T], init ServiceInitFunc[T], opts ...service.Option[T]) ServiceSpec {

Callers 15

startBufConnServerFunction · 0.65
createEvidencesFunction · 0.65
startBufConnServerFunction · 0.65
startBufConnServerFunction · 0.65
TestMainFunction · 0.65
TestMainFunction · 0.65

Calls

no outgoing calls

Tested by 15

startBufConnServerFunction · 0.52
createEvidencesFunction · 0.52
startBufConnServerFunction · 0.52
startBufConnServerFunction · 0.52
TestMainFunction · 0.52
TestMainFunction · 0.52