s3mock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateS3ServiceMock

func CreateS3ServiceMock(options ...S3ServiceMockOption) *s3ServiceMock

CreateS3ServiceMock creates a new instance of the S3 service mock with the provided options.

func CreateS3ServiceMockFactory

func CreateS3ServiceMockFactory(
	options ...S3ServiceMockOption,
) func(awsConfig *aws.Config, providerContext provider.Context) s3service.Service

CreateS3ServiceMockFactory returns a service factory bound to a single mock instance.

Types

type S3ServiceMockOption

type S3ServiceMockOption func(*s3ServiceMock)

S3ServiceMockOption is a function type for configuring the S3 service mock.

func WithGetBucketNotificationConfigurationError

func WithGetBucketNotificationConfigurationError(err error) S3ServiceMockOption

func WithPutBucketNotificationConfigurationError

func WithPutBucketNotificationConfigurationError(err error) S3ServiceMockOption

Jump to

Keyboard shortcuts

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