ing
This commit is contained in:
parent
d178d0dc45
commit
c1096ee410
|
@ -3,9 +3,9 @@ package discovery
|
|||
import "git.loafle.net/overflow/commons-go/model/discovery"
|
||||
|
||||
type DiscoveryService interface {
|
||||
DiscoverZone(requesterID string, dz *discovery.DiscoveryZone) error
|
||||
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoveryHost) error
|
||||
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoveryPort) error
|
||||
DiscoverService(requesterID string, port *discovery.Port, ds *discovery.DiscoveryService) error
|
||||
DiscoverZone(requesterID string, dz *discovery.DiscoverZone) error
|
||||
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoverHost) error
|
||||
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoverPort) error
|
||||
DiscoverService(requesterID string, port *discovery.Port, ds *discovery.DiscoverService) error
|
||||
StopRequest(requesterID string) error
|
||||
}
|
||||
|
|
|
@ -7,10 +7,10 @@ import (
|
|||
|
||||
type DiscoveryService interface {
|
||||
// By Central
|
||||
DiscoverZone(requesterID string, dz *discovery.DiscoveryZone) error
|
||||
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoveryHost) error
|
||||
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoveryPort) error
|
||||
DiscoverService(requesterID string, port *discovery.Port, dService *discovery.DiscoveryService) error
|
||||
DiscoverZone(requesterID string, dz *discovery.DiscoverZone) error
|
||||
DiscoverHost(requesterID string, zone *discovery.Zone, dh *discovery.DiscoverHost) error
|
||||
DiscoverPort(requesterID string, host *discovery.Host, dp *discovery.DiscoverPort) error
|
||||
DiscoverService(requesterID string, port *discovery.Port, dService *discovery.DiscoverService) error
|
||||
// By Container
|
||||
DiscoveryStart(requesterID string, t *util.Timestamp) error
|
||||
DiscoveryStop(requesterID string, t *util.Timestamp) error
|
||||
|
|
Loading…
Reference in New Issue
Block a user