storage

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package storage implements Google Cloud Storage client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudStorageClient

type CloudStorageClient struct {
	// contains filtered or unexported fields
}

func NewCloudStorageClient

func NewCloudStorageClient(ctx context.Context) (*CloudStorageClient, error)

func NewCloudStorageClientWithCredentialsFile

func NewCloudStorageClientWithCredentialsFile(ctx context.Context, credentialsFile string) (*CloudStorageClient, error)

func (*CloudStorageClient) BucketExists

func (c *CloudStorageClient) BucketExists(bucketName string) bool

func (*CloudStorageClient) Close

func (c *CloudStorageClient) Close() error

func (*CloudStorageClient) Write

func (c *CloudStorageClient) Write(bucketName, objectName string, content []byte) error

Jump to

Keyboard shortcuts

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