Documentation
¶
Overview ¶
Package s3 is the object-storage source: an S3 or S3-compatible bucket (MinIO, Ceph RGW) listed by poll and read on demand.
Credentials come from the standard AWS chain (environment, shared config, SSO, IRSA, instance profiles) via aws-sdk-go-v2; nothing secret lives in the andino-kb YAML. A custom endpoint plus path-style addressing covers MinIO and friends.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct {
// contains filtered or unexported fields
}
func New ¶
New builds the source. The client construction is separated behind a small hook so tests can point it at a fake server.
func NewWithClient ¶
NewWithClient wires a prebuilt client (tests, custom credential setups).
type Options ¶
type Options struct {
Name string
Bucket string
Prefix string // key prefix inside the bucket; stripped from RelPath
Region string // optional; the chain's default applies otherwise
Endpoint string // optional custom endpoint (MinIO)
PathStyle bool // path-style addressing, required by most MinIO setups
Paths []string // doublestar globs over the stripped key; empty = all
Exts []string // extractor extension allowlist
}
Click to show internal directories.
Click to hide internal directories.