gsutil

package
v0.0.0-...-fed554d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package gsutil contains utility functions for Google Storage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSignedURL

func GenerateSignedURL(ctx context.Context, gsClient *storage.Client, bucket, object string,
	expiration time.Time, opts *storage.SignedURLOptions) (string, error)

GenerateSignedURL generates object signed URL.

func Split

func Split(path string) (bucket string, filename string)

Split returns the bucket and filename components of the Path.

Types

type Key

type Key string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL