Documentation
¶
Overview ¶
Provides an abstraction layer for interacting with different cloud storage providers, simplifying data upload and download operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GcsBucket ¶
type GcsBucket struct { Bucket string `mapstructure:"bucket"` Path string `mapstructure:"path,omitempty"` }
GcsBucket represents a Google Cloud Storage bucket configuration.
type S3Bucket ¶
type S3Bucket struct { Region string `mapstructure:"region"` Bucket string `mapstructure:"bucket"` Path string `mapstructure:"path,omitempty"` }
S3Bucket represents an Amazon S3 bucket configuration.
type Secret ¶
type Secret struct {
// contains filtered or unexported fields
}
Secret represents a container for secret data.
type Storage ¶
type Storage struct { Name string `mapstructure:"name"` Type string `mapstructure:"type"` S3Bucket S3Bucket `mapstructure:"s3,omitempty"` GcsBucket GcsBucket `mapstructure:"gcs,omitempty"` }
Storage represents a configuration for different storage types.
Click to show internal directories.
Click to hide internal directories.