config

package
v0.0.29 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApiToken

func GetApiToken(ctx *pulumi.Context) string

The access key for API operations. You can retrieve this from the Twingate Admin Console ([documentation](https://docs.twingate.com/docs/api-overview)). Alternatively, this can be specified using the TWINGATE_API_TOKEN environment variable.

func GetHttpMaxRetry

func GetHttpMaxRetry(ctx *pulumi.Context) int

Specifies a retry limit for the http requests made. The default value is 10. Alternatively, this can be specified using the TWINGATE_HTTP_MAX_RETRY environment variable

func GetHttpTimeout

func GetHttpTimeout(ctx *pulumi.Context) int

Specifies a time limit in seconds for the http requests made. The default value is 35 seconds. Alternatively, this can be specified using the TWINGATE_HTTP_TIMEOUT environment variable

func GetNetwork

func GetNetwork(ctx *pulumi.Context) string

Your Twingate network ID for API operations. You can find it in the Admin Console URL, for example: `autoco.twingate.com`, where `autoco` is your network ID Alternatively, this can be specified using the TWINGATE_NETWORK environment variable.

func GetUrl

func GetUrl(ctx *pulumi.Context) string

The default is 'twingate.com' This is optional and shouldn't be changed under normal circumstances.

Types

This section is empty.

Jump to

Keyboard shortcuts

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