netbox

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package netbox provides a TargetLoader for loading devices from NetBox.

Index

Constants

View Source
const Name = "netbox"

Variables

This section is empty.

Functions

func NewNetBoxTargetLoader

func NewNetBoxTargetLoader(config *configuration.GatewayConfig) loaders.TargetLoader

Types

type NetBoxTargetLoader

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

func (*NetBoxTargetLoader) GetConfiguration

func (m *NetBoxTargetLoader) GetConfiguration() (*targetpb.Configuration, error)

func (*NetBoxTargetLoader) Start

func (m *NetBoxTargetLoader) Start() error

func (*NetBoxTargetLoader) WatchConfiguration

func (m *NetBoxTargetLoader) WatchConfiguration(targetChan chan<- *connections.TargetConnectionControl) error

Jump to

Keyboard shortcuts

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