gcs

package
v0.51.6 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS added in v0.49.0

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

func (*FS) Open added in v0.49.0

func (fsys *FS) Open(name string) (fs.File, error)

type GCS

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

func New

func New(client *storage.Client, bucket, prefix string) (*GCS, error)

func (*GCS) FS

func (g *GCS) FS() (fs.FS, error)

func (*GCS) Put added in v0.27.0

func (g *GCS) Put(ctx context.Context, path string, content []byte) error

func (*GCS) StoreReport added in v0.27.0

func (g *GCS) StoreReport(ctx context.Context, r *report.Report) error

Jump to

Keyboard shortcuts

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