Documentation
¶
Index ¶
Constants ¶
View Source
const (
Name = "usage-s3"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type S3Storage ¶
type S3Storage struct {
*common.BaseStorage
// contains filtered or unexported fields
}
S3Storage implements the StorageBackend interface for S3
func NewS3Storage ¶
func NewS3Storage(ctx context.Context, logger logrus.FieldLogger, metrics *common.Metrics) (*S3Storage, error)
NewS3Storage creates a new S3 storage backend
func (*S3Storage) UpdateConfig ¶
func (s *S3Storage) UpdateConfig(config common.StorageConfig) (bool, error)
UpdateConfig updates the backend configuration from the provided config
func (*S3Storage) UploadUsageData ¶
UploadUsageData uploads the usage data to the storage backend
Click to show internal directories.
Click to hide internal directories.