Documentation ¶
Index ¶
- type Service
- func (s Service) Query(ctx context.Context, request *emptypb.Empty) (response *discovery.QueryResponse, err error)
- func (s Service) Start(ctx context.Context, request *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 Service ¶
type Service struct { discovery.UnimplementedDiscoveryServer // 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) Start ¶
func (s Service) Start(ctx context.Context, request *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.