storage

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Overview

Package storage contains Storage client wrappers to be able to UT things.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

Client matches the interface exposed by storage.Client see https://godoc.org/cloud.google.com/go/storage#Client

func NewClient

func NewClient(ctx context.Context, opts ...option.ClientOption) (Client, error)

NewClient creates a new wrapped Storage client.

type CreateFn

type CreateFn func(ctx context.Context, opts ...option.ClientOption) (Client, error)

CreateFn is a factory function to create a Storage client.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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