Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultName is the default name of the complainer instance
DefaultName = "default"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor is responsible for routing failed tasks to the configured reporters
func NewMonitor ¶
func NewMonitor(name string, cluster *mesos.Cluster, up uploader.Uploader, reporters map[string]reporter.Reporter, defaults bool, match matcher.FailureMatcher) *Monitor
NewMonitor creates the new monitor with a name, uploader and reporters
func (*Monitor) ListenAndServe ¶
ListenAndServe launches an http server on the requested address. The server is responsible for health checks
Click to show internal directories.
Click to hide internal directories.