Documentation
¶
Index ¶
- func GetApiToken(ctx *pulumi.Context) string
- func GetMaxBackoff(ctx *pulumi.Context) int
- func GetMinBackoff(ctx *pulumi.Context) int
- func GetRetries(ctx *pulumi.Context) int
- func GetRps(ctx *pulumi.Context) int
- func GetStatuscakeCustomEndpoint(ctx *pulumi.Context) string
- func PkgVersion() (semver.Version, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetApiToken ¶
The API token for operations. This can also be provided as an environment variable `STATUSCAKE_API_TOKEN`
func GetMaxBackoff ¶
Maximum backoff period in seconds after failed API calls. This can also be provided as an environment variable `STATUSCAKE_MAX_BACKOFF`
func GetMinBackoff ¶
Minimum backoff period in seconds after failed API calls. This can also be provided as an environment variable `STATUSCAKE_MIN_BACKOFF`
func GetRetries ¶
Maximum number of retries to perform when an API request fails. This can also be provided as an environment variable `STATUSCAKE_RETRIES`
func GetRps ¶
RPS limit to apply when making calls to the API. This can also be provided as an environment variable `STATUSCAKE_RPS`
func GetStatuscakeCustomEndpoint ¶
Custom endpoint to which request will be made. This can also be provided as an environment variable `STATUCAKE_CUSTOM_ENDPOINT`
func PkgVersion ¶
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.