Documentation
¶
Overview ¶
Package s3 adapts an S3-compatible object store to temporalpayload.BlobStore.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
Put(context.Context, string, string, []byte) error
Get(context.Context, string, string, int) ([]byte, error)
}
Client is the narrow S3-compatible data-plane interface used by Store.
It intentionally contains neither credentials nor endpoint configuration; applications configure those at their composition root and pass the resulting MinIO client to New.
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is an immutable temporalpayload.BlobStore backed by one explicit S3 bucket.
func NewWithClient ¶
NewWithClient creates a Store from a narrow S3-compatible client seam.
Click to show internal directories.
Click to hide internal directories.