fake

package
v10.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake

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

func New

func New() *Fake

func (*Fake) CreateBucket

func (f *Fake) CreateBucket(name string) (string, error)

CreateBucket provisions a new in-memory bucket

func (*Fake) DeleteBucket

func (f *Fake) DeleteBucket(name string) error

DeleteBucket deprovisions an in-memory bucket

func (*Fake) Start

func (f *Fake) Start() error

Start starts a new fake object storage server

func (*Fake) Stop

func (f *Fake) Stop() error

Stop closes the http server for the fake driver

func (*Fake) String

func (f *Fake) String() string

String name representation of driver

Jump to

Keyboard shortcuts

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