config

package
v0.0.0-...-820ad1c Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// SSHConn provides a list of possible ssh configurations that would
	// allow connection to the device.
	SSHConn []SSH
}

Config represents a configuration file for netcrawl.

func (Config) Discoveries

func (c Config) Discoveries() ([]Discover, error)

type Discover

type Discover interface {
	Node(ctx context.Context, node *network.Node) error
}

type SSH

type SSH struct {
	User string
	Pass string
}

SSH provides an SSH configuration for connecting to a device.

Jump to

Keyboard shortcuts

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