coretest

package
Version: v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObjectStore

type MockObjectStore struct {
	Objects map[string][]byte
}

func NewMockObjectStore

func NewMockObjectStore() *MockObjectStore

func (*MockObjectStore) Get

func (objstore *MockObjectStore) Get(path string, subpath ...string) ([]byte, error)

func (*MockObjectStore) Put

func (objstore *MockObjectStore) Put(data []byte, path string, subpath ...string) error

Source Files

Jump to

Keyboard shortcuts

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