context

package
v1.26.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

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 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