gcs

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 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 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

type GCSFS

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

func (*GCSFS) Open

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

Jump to

Keyboard shortcuts

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