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

Struct Service

service/evaluation/evaluation.go:88–104  ·  view source on GitHub ↗

Service is an implementation of the Clouditor Evaluation service

Source from the content-addressed store, hash-verified

86
87// Service is an implementation of the Clouditor Evaluation service
88type Service struct {
89 evaluation.UnimplementedEvaluationServer
90
91 orchestrator *api.RPCConnection[orchestrator.OrchestratorClient]
92
93 scheduler *gocron.Scheduler
94
95 // authz defines our authorization strategy, e.g., which user can access which certification target and associated
96 // resources, such as evaluation results.
97 authz service.AuthorizationStrategy
98
99 storage persistence.Storage
100
101 // controls stores the catalog controls so that they do not always have to be retrieved from Orchestrators getControl endpoint
102 // map[catalog_id][category_name-control_id]*orchestrator.Control
103 catalogControls map[string]map[string]*orchestrator.Control
104}
105
106func init() {
107 log = logrus.WithField("component", "evaluation")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected