config

package
Version: v3.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountId

func GetAccountId(ctx *pulumi.Context) string

Configure API client to always use that account

func GetApiClientLogging

func GetApiClientLogging(ctx *pulumi.Context) bool

Whether to print logs from the API client (using the default log library logger)

func GetApiKey

func GetApiKey(ctx *pulumi.Context) string

The API key for operations.

func GetApiToken

func GetApiToken(ctx *pulumi.Context) string

The API Token for operations.

func GetApiUserServiceKey

func GetApiUserServiceKey(ctx *pulumi.Context) string

A special Cloudflare API key good for a restricted set of endpoints

func GetEmail

func GetEmail(ctx *pulumi.Context) string

A registered Cloudflare email address

func GetMaxBackoff

func GetMaxBackoff(ctx *pulumi.Context) int

Maximum backoff period in seconds after failed API calls

func GetMinBackoff

func GetMinBackoff(ctx *pulumi.Context) int

Minimum backoff period in seconds after failed API calls

func GetRetries

func GetRetries(ctx *pulumi.Context) int

Maximum number of retries to perform when an API request fails

func GetRps

func GetRps(ctx *pulumi.Context) int

RPS limit to apply when making calls to the API

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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