Documentation ¶
Index ¶
- func StandardRetryAttempts(ctx context.Context) int
- func StandardRetryDelaySecs(ctx context.Context) int
- func TargetContainerName(ctx context.Context) string
- func TargetContainerStates(ctx context.Context) podcommon.States
- func WithStandardRetryAttempts(ctx context.Context, attempts int) context.Context
- func WithStandardRetryDelaySecs(ctx context.Context, secs int) context.Context
- func WithTargetContainerName(ctx context.Context, name string) context.Context
- func WithTargetContainerStates(ctx context.Context, states podcommon.States) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StandardRetryAttempts ¶
StandardRetryAttempts retrieves contextcommon.KeyStandardRetryAttempts from ctx.
func StandardRetryDelaySecs ¶
StandardRetryDelaySecs retrieves contextcommon.KeyStandardRetryDelaySecs from ctx.
func TargetContainerName ¶
TargetContainerName retrieves contextcommon.KeyTargetContainerName from ctx.
func TargetContainerStates ¶
TargetContainerStates retrieves contextcommon.KeyTargetContainerStates from ctx.
func WithStandardRetryAttempts ¶
WithStandardRetryAttempts adds or replaces contextcommon.KeyStandardRetryAttempts to/in ctx.
func WithStandardRetryDelaySecs ¶
WithStandardRetryDelaySecs adds or replaces contextcommon.KeyStandardRetryDelaySecs to/in ctx.
func WithTargetContainerName ¶
WithTargetContainerName adds or replaces contextcommon.KeyTargetContainerName to/in ctx.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.