qhandler_dgraph

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

README

handler-dgraph

Handler to push events in dgraph.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container added in v0.0.2

type Container struct {
	ID    string `json:"id,omitempty"`
	Name  string `json:"name,omitempty"`
	Image string `json:"image,omitempty"`
}

type Network added in v0.0.2

type Network struct {
	ID     string `json:"id,omitempty"`
	Name   string `json:"name,omitempty"`
	Driver string `json:"driver,omitempty"`
	Scope  string `json:"scope,omitempty"`
}

type Plugin

type Plugin struct {
	*qtypes_plugin.Plugin
	// contains filtered or unexported fields
}

Plugin holds a buffer and the initial information from the server

func New

func New(qChan qtypes_qchannel.QChan, cfg *config.Config, name string) (Plugin, error)

New returns an initial instance

func (*Plugin) Connect

func (p *Plugin) Connect()

func (*Plugin) Run

func (p *Plugin) Run()

Run pushes the logs to elasticsearch

Directories

Path Synopsis
cmd
qhandler-dgraph command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL