Documentation ¶
Overview ¶
Package topo is a generated GoMock package.
Index ¶
- type MockTopoClient
- func (m *MockTopoClient) Create(ctx context.Context, in *topo.CreateRequest, opts ...grpc.CallOption) (*topo.CreateResponse, error)
- func (m *MockTopoClient) Delete(ctx context.Context, in *topo.DeleteRequest, opts ...grpc.CallOption) (*topo.DeleteResponse, error)
- func (m *MockTopoClient) EXPECT() *MockTopoClientMockRecorder
- func (m *MockTopoClient) Get(ctx context.Context, in *topo.GetRequest, opts ...grpc.CallOption) (*topo.GetResponse, error)
- func (m *MockTopoClient) List(ctx context.Context, in *topo.ListRequest, opts ...grpc.CallOption) (*topo.ListResponse, error)
- func (m *MockTopoClient) Update(ctx context.Context, in *topo.UpdateRequest, opts ...grpc.CallOption) (*topo.UpdateResponse, error)
- func (m *MockTopoClient) Watch(ctx context.Context, in *topo.WatchRequest, opts ...grpc.CallOption) (topo.Topo_WatchClient, error)
- type MockTopoClientMockRecorder
- func (mr *MockTopoClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockTopoClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockTopoServer
- func (m *MockTopoServer) Create(arg0 context.Context, arg1 *topo.CreateRequest) (*topo.CreateResponse, error)
- func (m *MockTopoServer) Delete(arg0 context.Context, arg1 *topo.DeleteRequest) (*topo.DeleteResponse, error)
- func (m *MockTopoServer) EXPECT() *MockTopoServerMockRecorder
- func (m *MockTopoServer) Get(arg0 context.Context, arg1 *topo.GetRequest) (*topo.GetResponse, error)
- func (m *MockTopoServer) List(arg0 context.Context, arg1 *topo.ListRequest) (*topo.ListResponse, error)
- func (m *MockTopoServer) Update(arg0 context.Context, arg1 *topo.UpdateRequest) (*topo.UpdateResponse, error)
- func (m *MockTopoServer) Watch(arg0 *topo.WatchRequest, arg1 topo.Topo_WatchServer) error
- type MockTopoServerMockRecorder
- func (mr *MockTopoServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTopoServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
- type MockTopo_WatchClient
- func (m *MockTopo_WatchClient) CloseSend() error
- func (m *MockTopo_WatchClient) Context() context.Context
- func (m *MockTopo_WatchClient) EXPECT() *MockTopo_WatchClientMockRecorder
- func (m *MockTopo_WatchClient) Header() (metadata.MD, error)
- func (m *MockTopo_WatchClient) Recv() (*topo.WatchResponse, error)
- func (m_2 *MockTopo_WatchClient) RecvMsg(m interface{}) error
- func (m_2 *MockTopo_WatchClient) SendMsg(m interface{}) error
- func (m *MockTopo_WatchClient) Trailer() metadata.MD
- type MockTopo_WatchClientMockRecorder
- func (mr *MockTopo_WatchClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Context() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Header() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Recv() *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchClientMockRecorder) Trailer() *gomock.Call
- type MockTopo_WatchServer
- func (m *MockTopo_WatchServer) Context() context.Context
- func (m *MockTopo_WatchServer) EXPECT() *MockTopo_WatchServerMockRecorder
- func (m_2 *MockTopo_WatchServer) RecvMsg(m interface{}) error
- func (m *MockTopo_WatchServer) Send(arg0 *topo.WatchResponse) error
- func (m *MockTopo_WatchServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockTopo_WatchServer) SendMsg(m interface{}) error
- func (m *MockTopo_WatchServer) SetHeader(arg0 metadata.MD) error
- func (m *MockTopo_WatchServer) SetTrailer(arg0 metadata.MD)
- type MockTopo_WatchServerMockRecorder
- func (mr *MockTopo_WatchServerMockRecorder) Context() *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockTopo_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockisFilter_Filter
- type MockisFilter_FilterMockRecorder
- type MockisObject_Obj
- type MockisObject_ObjMockRecorder
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 ¶
func (m *MockTopoClient) Create(ctx context.Context, in *topo.CreateRequest, opts ...grpc.CallOption) (*topo.CreateResponse, error)
Create mocks base method.
func (*MockTopoClient) Delete ¶
func (m *MockTopoClient) Delete(ctx context.Context, in *topo.DeleteRequest, opts ...grpc.CallOption) (*topo.DeleteResponse, error)
Delete mocks base method.
func (*MockTopoClient) EXPECT ¶
func (m *MockTopoClient) EXPECT() *MockTopoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopoClient) Get ¶
func (m *MockTopoClient) Get(ctx context.Context, in *topo.GetRequest, opts ...grpc.CallOption) (*topo.GetResponse, error)
Get mocks base method.
func (*MockTopoClient) List ¶
func (m *MockTopoClient) List(ctx context.Context, in *topo.ListRequest, opts ...grpc.CallOption) (*topo.ListResponse, error)
List mocks base method.
func (*MockTopoClient) Update ¶
func (m *MockTopoClient) Update(ctx context.Context, in *topo.UpdateRequest, opts ...grpc.CallOption) (*topo.UpdateResponse, error)
Update mocks base method.
func (*MockTopoClient) Watch ¶
func (m *MockTopoClient) Watch(ctx context.Context, in *topo.WatchRequest, opts ...grpc.CallOption) (topo.Topo_WatchClient, error)
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 ¶
func (m *MockTopoServer) Create(arg0 context.Context, arg1 *topo.CreateRequest) (*topo.CreateResponse, error)
Create mocks base method.
func (*MockTopoServer) Delete ¶
func (m *MockTopoServer) Delete(arg0 context.Context, arg1 *topo.DeleteRequest) (*topo.DeleteResponse, error)
Delete mocks base method.
func (*MockTopoServer) EXPECT ¶
func (m *MockTopoServer) EXPECT() *MockTopoServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopoServer) Get ¶
func (m *MockTopoServer) Get(arg0 context.Context, arg1 *topo.GetRequest) (*topo.GetResponse, error)
Get mocks base method.
func (*MockTopoServer) List ¶
func (m *MockTopoServer) List(arg0 context.Context, arg1 *topo.ListRequest) (*topo.ListResponse, error)
List mocks base method.
func (*MockTopoServer) Update ¶
func (m *MockTopoServer) Update(arg0 context.Context, arg1 *topo.UpdateRequest) (*topo.UpdateResponse, error)
Update mocks base method.
func (*MockTopoServer) Watch ¶
func (m *MockTopoServer) Watch(arg0 *topo.WatchRequest, arg1 topo.Topo_WatchServer) error
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 ¶
func (m *MockTopo_WatchClient) EXPECT() *MockTopo_WatchClientMockRecorder
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 ¶
func (m *MockTopo_WatchClient) Recv() (*topo.WatchResponse, error)
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 ¶
func (mr *MockTopo_WatchClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockTopo_WatchClientMockRecorder) Header ¶
func (mr *MockTopo_WatchClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockTopo_WatchClientMockRecorder) Recv ¶
func (mr *MockTopo_WatchClientMockRecorder) Recv() *gomock.Call
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 ¶
func (mr *MockTopo_WatchClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockTopo_WatchServer) EXPECT() *MockTopo_WatchServerMockRecorder
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 ¶
func (m *MockTopo_WatchServer) Send(arg0 *topo.WatchResponse) error
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 ¶
func (mr *MockTopo_WatchServerMockRecorder) Context() *gomock.Call
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 MockisFilter_Filter ¶
type MockisFilter_Filter struct {
// contains filtered or unexported fields
}
MockisFilter_Filter is a mock of isFilter_Filter interface.
func NewMockisFilter_Filter ¶
func NewMockisFilter_Filter(ctrl *gomock.Controller) *MockisFilter_Filter
NewMockisFilter_Filter creates a new mock instance.
func (*MockisFilter_Filter) EXPECT ¶
func (m *MockisFilter_Filter) EXPECT() *MockisFilter_FilterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockisFilter_FilterMockRecorder ¶
type MockisFilter_FilterMockRecorder struct {
// contains filtered or unexported fields
}
MockisFilter_FilterMockRecorder is the mock recorder for MockisFilter_Filter.
func (*MockisFilter_FilterMockRecorder) MarshalTo ¶
func (mr *MockisFilter_FilterMockRecorder) MarshalTo(arg0 interface{}) *gomock.Call
MarshalTo indicates an expected call of MarshalTo.
func (*MockisFilter_FilterMockRecorder) Size ¶
func (mr *MockisFilter_FilterMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
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 ¶
func (m *MockisObject_Obj) EXPECT() *MockisObject_ObjMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockisObject_ObjMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.