Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBase ¶
MockBase is a basic mock with no read/write operations.
func NewMockBase ¶
func NewMockBase() *MockBase
NewMockBase creates a new "mock" entry without read/write.
func (*MockBase) Schema ¶
func (m *MockBase) Schema() *plugin.EntrySchema
Schema returns a simple schema.
type MockBlockReadWrite ¶
type MockBlockReadWrite struct {
MockBase
}
MockBlockReadWrite mocks block read and write operations.
func NewMockBlockReadWrite ¶
func NewMockBlockReadWrite() *MockBlockReadWrite
NewMockBlockReadWrite creates a new "mock" entry for (block) reads and writes.
type MockReadWrite ¶
type MockReadWrite struct {
MockBase
}
MockReadWrite mocks read and write operations.
func NewMockReadWrite ¶
func NewMockReadWrite() *MockReadWrite
NewMockReadWrite creates a new "mock" entry for reads and writes.
Click to show internal directories.
Click to hide internal directories.