Documentation ¶
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 MockisObject_Obj
- type MockisObject_ObjMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTopoClient ¶ added in v0.7.1
type MockTopoClient struct {
// contains filtered or unexported fields
}
MockTopoClient is a mock of TopoClient interface
func NewMockTopoClient ¶ added in v0.7.1
func NewMockTopoClient(ctrl *gomock.Controller) *MockTopoClient
NewMockTopoClient creates a new mock instance
func (*MockTopoClient) Create ¶ added in v0.7.1
func (m *MockTopoClient) Create(ctx context.Context, in *topo.CreateRequest, opts ...grpc.CallOption) (*topo.CreateResponse, error)
Create mocks base method
func (*MockTopoClient) Delete ¶ added in v0.7.1
func (m *MockTopoClient) Delete(ctx context.Context, in *topo.DeleteRequest, opts ...grpc.CallOption) (*topo.DeleteResponse, error)
Delete mocks base method
func (*MockTopoClient) EXPECT ¶ added in v0.7.1
func (m *MockTopoClient) EXPECT() *MockTopoClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopoClient) Get ¶ added in v0.7.1
func (m *MockTopoClient) Get(ctx context.Context, in *topo.GetRequest, opts ...grpc.CallOption) (*topo.GetResponse, error)
Get mocks base method
func (*MockTopoClient) List ¶ added in v0.7.1
func (m *MockTopoClient) List(ctx context.Context, in *topo.ListRequest, opts ...grpc.CallOption) (*topo.ListResponse, error)
List mocks base method
func (*MockTopoClient) Update ¶ added in v0.7.1
func (m *MockTopoClient) Update(ctx context.Context, in *topo.UpdateRequest, opts ...grpc.CallOption) (*topo.UpdateResponse, error)
Update mocks base method
func (*MockTopoClient) Watch ¶ added in v0.7.1
func (m *MockTopoClient) Watch(ctx context.Context, in *topo.WatchRequest, opts ...grpc.CallOption) (topo.Topo_WatchClient, error)
Watch mocks base method
type MockTopoClientMockRecorder ¶ added in v0.7.1
type MockTopoClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTopoClientMockRecorder is the mock recorder for MockTopoClient
func (*MockTopoClientMockRecorder) Create ¶ added in v0.7.1
func (mr *MockTopoClientMockRecorder) Create(ctx, in interface{}, opts ...interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockTopoClientMockRecorder) Delete ¶ added in v0.7.1
func (mr *MockTopoClientMockRecorder) Delete(ctx, in interface{}, opts ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTopoClientMockRecorder) Get ¶ added in v0.7.1
func (mr *MockTopoClientMockRecorder) Get(ctx, in interface{}, opts ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTopoClientMockRecorder) List ¶ added in v0.7.1
func (mr *MockTopoClientMockRecorder) List(ctx, in interface{}, opts ...interface{}) *gomock.Call
List indicates an expected call of List
func (*MockTopoClientMockRecorder) Update ¶ added in v0.7.1
func (mr *MockTopoClientMockRecorder) Update(ctx, in interface{}, opts ...interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockTopoClientMockRecorder) Watch ¶ added in v0.7.1
func (mr *MockTopoClientMockRecorder) Watch(ctx, in interface{}, opts ...interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockTopoServer ¶ added in v0.7.1
type MockTopoServer struct {
// contains filtered or unexported fields
}
MockTopoServer is a mock of TopoServer interface
func NewMockTopoServer ¶ added in v0.7.1
func NewMockTopoServer(ctrl *gomock.Controller) *MockTopoServer
NewMockTopoServer creates a new mock instance
func (*MockTopoServer) Create ¶ added in v0.7.1
func (m *MockTopoServer) Create(arg0 context.Context, arg1 *topo.CreateRequest) (*topo.CreateResponse, error)
Create mocks base method
func (*MockTopoServer) Delete ¶ added in v0.7.1
func (m *MockTopoServer) Delete(arg0 context.Context, arg1 *topo.DeleteRequest) (*topo.DeleteResponse, error)
Delete mocks base method
func (*MockTopoServer) EXPECT ¶ added in v0.7.1
func (m *MockTopoServer) EXPECT() *MockTopoServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopoServer) Get ¶ added in v0.7.1
func (m *MockTopoServer) Get(arg0 context.Context, arg1 *topo.GetRequest) (*topo.GetResponse, error)
Get mocks base method
func (*MockTopoServer) List ¶ added in v0.7.1
func (m *MockTopoServer) List(arg0 context.Context, arg1 *topo.ListRequest) (*topo.ListResponse, error)
List mocks base method
func (*MockTopoServer) Update ¶ added in v0.7.1
func (m *MockTopoServer) Update(arg0 context.Context, arg1 *topo.UpdateRequest) (*topo.UpdateResponse, error)
Update mocks base method
func (*MockTopoServer) Watch ¶ added in v0.7.1
func (m *MockTopoServer) Watch(arg0 *topo.WatchRequest, arg1 topo.Topo_WatchServer) error
Watch mocks base method
type MockTopoServerMockRecorder ¶ added in v0.7.1
type MockTopoServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTopoServerMockRecorder is the mock recorder for MockTopoServer
func (*MockTopoServerMockRecorder) Create ¶ added in v0.7.1
func (mr *MockTopoServerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockTopoServerMockRecorder) Delete ¶ added in v0.7.1
func (mr *MockTopoServerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTopoServerMockRecorder) Get ¶ added in v0.7.1
func (mr *MockTopoServerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTopoServerMockRecorder) List ¶ added in v0.7.1
func (mr *MockTopoServerMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockTopoServerMockRecorder) Update ¶ added in v0.7.1
func (mr *MockTopoServerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockTopoServerMockRecorder) Watch ¶ added in v0.7.1
func (mr *MockTopoServerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockTopo_WatchClient ¶ added in v0.7.1
type MockTopo_WatchClient struct {
// contains filtered or unexported fields
}
MockTopo_WatchClient is a mock of Topo_WatchClient interface
func NewMockTopo_WatchClient ¶ added in v0.7.1
func NewMockTopo_WatchClient(ctrl *gomock.Controller) *MockTopo_WatchClient
NewMockTopo_WatchClient creates a new mock instance
func (*MockTopo_WatchClient) CloseSend ¶ added in v0.7.1
func (m *MockTopo_WatchClient) CloseSend() error
CloseSend mocks base method
func (*MockTopo_WatchClient) Context ¶ added in v0.7.1
func (m *MockTopo_WatchClient) Context() context.Context
Context mocks base method
func (*MockTopo_WatchClient) EXPECT ¶ added in v0.7.1
func (m *MockTopo_WatchClient) EXPECT() *MockTopo_WatchClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopo_WatchClient) Header ¶ added in v0.7.1
func (m *MockTopo_WatchClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockTopo_WatchClient) Recv ¶ added in v0.7.1
func (m *MockTopo_WatchClient) Recv() (*topo.WatchResponse, error)
Recv mocks base method
func (*MockTopo_WatchClient) RecvMsg ¶ added in v0.7.1
func (m_2 *MockTopo_WatchClient) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockTopo_WatchClient) SendMsg ¶ added in v0.7.1
func (m_2 *MockTopo_WatchClient) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockTopo_WatchClient) Trailer ¶ added in v0.7.1
func (m *MockTopo_WatchClient) Trailer() metadata.MD
Trailer mocks base method
type MockTopo_WatchClientMockRecorder ¶ added in v0.7.1
type MockTopo_WatchClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTopo_WatchClientMockRecorder is the mock recorder for MockTopo_WatchClient
func (*MockTopo_WatchClientMockRecorder) CloseSend ¶ added in v0.7.1
func (mr *MockTopo_WatchClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockTopo_WatchClientMockRecorder) Context ¶ added in v0.7.1
func (mr *MockTopo_WatchClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTopo_WatchClientMockRecorder) Header ¶ added in v0.7.1
func (mr *MockTopo_WatchClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockTopo_WatchClientMockRecorder) Recv ¶ added in v0.7.1
func (mr *MockTopo_WatchClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockTopo_WatchClientMockRecorder) RecvMsg ¶ added in v0.7.1
func (mr *MockTopo_WatchClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockTopo_WatchClientMockRecorder) SendMsg ¶ added in v0.7.1
func (mr *MockTopo_WatchClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockTopo_WatchClientMockRecorder) Trailer ¶ added in v0.7.1
func (mr *MockTopo_WatchClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer
type MockTopo_WatchServer ¶ added in v0.7.1
type MockTopo_WatchServer struct {
// contains filtered or unexported fields
}
MockTopo_WatchServer is a mock of Topo_WatchServer interface
func NewMockTopo_WatchServer ¶ added in v0.7.1
func NewMockTopo_WatchServer(ctrl *gomock.Controller) *MockTopo_WatchServer
NewMockTopo_WatchServer creates a new mock instance
func (*MockTopo_WatchServer) Context ¶ added in v0.7.1
func (m *MockTopo_WatchServer) Context() context.Context
Context mocks base method
func (*MockTopo_WatchServer) EXPECT ¶ added in v0.7.1
func (m *MockTopo_WatchServer) EXPECT() *MockTopo_WatchServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTopo_WatchServer) RecvMsg ¶ added in v0.7.1
func (m_2 *MockTopo_WatchServer) RecvMsg(m interface{}) error
RecvMsg mocks base method
func (*MockTopo_WatchServer) Send ¶ added in v0.7.1
func (m *MockTopo_WatchServer) Send(arg0 *topo.WatchResponse) error
Send mocks base method
func (*MockTopo_WatchServer) SendHeader ¶ added in v0.7.1
func (m *MockTopo_WatchServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockTopo_WatchServer) SendMsg ¶ added in v0.7.1
func (m_2 *MockTopo_WatchServer) SendMsg(m interface{}) error
SendMsg mocks base method
func (*MockTopo_WatchServer) SetHeader ¶ added in v0.7.1
func (m *MockTopo_WatchServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockTopo_WatchServer) SetTrailer ¶ added in v0.7.1
func (m *MockTopo_WatchServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockTopo_WatchServerMockRecorder ¶ added in v0.7.1
type MockTopo_WatchServerMockRecorder struct {
// contains filtered or unexported fields
}
MockTopo_WatchServerMockRecorder is the mock recorder for MockTopo_WatchServer
func (*MockTopo_WatchServerMockRecorder) Context ¶ added in v0.7.1
func (mr *MockTopo_WatchServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTopo_WatchServerMockRecorder) RecvMsg ¶ added in v0.7.1
func (mr *MockTopo_WatchServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockTopo_WatchServerMockRecorder) Send ¶ added in v0.7.1
func (mr *MockTopo_WatchServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockTopo_WatchServerMockRecorder) SendHeader ¶ added in v0.7.1
func (mr *MockTopo_WatchServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockTopo_WatchServerMockRecorder) SendMsg ¶ added in v0.7.1
func (mr *MockTopo_WatchServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockTopo_WatchServerMockRecorder) SetHeader ¶ added in v0.7.1
func (mr *MockTopo_WatchServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockTopo_WatchServerMockRecorder) SetTrailer ¶ added in v0.7.1
func (mr *MockTopo_WatchServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer
type MockisObject_Obj ¶ added in v0.7.1
type MockisObject_Obj struct {
// contains filtered or unexported fields
}
MockisObject_Obj is a mock of isObject_Obj interface
func NewMockisObject_Obj ¶ added in v0.7.1
func NewMockisObject_Obj(ctrl *gomock.Controller) *MockisObject_Obj
NewMockisObject_Obj creates a new mock instance
func (*MockisObject_Obj) EXPECT ¶ added in v0.7.1
func (m *MockisObject_Obj) EXPECT() *MockisObject_ObjMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockisObject_Obj) MarshalTo ¶ added in v0.7.1
func (m *MockisObject_Obj) MarshalTo(arg0 []byte) (int, error)
MarshalTo mocks base method
func (*MockisObject_Obj) Size ¶ added in v0.7.1
func (m *MockisObject_Obj) Size() int
Size mocks base method
type MockisObject_ObjMockRecorder ¶ added in v0.7.1
type MockisObject_ObjMockRecorder struct {
// contains filtered or unexported fields
}
MockisObject_ObjMockRecorder is the mock recorder for MockisObject_Obj
func (*MockisObject_ObjMockRecorder) MarshalTo ¶ added in v0.7.1
func (mr *MockisObject_ObjMockRecorder) MarshalTo(arg0 interface{}) *gomock.Call
MarshalTo indicates an expected call of MarshalTo
func (*MockisObject_ObjMockRecorder) Size ¶ added in v0.7.1
func (mr *MockisObject_ObjMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size
Directories ¶
Path | Synopsis |
---|---|
Package southbound is a generated GoMock package.
|
Package southbound is a generated GoMock package. |
Package store is a generated GoMock package.
|
Package store is a generated GoMock package. |
cache
Package device is a generated GoMock package.
|
Package device is a generated GoMock package. |