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
Click to show internal directories.
Click to hide internal directories.