Versions in this module Expand all Collapse all v0 v0.2.0 Jul 27, 2026 v0.1.0 Jul 27, 2026 Changes in this version + var ErrNotFound = errors.New("clients3: not found") + func IsNotFound(err error) bool + type AccessKey string + func (AccessKey) Usage() string + func (a AccessKey) String() string + func (a AccessKey) Validate() error + type Bucket string + func (Bucket) Usage() string + func (b Bucket) String() string + func (b Bucket) Validate() error + type Client struct + func NewTestClient[C CredentialsProvider](inner *s3.Client, bucket string) *Client[C] + func (*Client[C]) BuildConfig() (app.Materializer, error) + func (c *Client[C]) Bucket() string + func (c *Client[C]) Close(_ context.Context) error + func (c *Client[C]) Delete(ctx context.Context, key string) error + func (c *Client[C]) Deps() []any + func (c *Client[C]) Get(ctx context.Context, key string) (io.ReadCloser, Head, error) + func (c *Client[C]) Head(ctx context.Context, key string) (Head, error) + func (c *Client[C]) Inject(args []any) + func (c *Client[C]) Label() string + func (c *Client[C]) PresignGet(ctx context.Context, key string, ttl time.Duration) (string, error) + func (c *Client[C]) ProbeReady(ctx context.Context) error + func (c *Client[C]) Put(ctx context.Context, key string, body io.Reader, opts PutOptions) error + func (c *Client[C]) Ready(ctx context.Context) error + type Config struct + Bucket Bucket + Endpoint httpv1.URL + Label common.Label + Region Region + UsePathStyle UsePathStyle + func (cfg *Config[C]) Build() (any, error) + type CredentialsProvider interface + Retrieve func(ctx context.Context) (aws.Credentials, error) + type CredentialsStatic struct + func (*CredentialsStatic[Tag]) BuildConfig() (app.Materializer, error) + func (c *CredentialsStatic[Tag]) Retrieve(_ context.Context) (aws.Credentials, error) + type CredentialsStaticConfig struct + AccessKey AccessKey + SecretKey SecretKey + func (c *CredentialsStaticConfig[Tag]) Build() (any, error) + type Default struct + type Head struct + ContentLength int64 + ContentType string + ETag string + SHA256 string + type PutOptions struct + ContentLength int64 + ContentType string + type Region string + func (Region) Usage() string + func (r Region) String() string + func (r Region) Validate() error + type SecretKey string + func (SecretKey) Usage() string + func (s SecretKey) String() string + func (s SecretKey) Validate() error + type UsePathStyle bool + func (UsePathStyle) Usage() string + func (UsePathStyle) Validate() error