util

package
v0.0.0-...-4da6f2b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSEnvVarHealtzChecker

func AWSEnvVarHealtzChecker(_ *http.Request) error

AWSEnvVarHealtzChecker is a healthz.Checker that returns an error if there are not enough environment variables set to create an AWS client for this operator to function.

func DefaultAVORateLimiter

func DefaultAVORateLimiter() workqueue.RateLimiter

DefaultAVORateLimiter returns a rate limiter that reconciles more slowly than the default. The default is 5ms --> 1000s, but resources are created much more slowly in AWS than in Kubernetes, so this helps avoid AWS rate limits. https://docs.aws.amazon.com/AWSEC2/latest/APIReference/throttling.html#throttling-limits

Types

This section is empty.

Jump to

Keyboard shortcuts

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