provider

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("resource not found")
View Source
var ErrPrefixNotFound = errors.New("prefix not found in netbox")
View Source
var ErrReservedIPNotFound = errors.New("reserved ip not found int netbox")

Functions

func New

func New(version string) func() *schema.Provider

Types

type IPAMPrefix

type IPAMPrefix struct {
	ID   string
	CIDR string
}

type PrefixIPAddress

type PrefixIPAddress struct {
	ID      int    `json:"id"`
	Address string `json:"address"`
	Status  struct {
		Value string `json:"value"`
		Label string `json:"label"`
	} `json:"status"`
	DNSName string `json:"dns_name"`
}

Jump to

Keyboard shortcuts

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