gcsfake

package
v0.0.0-...-cfd7a7c Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Fake implementations of GCS interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConn

func NewConn(clock timeutil.Clock) (c gcs.Conn)

Create an "in-memory GCS" that allows access to buckets of any name, each initially with empty contents. The supplied clock will be used for generating timestamps.

func NewFakeBucket

func NewFakeBucket(clock timeutil.Clock, name string) gcs.Bucket

Equivalent to NewConn(clock).GetBucket(name).

Types

This section is empty.

Jump to

Keyboard shortcuts

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