Documentation
¶
Overview ¶
Package caddyfss3 implements a Caddy virtual filesystem module for AWS S3 (and compatible) object store.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
fs.FS `json:"-"`
// The name of the S3 bucket.
Bucket string `json:"bucket,omitempty"`
// The AWS region the bucket is hosted in.
Region string `json:"region,omitempty"`
// The AWS profile to use if multiple profiles are specified.
Profile string `json:"profile,omitempty"`
// Use non-standard endpoint for S3.
Endpoint string `json:"endpoint,omitempty"`
// Set this to `true` to enable the client to use path-style addressing.
UsePathStyle bool `json:"use_path_style,omitempty"`
// DEPRECATED: please use 'use_path_style' instead.
// Set this to `true` to force the request to use path-style addressing.
S3ForcePathStyle bool `json:"force_path_style,omitempty"`
}
FS is a Caddy virtual filesystem module for AWS S3 (and compatible) object store.
func (FS) CaddyModule ¶
func (FS) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*FS) Provision ¶
Provision implements the caddy.Provisioner interface.