dispatch

package
v0.0.0-...-9e7e4f5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package dispatch implements alert dispatching for the agent as a module. Persistent modules which generate alerts will have these alerts forwarded to this module if the dispatch module is active. The dispatch module can then forward the alerts on based on it's configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispatchRecord

type DispatchRecord struct {
	Hostname string            `json:"hostname"`
	Env      mig.AgentEnv      `json:"environment"`
	Tags     map[string]string `json:"tags"`
	Event    interface{}       `json:"event"`
}

Dispatch record describes the formatting of JSON data submitted from the dispatch module.

type Parameters

type Parameters struct {
}

Parameters defines any query parameters used in this module.

Jump to

Keyboard shortcuts

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