mock

package
Version: v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Protobuf

type Protobuf struct {
	MarshalStub func(proto.Message) ([]byte, error)

	UnmarshalStub func([]byte, proto.Message) error
	// contains filtered or unexported fields
}

func (*Protobuf) Invocations

func (fake *Protobuf) Invocations() map[string][][]interface{}

func (*Protobuf) Marshal

func (fake *Protobuf) Marshal(arg1 proto.Message) ([]byte, error)

func (*Protobuf) MarshalArgsForCall

func (fake *Protobuf) MarshalArgsForCall(i int) proto.Message

func (*Protobuf) MarshalCallCount

func (fake *Protobuf) MarshalCallCount() int

func (*Protobuf) MarshalCalls

func (fake *Protobuf) MarshalCalls(stub func(proto.Message) ([]byte, error))

func (*Protobuf) MarshalReturns

func (fake *Protobuf) MarshalReturns(result1 []byte, result2 error)

func (*Protobuf) MarshalReturnsOnCall

func (fake *Protobuf) MarshalReturnsOnCall(i int, result1 []byte, result2 error)

func (*Protobuf) Unmarshal

func (fake *Protobuf) Unmarshal(arg1 []byte, arg2 proto.Message) error

func (*Protobuf) UnmarshalArgsForCall

func (fake *Protobuf) UnmarshalArgsForCall(i int) ([]byte, proto.Message)

func (*Protobuf) UnmarshalCallCount

func (fake *Protobuf) UnmarshalCallCount() int

func (*Protobuf) UnmarshalCalls

func (fake *Protobuf) UnmarshalCalls(stub func([]byte, proto.Message) error)

func (*Protobuf) UnmarshalReturns

func (fake *Protobuf) UnmarshalReturns(result1 error)

func (*Protobuf) UnmarshalReturnsOnCall

func (fake *Protobuf) UnmarshalReturnsOnCall(i int, result1 error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL