Versions in this module Expand all Collapse all v0 v0.2.0 Aug 12, 2022 Changes in this version + func WithOAuth2Authorizer(config *clientcredentials.Config) service.ServiceOption[Server] + type Server struct + func (s *Server) ConfigureCloudService(_ context.Context, req *configuration.ConfigureCloudServiceRequest) (res *configuration.ConfigureCloudServiceResponse, err error) + func (s *Server) GetCloudService(ctx context.Context, req *orchestrator.GetCloudServiceRequest) (*orchestrator.CloudService, error) + func (s *Server) GetMetric(ctx context.Context, req *orchestrator.GetMetricRequest) (res *assessment.Metric, err error) + func (s *Server) ListCloudServices(ctx context.Context, req *orchestrator.ListCloudServicesRequest) (*orchestrator.ListCloudServicesResponse, error) + func (s *Server) ListControls(ctx context.Context, req *orchestrator.ListRequirementsRequest) (*orchestrator.ListRequirementsResponse, error) + func (s *Server) ListMetrics(ctx context.Context, req *orchestrator.ListMetricsRequest) (res *orchestrator.ListMetricsResponse, err error) + func (s *Server) RegisterCloudService(ctx context.Context, req *orchestrator.RegisterCloudServiceRequest) (*orchestrator.CloudService, error) + func (s *Server) RemoveCloudService(ctx context.Context, req *orchestrator.RemoveCloudServiceRequest) (*emptypb.Empty, error) + func (s *Server) UpdateCloudService(ctx context.Context, req *orchestrator.UpdateCloudServiceRequest) (*orchestrator.CloudService, error) + func (srv *Server) AddCollectionModule(_ context.Context, req *configuration.AddCollectionModuleRequest) (res *collection.CollectionModule, err error) + func (srv *Server) Authorizer() api.Authorizer + func (srv *Server) FindCollectionModule(_ context.Context, req *configuration.FindCollectionModuleRequest) (res *collection.CollectionModule, err error) + func (srv *Server) GetMonitoringStatus(_ context.Context, req *configuration.GetMonitoringStatusRequest) (res *configuration.MonitoringStatus, err error) + func (srv *Server) GetServiceConfiguration(serviceID string, cm *collection.CollectionModule) (serviceConfig *collection.ServiceConfiguration) + func (srv *Server) ListCloudServiceConfigurations(_ context.Context, req *configuration.ListCloudServiceConfigurationsRequest) (res *configuration.ListCloudServiceConfigurationsResponse, err error) + func (srv *Server) ListCollectionModules(_ context.Context, _ *configuration.ListCollectionModulesRequest) (res *configuration.ListCollectionModulesResponse, err error) + func (srv *Server) RemoveCollectionModule(_ context.Context, req *configuration.RemoveCollectionModuleRequest) (res *emptypb.Empty, err error) + func (srv *Server) SetAuthorizer(auth api.Authorizer) + func (srv *Server) StartMonitoring(ctx context.Context, req *configuration.StartMonitoringRequest) (res *configuration.StartMonitoringResponse, err error) + func (srv *Server) StopMonitoring(_ context.Context, req *configuration.StopMonitoringRequest) (res *configuration.StopMonitoringResponse, err error) v0.1.0 Jul 21, 2022 Changes in this version + const DefaultInterval + const DefaultMetricsFile + func NewServer(opts ...service.ServiceOption[server]) (srv *server) + func WithEvalManagerAddress(url string) service.ServiceOption[server] + func WithInterval(interval int) service.ServiceOption[server] + func WithStorage(storage persistence.Storage) service.ServiceOption[server] + type MonitorScheduler struct