Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockResource
- func (m *MockResource) Close() error
- func (m *MockResource) EXPECT() *MockResourceMockRecorder
- func (m *MockResource) Fetch(target string) ([][]byte, error)
- func (m *MockResource) Listen(target string) error
- func (m *MockResource) Open() error
- func (m *MockResource) Publish(target string, payload []byte) error
- func (m *MockResource) PublishFromFile(target, file string) error
- func (m *MockResource) Ready() error
- func (m *MockResource) Reset() error
- type MockResourceMockRecorder
- func (mr *MockResourceMockRecorder) Close() *gomock.Call
- func (mr *MockResourceMockRecorder) Fetch(target interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) Listen(target interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) Open() *gomock.Call
- func (mr *MockResourceMockRecorder) Publish(target, payload interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) PublishFromFile(target, file interface{}) *gomock.Call
- func (mr *MockResourceMockRecorder) Ready() *gomock.Call
- func (mr *MockResourceMockRecorder) Reset() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockResource ¶ added in v1.4.1
type MockResource struct {
// contains filtered or unexported fields
}
MockResource is a mock of Resource interface
func NewMockResource ¶ added in v1.4.1
func NewMockResource(ctrl *gomock.Controller) *MockResource
NewMockResource creates a new mock instance
func (*MockResource) Close ¶ added in v1.4.1
func (m *MockResource) Close() error
Close mocks base method
func (*MockResource) EXPECT ¶ added in v1.4.1
func (m *MockResource) EXPECT() *MockResourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResource) Fetch ¶ added in v1.4.1
func (m *MockResource) Fetch(target string) ([][]byte, error)
Fetch mocks base method
func (*MockResource) Listen ¶ added in v1.4.1
func (m *MockResource) Listen(target string) error
Listen mocks base method
func (*MockResource) Open ¶ added in v1.4.1
func (m *MockResource) Open() error
Open mocks base method
func (*MockResource) Publish ¶ added in v1.4.1
func (m *MockResource) Publish(target string, payload []byte) error
Publish mocks base method
func (*MockResource) PublishFromFile ¶ added in v1.4.1
func (m *MockResource) PublishFromFile(target, file string) error
PublishFromFile mocks base method
func (*MockResource) Ready ¶ added in v1.4.1
func (m *MockResource) Ready() error
Ready mocks base method
func (*MockResource) Reset ¶ added in v1.4.1
func (m *MockResource) Reset() error
Reset mocks base method
type MockResourceMockRecorder ¶ added in v1.4.1
type MockResourceMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceMockRecorder is the mock recorder for MockResource
func (*MockResourceMockRecorder) Close ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockResourceMockRecorder) Fetch ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) Fetch(target interface{}) *gomock.Call
Fetch indicates an expected call of Fetch
func (*MockResourceMockRecorder) Listen ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) Listen(target interface{}) *gomock.Call
Listen indicates an expected call of Listen
func (*MockResourceMockRecorder) Open ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) Open() *gomock.Call
Open indicates an expected call of Open
func (*MockResourceMockRecorder) Publish ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) Publish(target, payload interface{}) *gomock.Call
Publish indicates an expected call of Publish
func (*MockResourceMockRecorder) PublishFromFile ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) PublishFromFile(target, file interface{}) *gomock.Call
PublishFromFile indicates an expected call of PublishFromFile
func (*MockResourceMockRecorder) Ready ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) Ready() *gomock.Call
Ready indicates an expected call of Ready
func (*MockResourceMockRecorder) Reset ¶ added in v1.4.1
func (mr *MockResourceMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset