config

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 3 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 {
	Netbox Netbox
	Server Server
	Views  map[string][]View
	Admins []string
}

func InitConfig

func InitConfig(path string) (Config, error)

type Netbox

type Netbox struct {
	Host  string
	Token string
}

type NetboxView added in v0.3.0

type NetboxView struct {
	Models []string
	Exprs  []string
}

type Server added in v0.1.0

type Server struct {
	DocumentRoot string
}

type View added in v0.0.2

type View struct {
	Netbox  *NetboxView
	Targets []string
	Labels  map[string]string
}

Jump to

Keyboard shortcuts

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