Versions in this module Expand all Collapse all v0 v0.2.2 Oct 14, 2026 v0.2.1 Sep 9, 2026 Changes in this version + func LogDestinations() + func Upload(ctx context.Context, dests []Uploader, m Meta, outputFile string) error + func ValidateS3Config() error + type Meta struct + ChunkID string + HistoryID int64 + ScanID string + TeamID string + func (m Meta) Validate() error + type PlatformUploader struct + func NewPlatformUploader() *PlatformUploader + func (*PlatformUploader) Name() string + func (*PlatformUploader) Upload(ctx context.Context, m Meta, gzPath string, gzSize int64) (string, error) + type S3Config struct + AccessKeyID string + Bucket string + Endpoint string + Prefix string + Region string + SecretKey string + UsePathStyle bool + func S3ConfigFromEnv() S3Config + func (c S3Config) Enabled() bool + func (c S3Config) PlaintextWarning() string + func (c S3Config) Validate() error + type S3Uploader struct + func NewS3Uploader(cfg S3Config) *S3Uploader + func (*S3Uploader) Name() string + func (u *S3Uploader) Upload(ctx context.Context, m Meta, gzPath string, gzSize int64) (string, error) + type Uploader interface + Name func() string + Upload func(ctx context.Context, m Meta, gzPath string, gzSize int64) (location string, err error) + func Destinations() []Uploader