netbox

package
v1.6.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MPL-2.0 Imports: 28 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider returns a schema.Provider for Netbox.

Types

type Config

type Config struct {
	APIToken           string
	ServerURL          string
	AllowInsecureHttps bool
	Headers            map[string]interface{}
}

Config struct for the netbox provider

func (*Config) Client

func (cfg *Config) Client() (interface{}, error)

Client does the heavy lifting of establishing a base Open API client to Netbox.

Source Files

Jump to

Keyboard shortcuts

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