Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobObjectClient ¶
type BlobObjectClient interface {
Objects(ctx context.Context, bucket string, query *storage.Query) ObjectIterator
}
BlobObjectClient This is used to abstract actual gcs client
func NewClient ¶
func NewClient(keyFilePath string) (BlobObjectClient, error)
type BlobStorageClient ¶
type BlobStorageClient interface {
ListDlqMetadata(bucketInfo BucketInfo) ([]models.DlqMetadata, error)
}
BlobStorageClient This is used in service
type BucketInfo ¶
type Client ¶
type Client struct {
StorageClient BlobObjectClient
}
func (Client) ListDlqMetadata ¶
func (client Client) ListDlqMetadata(bucketInfo BucketInfo) ([]models.DlqMetadata, error)
type ObjectIterator ¶
type ObjectIterator interface {
Next() (*storage.ObjectAttrs, error)
}
Click to show internal directories.
Click to hide internal directories.