mock

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileStore

type FileStore struct {
	PutObjectFn    func(object []byte, key string) error
	GetObjectFn    func(key string) ([]byte, error)
	DeleteObjectFn func(key string) error
	BasePathValue  string
}

func (*FileStore) BasePath

func (m *FileStore) BasePath() string

func (*FileStore) DeleteObject

func (m *FileStore) DeleteObject(key string) error

func (*FileStore) GetObject

func (m *FileStore) GetObject(key string) ([]byte, error)

func (*FileStore) PutObject

func (m *FileStore) PutObject(object []byte, key string) error

Jump to

Keyboard shortcuts

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