Documentation
¶
Index ¶
- type Configuration
- type ResultOntology
- type Service
- func (s Service) Query(_ context.Context, request *discovery.QueryRequest) (response *discovery.QueryResponse, err error)
- func (s Service) Shutdown()
- func (s *Service) Start(_ context.Context, _ *discovery.StartDiscoveryRequest) (response *discovery.StartDiscoveryResponse, err error)
- func (s Service) StartDiscovery(discoverer discovery.Discoverer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶ added in v1.3.6
type ResultOntology ¶ added in v1.3.5
type Service ¶
type Service struct { discovery.UnimplementedDiscoveryServer Configurations map[discovery.Discoverer]*Configuration // TODO(oxisto) do not expose this. just makes tests easier for now AssessmentStream assessment.Assessment_AssessEvidencesClient EvidenceStoreStream evidence.EvidenceStore_StoreEvidencesClient // contains filtered or unexported fields }
Service is an implementation of the Clouditor Discovery service. It should not be used directly, but rather the NewService constructor should be used.
func NewService ¶ added in v1.3.3
func NewService() *Service
func (Service) Query ¶ added in v1.3.2
func (s Service) Query(_ context.Context, request *discovery.QueryRequest) (response *discovery.QueryResponse, err error)
func (*Service) Start ¶
func (s *Service) Start(_ context.Context, _ *discovery.StartDiscoveryRequest) (response *discovery.StartDiscoveryResponse, err error)
Start starts discovery
func (Service) StartDiscovery ¶ added in v1.3.3
func (s Service) StartDiscovery(discoverer discovery.Discoverer)
Click to show internal directories.
Click to hide internal directories.