MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / NewStatusService

Function NewStatusService

app/controlplane/internal/service/status.go:39–41  ·  view source on GitHub ↗
(logingURL, version string, casClient *biz.CASClientUseCase, bootstrap *conf.Bootstrap)

Source from the content-addressed store, hash-verified

37}
38
39func NewStatusService(logingURL, version string, casClient *biz.CASClientUseCase, bootstrap *conf.Bootstrap) *StatusService {
40 return &StatusService{loginURL: logingURL, version: version, casClient: casClient, bootstrap: bootstrap}
41}
42
43// Only on readiness probes we check this service external dependencies
44func (s *StatusService) Statusz(ctx context.Context, r *pb.StatuszRequest) (*pb.StatuszResponse, error) {

Callers 2

NewGRPCServerFunction · 0.92
NewHTTPServerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected