mocks

package
v0.0.0-...-e45066c Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Server

type S3Server struct {
	*s3.Client
	// contains filtered or unexported fields
}

func NewS3Server

func NewS3Server(
	bucketName string,
) (*S3Server, error)

func (*S3Server) Close

func (s *S3Server) Close()

func (*S3Server) HasObject

func (s *S3Server) HasObject(name string) (int, error)

func (*S3Server) PutObject

func (s *S3Server) PutObject(
	name string,
	contents io.ReadSeeker,
) error

func (*S3Server) URL

func (s *S3Server) URL() string

Jump to

Keyboard shortcuts

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