config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExternalNameConfigs = map[string]config.ExternalName{

	"netbox_ip_address":       config.IdentifierFromProvider,
	"netbox_device_interface": config.NameAsIdentifier,
	"netbox_device":           config.NameAsIdentifier,
	"netbox_device_role":      config.NameAsIdentifier,
	"netbox_site":             config.NameAsIdentifier,
	"netbox_device_type":      config.IdentifierFromProvider,
	"netbox_manufacturer":     config.NameAsIdentifier,
}

ExternalNameConfigs contains all external name configurations for this provider.

Functions

func ExternalNameConfigurations

func ExternalNameConfigurations() config.ResourceOption

ExternalNameConfigurations applies all external name configs listed in the table ExternalNameConfigs and sets the version of those resources to v1beta1 assuming they will be tested.

func ExternalNameConfigured

func ExternalNameConfigured() []string

ExternalNameConfigured returns the list of all resources whose external name is configured manually.

func GetProvider

func GetProvider() *ujconfig.Provider

GetProvider returns provider configuration

Types

This section is empty.

Directories

Path Synopsis
dcim
ipam

Jump to

Keyboard shortcuts

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