Documentation ¶
Index ¶
Constants ¶
View Source
const ( UNKNOWN = 0 MSM = 1 EC = 2 IDRAC = 3 )
View Source
const ( RESEND = "resend" TERMINATE = "terminate" )
View Source
const ( CommandQueue = "/discovery/command" EventQueue = "/discovery" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoveryClient ¶
type DiscoveryClient struct {
Bus messagebus.Messagebus
}
func (*DiscoveryClient) GetService ¶
func (d *DiscoveryClient) GetService(services chan<- *Service)
func (*DiscoveryClient) ResendAll ¶
func (d *DiscoveryClient) ResendAll()
func (*DiscoveryClient) SendCommand ¶
func (d *DiscoveryClient) SendCommand(command Command)
func (*DiscoveryClient) SendCommandString ¶
func (d *DiscoveryClient) SendCommandString(command string)
type DiscoveryService ¶
type DiscoveryService struct {
Bus messagebus.Messagebus
}
func (*DiscoveryService) ReceiveCommand ¶
func (d *DiscoveryService) ReceiveCommand(commands chan<- *Command)
func (*DiscoveryService) SendService ¶
func (d *DiscoveryService) SendService(service Service) error
Click to show internal directories.
Click to hide internal directories.