host

package
v4.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package host observer that monitors the current host for active network listeners and reports them as service endpoints Use of this observer requires the CAP_SYS_PTRACE and CAP_DAC_READ_SEARCH capability in Linux.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	config.ObserverConfig
	PollIntervalSeconds int `default:"10" yaml:"pollIntervalSeconds"`
}

Config specific to the host observer

type Observer

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

Observer that watches the current host

func (*Observer) Configure

func (o *Observer) Configure(config *Config) error

Configure the host observer

Jump to

Keyboard shortcuts

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