Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithEndpoint ¶
func WithEndpoint(endpoint string) containers.Option[Source]
WithEndpoint configures the region for s3
func WithPollInterval ¶
func WithPollInterval(tick time.Duration) containers.Option[Source]
WithPollInterval configures the interval in which we will restore the s3 fs.
func WithPrefix ¶ added in v1.25.0
func WithPrefix(prefix string) containers.Option[Source]
WithPrefix configures the prefix for s3
func WithRegion ¶
func WithRegion(region string) containers.Option[Source]
WithRegion configures the region for s3
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source represents an implementation of an fs.FSSource This implementation is backed by an S3 bucket
func NewSource ¶
func NewSource(logger *zap.Logger, bucket string, opts ...containers.Option[Source]) (*Source, error)
NewSource constructs a Source.
Click to show internal directories.
Click to hide internal directories.