syzkaller: Index | Files

package gcs

import ""

Package gcs provides wrappers around Google Cloud Storage (GCS) APIs. Package uses Application Default Credentials assuming that the program runs on GCE.

See the following links for details and API reference:


Package Files



const PublicPrefix = ""

Where things get published.

type Client Uses

type Client struct {
    // contains filtered or unexported fields

func NewClient Uses

func NewClient() (*Client, error)

func (*Client) Close Uses

func (client *Client) Close()

func (*Client) FileWriter Uses

func (client *Client) FileWriter(gcsFile string) (io.WriteCloser, error)

func (*Client) Publish Uses

func (client *Client) Publish(gcsFile string) error

Publish lets any user read gcsFile.

func (*Client) Read Uses

func (client *Client) Read(gcsFile string) (*File, error)

func (*Client) UploadFile Uses

func (client *Client) UploadFile(localFile, gcsFile string) error

type File Uses

type File struct {
    Updated time.Time
    // contains filtered or unexported fields

func (*File) Reader Uses

func (file *File) Reader() (io.ReadCloser, error)

Package gcs imports 7 packages (graph) and is imported by 4 packages. Updated 2018-09-28. Refresh now. Tools for package owners.