r2

package
v0.0.0-...-9649366 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthError

func NewAuthError(msg string) error

NewAuthError creates a new not found Error.

func NewBadInputError

func NewBadInputError(msg string) error

NewBadInputError creates a new Bad Input Error.

func NewConflictError

func NewConflictError(msg string) error

NewConflictError creates a new Conflict Error

func NewInternalError

func NewInternalError(msg string) error

NewInternalError returns a new error that isn't covered by the other error types.

func NewNotFoundError

func NewNotFoundError(msg string) error

NewNotFoundError creates a new not found Error.

func NewService

func NewService(
	rootPrefix string,
	authService auth.HTTPAuthService,
	store store.Store,
	iOpts instrument.Options,
	clockOpts clock.Options,
) mservice.Service

NewService creates a new r2 service using a given store.

func NewVersionError

func NewVersionError(msg string) error

NewVersionError creates a new Version Error

Types

This section is empty.

Directories

Path Synopsis
Package store is a generated GoMock package.
Package store is a generated GoMock package.
kv

Jump to

Keyboard shortcuts

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