junoscollector

package
v0.0.0-...-7668cce Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JunosCollector

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

JunosCollector for export

func NewJunosCollector

func NewJunosCollector(sshconfig *ssh.ClientConfig, port int, target string) *JunosCollector

NewJunosCollector for creating a new collector map

func (*JunosCollector) Add

func (c *JunosCollector) Add(name string, newcollector collector.RPCCollector) error

Add a collector to the collector map

func (*JunosCollector) Collect

func (c *JunosCollector) Collect(ch chan<- channels.Response, label string)

Collect implements interface

func (*JunosCollector) Len

func (c *JunosCollector) Len() int

Len (number) of collectors registered

Jump to

Keyboard shortcuts

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