client

package
v0.10.6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCSWriter

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

func NewWriter

func NewWriter(ctx context.Context, serviceAccountJSON []byte, bucketname, filepath string) (*GCSWriter, error)

NewWriter creates a new GCS writer.

func (*GCSWriter) Close

func (c *GCSWriter) Close() error

func (*GCSWriter) WriteData

func (c *GCSWriter) WriteData(data []byte) error

type Writer

type Writer interface {
	WriteData([]byte) error
	Close() error
}

Jump to

Keyboard shortcuts

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