Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gatherer ¶
type Gatherer interface {
Gather(factsRequests []entities.FactRequest) ([]entities.Fact, error)
}
Gatherer is the interface exposed as a plugin.
type GathererPlugin ¶
type GathererPlugin struct { // Impl Injection Impl Gatherer }
This is the implementation of plugin.Plugin
func (GathererPlugin) Client ¶
func (GathererPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
func (*GathererPlugin) Server ¶
func (p *GathererPlugin) Server(*plugin.MuxBroker) (interface{}, error)
type GathererRPC ¶
type GathererRPC struct {
// contains filtered or unexported fields
}
func (*GathererRPC) Gather ¶
func (g *GathererRPC) Gather(factsRequest []entities.FactRequest) ([]entities.Fact, error)
type GathererRPCServer ¶
type GathererRPCServer struct {
Impl Gatherer
}
func (*GathererRPCServer) Gather ¶
func (s *GathererRPCServer) Gather(args []entities.FactRequest, resp *[]entities.Fact) error
Click to show internal directories.
Click to hide internal directories.