detector

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package detector detects if nodes are not contactable Both the source ip and the destination IP are reported

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct {
	// contains filtered or unexported fields
}

Detector provides data for detector methods

func New

func New(dryRun bool, namespace, hostIP string) *Detector

New creates a default detector

func (*Detector) Run

func (d *Detector) Run() error

Run starts the detector thread (blocking).

func (*Detector) RunAsync

func (d *Detector) RunAsync() chan (error)

RunAsync will start the detector and return a channel for errors

Jump to

Keyboard shortcuts

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