Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureStorage ¶
type AzureStorage struct {
// contains filtered or unexported fields
}
AzureStorage manages saving archives to Azure Blob Storage
type FileStorage ¶
type FileStorage struct {
// contains filtered or unexported fields
}
FileStorage manages writing archives to disk
type HitStorage ¶
HitStorage is an interface for writing to a StoreType
func NewAzureStorage ¶
func NewAzureStorage(accountName string, accountKey string, container string) (HitStorage, error)
NewAzureStorage creates a new AzureStorage from credentials
func NewFileStorage ¶
func NewFileStorage(path string) (HitStorage, error)
NewFileStorage creates a new FileStorage from a path
func NewS3Storage ¶
func NewS3Storage(accessKeyID string, secretAccessKey string, bucket string, region string, useRole bool) (HitStorage, error)
NewS3Storage creates a new S3Storage instance
type S3Storage ¶
type S3Storage struct {
// contains filtered or unexported fields
}
S3Storage manages saving files to S3
Click to show internal directories.
Click to hide internal directories.