config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllowInsecureHttps

func GetAllowInsecureHttps(ctx *pulumi.Context) bool

Flag to set whether to allow https with invalid certificates

func GetApiToken

func GetApiToken(ctx *pulumi.Context) string

Netbox API authentication token

func GetHeaders

func GetHeaders(ctx *pulumi.Context) string

Set these header on all requests to Netbox

func GetServerUrl

func GetServerUrl(ctx *pulumi.Context) string

Location of Netbox server including scheme and optional port

func GetSkipVersionCheck

func GetSkipVersionCheck(ctx *pulumi.Context) bool

If true, do not try to determine the running Netbox version at provider startup. Disables warnings about possibly unsupported Netbox version. Also useful for local testing on terraform plans.

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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