Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultKey = "" ENICreate = "eni_create" ENIOps = "eni_ops" ENIRelease = "eni_release" ENIIPOps = "eni_ip_ops" WaitENIStatus = "wait_eni_status" WaitMemberENIStatus = "wait_member_eni_status" WaitLENIStatus = "wait_leni_status" WaitHDENIStatus = "wait_hdeni_status" WaitPodENIStatus = "wait_podeni_status" WaitNetworkInterfaceStatus = "wait_networkinterface_status" MetaAssignPrivateIP = "meta_assign_private_ip" MetaUnAssignPrivateIP = "meta_unassign_private_ip" WaitStsTokenReady = "wait_sts_token_ready" WaitNodeStatus = "wait_node_status" )
backoff keys
Variables ¶
This section is empty.
Functions ¶
func ExponentialBackoffWithInitialDelay ¶ added in v1.15.0
func ExponentialBackoffWithInitialDelay(ctx context.Context, extendedBackoff ExtendedBackoff, condition func(context.Context) (bool, error)) error
ExponentialBackoffWithInitialDelay extends ExponentialBackoffWithContext with initial delay support
func OverrideBackoff ¶
func OverrideBackoff(in map[string]ExtendedBackoff)
Types ¶
type ExtendedBackoff ¶ added in v1.15.0
type ExtendedBackoff struct {
// InitialDelay is the initial wait time before starting retries
InitialDelay time.Duration
// Backoff is the original k8s backoff configuration
wait.Backoff
}
ExtendedBackoff extends the backoff configuration with initial delay support
func Backoff ¶
func Backoff(key string) ExtendedBackoff
func NewExtendedBackoff ¶ added in v1.15.0
func NewExtendedBackoff(initialDelay time.Duration, backoff wait.Backoff) ExtendedBackoff
NewExtendedBackoff creates a new extended backoff configuration
Click to show internal directories.
Click to hide internal directories.