mocks

package
v0.7.9 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTopoClient

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

MockTopoClient is a mock of TopoClient interface

func NewMockTopoClient

func NewMockTopoClient(ctrl *gomock.Controller) *MockTopoClient

NewMockTopoClient creates a new mock instance

func (*MockTopoClient) Create

Create mocks base method

func (*MockTopoClient) Delete

Delete mocks base method

func (*MockTopoClient) EXPECT

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

func (*MockTopoClient) Get

Get mocks base method

func (*MockTopoClient) List

List mocks base method

func (*MockTopoClient) Update

Update mocks base method

func (*MockTopoClient) Watch

Watch mocks base method

type MockTopoClientMockRecorder

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

MockTopoClientMockRecorder is the mock recorder for MockTopoClient

func (*MockTopoClientMockRecorder) Create

func (mr *MockTopoClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTopoClientMockRecorder) Delete

func (mr *MockTopoClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTopoClientMockRecorder) Get

func (mr *MockTopoClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTopoClientMockRecorder) List

func (mr *MockTopoClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call

List indicates an expected call of List

func (*MockTopoClientMockRecorder) Update

func (mr *MockTopoClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockTopoClientMockRecorder) Watch

func (mr *MockTopoClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call

Watch indicates an expected call of Watch

type MockTopoServer

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

MockTopoServer is a mock of TopoServer interface

func NewMockTopoServer

func NewMockTopoServer(ctrl *gomock.Controller) *MockTopoServer

NewMockTopoServer creates a new mock instance

func (*MockTopoServer) Create

Create mocks base method

func (*MockTopoServer) Delete

Delete mocks base method

func (*MockTopoServer) EXPECT

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

func (*MockTopoServer) Get

Get mocks base method

func (*MockTopoServer) List

List mocks base method

func (*MockTopoServer) Update

Update mocks base method

func (*MockTopoServer) Watch

Watch mocks base method

type MockTopoServerMockRecorder

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

MockTopoServerMockRecorder is the mock recorder for MockTopoServer

func (*MockTopoServerMockRecorder) Create

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

Create indicates an expected call of Create

func (*MockTopoServerMockRecorder) Delete

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

Delete indicates an expected call of Delete

func (*MockTopoServerMockRecorder) Get

func (mr *MockTopoServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTopoServerMockRecorder) List

func (mr *MockTopoServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockTopoServerMockRecorder) Update

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

Update indicates an expected call of Update

func (*MockTopoServerMockRecorder) Watch

func (mr *MockTopoServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch

type MockTopo_WatchClient

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

MockTopo_WatchClient is a mock of Topo_WatchClient interface

func NewMockTopo_WatchClient

func NewMockTopo_WatchClient(ctrl *gomock.Controller) *MockTopo_WatchClient

NewMockTopo_WatchClient creates a new mock instance

func (*MockTopo_WatchClient) CloseSend

func (m *MockTopo_WatchClient) CloseSend() error

CloseSend mocks base method

func (*MockTopo_WatchClient) Context

func (m *MockTopo_WatchClient) Context() context.Context

Context mocks base method

func (*MockTopo_WatchClient) EXPECT

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

func (*MockTopo_WatchClient) Header

func (m *MockTopo_WatchClient) Header() (metadata.MD, error)

Header mocks base method

func (*MockTopo_WatchClient) Recv

Recv mocks base method

func (*MockTopo_WatchClient) RecvMsg

func (m_2 *MockTopo_WatchClient) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockTopo_WatchClient) SendMsg

func (m_2 *MockTopo_WatchClient) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockTopo_WatchClient) Trailer

func (m *MockTopo_WatchClient) Trailer() metadata.MD

Trailer mocks base method

type MockTopo_WatchClientMockRecorder

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

MockTopo_WatchClientMockRecorder is the mock recorder for MockTopo_WatchClient

func (*MockTopo_WatchClientMockRecorder) CloseSend

func (mr *MockTopo_WatchClientMockRecorder) CloseSend() *gomock.Call

CloseSend indicates an expected call of CloseSend

func (*MockTopo_WatchClientMockRecorder) Context

Context indicates an expected call of Context

func (*MockTopo_WatchClientMockRecorder) Header

Header indicates an expected call of Header

func (*MockTopo_WatchClientMockRecorder) Recv

Recv indicates an expected call of Recv

func (*MockTopo_WatchClientMockRecorder) RecvMsg

func (mr *MockTopo_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockTopo_WatchClientMockRecorder) SendMsg

func (mr *MockTopo_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockTopo_WatchClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer

type MockTopo_WatchServer

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

MockTopo_WatchServer is a mock of Topo_WatchServer interface

func NewMockTopo_WatchServer

func NewMockTopo_WatchServer(ctrl *gomock.Controller) *MockTopo_WatchServer

NewMockTopo_WatchServer creates a new mock instance

func (*MockTopo_WatchServer) Context

func (m *MockTopo_WatchServer) Context() context.Context

Context mocks base method

func (*MockTopo_WatchServer) EXPECT

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

func (*MockTopo_WatchServer) RecvMsg

func (m_2 *MockTopo_WatchServer) RecvMsg(m interface{}) error

RecvMsg mocks base method

func (*MockTopo_WatchServer) Send

Send mocks base method

func (*MockTopo_WatchServer) SendHeader

func (m *MockTopo_WatchServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method

func (*MockTopo_WatchServer) SendMsg

func (m_2 *MockTopo_WatchServer) SendMsg(m interface{}) error

SendMsg mocks base method

func (*MockTopo_WatchServer) SetHeader

func (m *MockTopo_WatchServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method

func (*MockTopo_WatchServer) SetTrailer

func (m *MockTopo_WatchServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method

type MockTopo_WatchServerMockRecorder

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

MockTopo_WatchServerMockRecorder is the mock recorder for MockTopo_WatchServer

func (*MockTopo_WatchServerMockRecorder) Context

Context indicates an expected call of Context

func (*MockTopo_WatchServerMockRecorder) RecvMsg

func (mr *MockTopo_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg

func (*MockTopo_WatchServerMockRecorder) Send

func (mr *MockTopo_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send

func (*MockTopo_WatchServerMockRecorder) SendHeader

func (mr *MockTopo_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader

func (*MockTopo_WatchServerMockRecorder) SendMsg

func (mr *MockTopo_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg

func (*MockTopo_WatchServerMockRecorder) SetHeader

func (mr *MockTopo_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader

func (*MockTopo_WatchServerMockRecorder) SetTrailer

func (mr *MockTopo_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer

type MockisObject_Obj

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

MockisObject_Obj is a mock of isObject_Obj interface

func NewMockisObject_Obj

func NewMockisObject_Obj(ctrl *gomock.Controller) *MockisObject_Obj

NewMockisObject_Obj creates a new mock instance

func (*MockisObject_Obj) EXPECT

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

func (*MockisObject_Obj) MarshalTo

func (m *MockisObject_Obj) MarshalTo(arg0 []byte) (int, error)

MarshalTo mocks base method

func (*MockisObject_Obj) Size

func (m *MockisObject_Obj) Size() int

Size mocks base method

type MockisObject_ObjMockRecorder

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

MockisObject_ObjMockRecorder is the mock recorder for MockisObject_Obj

func (*MockisObject_ObjMockRecorder) MarshalTo

func (mr *MockisObject_ObjMockRecorder) MarshalTo(arg0 interface{}) *gomock.Call

MarshalTo indicates an expected call of MarshalTo

func (*MockisObject_ObjMockRecorder) Size

Size indicates an expected call of Size

Jump to

Keyboard shortcuts

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