mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLogStore

type MockLogStore struct {
	// contains filtered or unexported fields
}

MockLogStore is a mock of LogStore interface

func NewMockLogStore

func NewMockLogStore(ctrl *gomock.Controller) *MockLogStore

NewMockLogStore creates a new mock instance

func (*MockLogStore) Create

func (m *MockLogStore) Create(arg0 io.Reader) (int64, error)

Create mocks base method

func (*MockLogStore) Delete

func (m *MockLogStore) Delete(arg0 int64) error

Delete mocks base method

func (*MockLogStore) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLogStore) Exists

func (m *MockLogStore) Exists(arg0 int64) bool

Exists mocks base method

func (*MockLogStore) Find

func (m *MockLogStore) Find(arg0 int64) (io.ReadCloser, error)

Find mocks base method

func (*MockLogStore) Update

func (m *MockLogStore) Update(arg0 int64, arg1 io.Reader) error

Update mocks base method

type MockLogStoreMockRecorder

type MockLogStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogStoreMockRecorder is the mock recorder for MockLogStore

func (*MockLogStoreMockRecorder) Create

func (mr *MockLogStoreMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockLogStoreMockRecorder) Delete

func (mr *MockLogStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockLogStoreMockRecorder) Exists

func (mr *MockLogStoreMockRecorder) Exists(arg0 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockLogStoreMockRecorder) Find

func (mr *MockLogStoreMockRecorder) Find(arg0 interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockLogStoreMockRecorder) Update

func (mr *MockLogStoreMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockLogStream

type MockLogStream struct {
	// contains filtered or unexported fields
}

MockLogStream is a mock of LogStream interface

func NewMockLogStream

func NewMockLogStream(ctrl *gomock.Controller) *MockLogStream

NewMockLogStream creates a new mock instance

func (*MockLogStream) Create

func (m *MockLogStream) Create(arg0 context.Context, arg1 int64) error

Create mocks base method

func (*MockLogStream) Delete

func (m *MockLogStream) Delete(arg0 context.Context, arg1 int64) error

Delete mocks base method

func (*MockLogStream) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLogStream) Tail

func (m *MockLogStream) Tail(arg0 context.Context, arg1 int64) (<-chan *core.LogLine, error)

Tail mocks base method

func (*MockLogStream) Write

func (m *MockLogStream) Write(arg0 context.Context, arg1 int64, arg2 *core.LogLine) error

Write mocks base method

type MockLogStreamMockRecorder

type MockLogStreamMockRecorder struct {
	// contains filtered or unexported fields
}

MockLogStreamMockRecorder is the mock recorder for MockLogStream

func (*MockLogStreamMockRecorder) Create

func (mr *MockLogStreamMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockLogStreamMockRecorder) Delete

func (mr *MockLogStreamMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockLogStreamMockRecorder) Tail

func (mr *MockLogStreamMockRecorder) Tail(arg0, arg1 interface{}) *gomock.Call

Tail indicates an expected call of Tail

func (*MockLogStreamMockRecorder) Write

func (mr *MockLogStreamMockRecorder) Write(arg0, arg1, arg2 interface{}) *gomock.Call

Write indicates an expected call of Write

Jump to

Keyboard shortcuts

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