context

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// S3BackendS3Express identifies the S3Express backend
	S3BackendS3Express = "S3Express"
)

Variables

This section is empty.

Functions

func GetAttemptSkewContext added in v1.27.2

func GetAttemptSkewContext(ctx context.Context) time.Duration

GetAttemptSkewContext gets the clock skew value from the context

func GetChecksumInputAlgorithm

func GetChecksumInputAlgorithm(ctx context.Context) string

GetChecksumInputAlgorithm returns the checksum algorithm from the context.

func GetS3Backend

func GetS3Backend(ctx context.Context) string

GetS3Backend retrieves the stored endpoint backend within the context.

func SetAttemptSkewContext added in v1.27.2

func SetAttemptSkewContext(ctx context.Context, v time.Duration) context.Context

SetAttemptSkewContext sets the clock skew value on the context

func SetChecksumInputAlgorithm

func SetChecksumInputAlgorithm(ctx context.Context, value string) context.Context

SetChecksumInputAlgorithm sets the request checksum algorithm on the context.

func SetS3Backend

func SetS3Backend(ctx context.Context, typ string) context.Context

SetS3Backend stores the resolved endpoint backend within the request context, which is required for a variety of custom S3 behaviors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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