Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobClient ¶
type BlobClient interface { Create(ctx context.Context, objectName string, reader io.Reader) error Read(ctx context.Context, objectName string) (io.Reader, error) List(ctx context.Context) <-chan interface{} Delete(ctx context.Context, objectName string) error Close() error }
func CreateBlobClientFromConfig ¶
func CreateBlobClientFromConfig(configFilePath string) (BlobClient, error)
type BlobStorageConfig ¶
type BlobStorageConfig struct { Type BlobStorageType `yaml:"type"` Config interface{} `yaml:"config"` }
type BlobStorageType ¶
type BlobStorageType string
const ( GCS BlobStorageType = "GCS" S3 BlobStorageType = "S3" )
Click to show internal directories.
Click to hide internal directories.