Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectStorageService ¶
type ObjectStorageService interface {
PresignedGetObject(ctx context.Context, bucketName, objectName string, expiry time.Duration) (string, error)
PresignedPutObject(ctx context.Context, bucketName, objectName string) (string, error)
GetObject(ctx context.Context, bucketName, objectName string) (string, error)
PutObject(ctx context.Context, bucketName, objectName, filePath string) error
ObjectExists(ctx context.Context, bucketName, objectName string) error
HealthCheck() error
RemoveObject(ctx context.Context, bucketName string, objectName string) error
}
func NewDigitalOceanWithMinio ¶
func NewDigitalOceanWithMinio(cfg *config.Configuration) ObjectStorageService
Click to show internal directories.
Click to hide internal directories.