Documentation ¶
Index ¶
- func ListZipFile(ctx context.Context, client *storage.Client, bucketName, zipObjectName string, ...) ([]*zip.File, *storage.ObjectAttrs, error)
- func OpenFromZip(ctx context.Context, client *storage.Client, oa *storage.ObjectAttrs, ...) (io.ReadCloser, error)
- func Reopen(ctx context.Context, client *storage.Client, ...) (io.ReadCloser, *zip.File, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListZipFile ¶
func ListZipFile(ctx context.Context, client *storage.Client, bucketName, zipObjectName string, maxParallelism int, generation int64) ([]*zip.File, *storage.ObjectAttrs, error)
ListZipFile lists zip archive contents from a GCS file. The results can be used for local parallel operationers or to set up distributed processing. For distributed processing, the returned ObjectAttrs.Generation is important to retain, to ensure operations proceed only on the originally listed GCS object. client may be nil, in which case a default client will be instantiated. `generation` may be 0 if unknown.
func OpenFromZip ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.