Documentation
¶
Index ¶
- func NewDispatcher(t *testing.T, tape *servicetest.Tape) rpc.Dispatcher
- type DeleteStimulus
- type GlobResponse
- type GlobStimulus
- type MockBinarydInvoker
- func (mdi *MockBinarydInvoker) Delete(ctx *context.T, _ rpc.ServerCall) error
- func (mdi *MockBinarydInvoker) Glob__(p *context.T, call rpc.GlobServerCall, g *glob.Glob) error
- func (mdi *MockBinarydInvoker) SimpleCore(callRecord interface{}, name string) error
- func (mdi *MockBinarydInvoker) Stat(ctx *context.T, _ rpc.ServerCall) ([]binary.PartInfo, repository.MediaInfo, error)
- type StatStimulus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDispatcher ¶
func NewDispatcher(t *testing.T, tape *servicetest.Tape) rpc.Dispatcher
Types ¶
type DeleteStimulus ¶
type GlobResponse ¶
type GlobStimulus ¶
type GlobStimulus struct {
Pattern string
}
type MockBinarydInvoker ¶
type MockBinarydInvoker struct { Suffix string Tape *servicetest.Tape // contains filtered or unexported fields }
func NewMockBinarydInvoker ¶
func NewMockBinarydInvoker(suffix string, tape *servicetest.Tape, t *testing.T) MockBinarydInvoker
func (*MockBinarydInvoker) Delete ¶
func (mdi *MockBinarydInvoker) Delete(ctx *context.T, _ rpc.ServerCall) error
func (*MockBinarydInvoker) Glob__ ¶
func (mdi *MockBinarydInvoker) Glob__(p *context.T, call rpc.GlobServerCall, g *glob.Glob) error
func (*MockBinarydInvoker) SimpleCore ¶
func (mdi *MockBinarydInvoker) SimpleCore(callRecord interface{}, name string) error
simpleCore implements the core of all mock methods that take arguments and return error.
func (*MockBinarydInvoker) Stat ¶
func (mdi *MockBinarydInvoker) Stat(ctx *context.T, _ rpc.ServerCall) ([]binary.PartInfo, repository.MediaInfo, error)
type StatStimulus ¶
Click to show internal directories.
Click to hide internal directories.