binaryd

package
v0.0.0-...-ba1c585 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2017 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

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 DeleteStimulus struct {
	Op     string
	Suffix string
}

type GlobResponse

type GlobResponse struct {
	Results []string
	Err     error
}

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

type StatStimulus

type StatStimulus struct {
	Op     string
	Suffix string
}

Jump to

Keyboard shortcuts

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