context

package
v0.0.0-...-86fc13e Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StandardRetryAttempts

func StandardRetryAttempts(ctx context.Context) int

StandardRetryAttempts retrieves contextcommon.KeyStandardRetryAttempts from ctx.

func StandardRetryDelaySecs

func StandardRetryDelaySecs(ctx context.Context) int

StandardRetryDelaySecs retrieves contextcommon.KeyStandardRetryDelaySecs from ctx.

func TargetContainerName

func TargetContainerName(ctx context.Context) string

TargetContainerName retrieves contextcommon.KeyTargetContainerName from ctx.

func TargetContainerStates

func TargetContainerStates(ctx context.Context) podcommon.States

TargetContainerStates retrieves contextcommon.KeyTargetContainerStates from ctx.

func WithStandardRetryAttempts

func WithStandardRetryAttempts(ctx context.Context, attempts int) context.Context

WithStandardRetryAttempts adds or replaces contextcommon.KeyStandardRetryAttempts to/in ctx.

func WithStandardRetryDelaySecs

func WithStandardRetryDelaySecs(ctx context.Context, secs int) context.Context

WithStandardRetryDelaySecs adds or replaces contextcommon.KeyStandardRetryDelaySecs to/in ctx.

func WithTargetContainerName

func WithTargetContainerName(ctx context.Context, name string) context.Context

WithTargetContainerName adds or replaces contextcommon.KeyTargetContainerName to/in ctx.

func WithTargetContainerStates

func WithTargetContainerStates(ctx context.Context, states podcommon.States) context.Context

WithTargetContainerStates adds or replaces contextcommon.KeyTargetContainerStates to/in ctx.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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