mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockS3Client

type MockS3Client struct {
	S3uri *string

	// Output Data
	DeleteObjectOutput *s3.DeleteObjectOutput
	GetObjectOutput    *s3.GetObjectOutput
	HeadObjectOutput   *s3.HeadObjectOutput
	PutObjectInput     *s3.PutObjectInput
	PutObjectOutput    *s3.PutObjectOutput
}

MockS3Client is a mock AWS S3 Client

func (*MockS3Client) DeleteObject

func (s *MockS3Client) DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)

func (*MockS3Client) GetObject

func (s *MockS3Client) GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)

func (*MockS3Client) HeadObject

func (s *MockS3Client) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error)

func (*MockS3Client) PutObject

func (s *MockS3Client) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)

Jump to

Keyboard shortcuts

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