client

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 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 string, filepath string) (*GCSWriter, error)

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