storehost

package
v1.19.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBStoreOpenAppendStreamOutCall

type MockBStoreOpenAppendStreamOutCall struct {
	mock.Mock
}

MockBStoreOpenAppendStreamOutCall is the mock of store.BStoreOpenAppendStreamOutCall this can be used by all clients of storehost to write messages for example: inputhost will use this to test its write path

func (*MockBStoreOpenAppendStreamOutCall) Done

Done is the mock of the corresponding store. method

func (*MockBStoreOpenAppendStreamOutCall) Flush

Flush is the mock of the corresponding store. method

func (*MockBStoreOpenAppendStreamOutCall) Read

Read is the mock of the corresponding store. method

func (*MockBStoreOpenAppendStreamOutCall) ResponseHeaders

func (m *MockBStoreOpenAppendStreamOutCall) ResponseHeaders() (map[string]string, error)

ResponseHeaders is the mock of the corresponding store. method

func (*MockBStoreOpenAppendStreamOutCall) Write

Write is the mock of the corresponding store. method

type MockBStoreOpenReadStreamOutCall

type MockBStoreOpenReadStreamOutCall struct {
	mock.Mock
}

MockBStoreOpenReadStreamOutCall is the mock of store.BStoreOpenReadStreamOutCall this can be used by all clients of storehost to write messages for example: inputhost will use this to test its write path

func (*MockBStoreOpenReadStreamOutCall) Done

Done is the mock of the corresponding store. method

func (*MockBStoreOpenReadStreamOutCall) Flush

Flush is the mock of the corresponding store. method

func (*MockBStoreOpenReadStreamOutCall) Read

Read is the mock of the corresponding store. method

func (*MockBStoreOpenReadStreamOutCall) ResponseHeaders

func (m *MockBStoreOpenReadStreamOutCall) ResponseHeaders() (map[string]string, error)

ResponseHeaders is the mock of the corresponding store. method

func (*MockBStoreOpenReadStreamOutCall) Write

Write is the mock of the corresponding store. method

type MockStoreHost

type MockStoreHost struct {
	mock.Mock
}

MockStoreHost is a mock of the storehost used for testing

func (*MockStoreHost) GetAddressFromTimestamp

func (m *MockStoreHost) GetAddressFromTimestamp(ctx thrift.Context, getAddressRequest *store.GetAddressFromTimestampRequest) (*store.GetAddressFromTimestampResult_, error)

GetAddressFromTimestamp is a mock of the corresponding storehost routinee

func (*MockStoreHost) GetExtentInfo

func (m *MockStoreHost) GetExtentInfo(ctx thrift.Context, extentInfoRequest *store.GetExtentInfoRequest) (*store.ExtentInfo, error)

GetExtentInfo is a mock of the corresponding storehost routinee

func (*MockStoreHost) ListExtents added in v1.26.0

func (m *MockStoreHost) ListExtents(ctx thrift.Context) (*store.ListExtentsResult_, error)

ListExtents is a mock of the corresponding storehost routine

func (*MockStoreHost) OpenAppendStream

OpenAppendStream is a mock of the corresponding storehost routinee

func (*MockStoreHost) OpenReadStream

OpenReadStream is a mock of the corresponding storehost routinee

func (*MockStoreHost) PurgeMessages

func (m *MockStoreHost) PurgeMessages(ctx thrift.Context, purgeMessagesRequest *store.PurgeMessagesRequest) (*store.PurgeMessagesResult_, error)

PurgeMessages is a mock of the corresponding storehost routine

func (*MockStoreHost) ReadMessages

func (m *MockStoreHost) ReadMessages(ctx thrift.Context, readMessagesRequest *store.ReadMessagesRequest) (*store.ReadMessagesResult_, error)

ReadMessages is a mock of the corresponding storehost routine

func (*MockStoreHost) RemoteReplicateExtent

func (m *MockStoreHost) RemoteReplicateExtent(ctx thrift.Context, request *store.RemoteReplicateExtentRequest) error

RemoteReplicateExtent is a mock of the corresponding storehost routine

func (*MockStoreHost) ReplicateExtent

func (m *MockStoreHost) ReplicateExtent(ctx thrift.Context, replicateExtentRequest *store.ReplicateExtentRequest) error

ReplicateExtent is a mock of the corresponding storehost routine

func (*MockStoreHost) SealExtent

func (m *MockStoreHost) SealExtent(ctx thrift.Context, sealRequest *store.SealExtentRequest) error

SealExtent is a mock of the corresponding storehost routinee

Jump to

Keyboard shortcuts

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