Documentation
¶
Overview ¶
Package bs3test provides an in-memory fake of the S3 client subset provided by the bs3 package, for use in tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeS3 ¶
type FakeS3 struct {
Objects map[string]StoredObject
// contains filtered or unexported fields
}
FakeS3 implements the PutObject/GetObject/Bucket subset of the S3 API used by the tiles package with an in-memory map.
Calling PutObject twice for the same key result in an error.
type StoredObject ¶
StoredObject is an object held by a FakeS3.
Click to show internal directories.
Click to hide internal directories.