Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockGNMIClient
- func (m *MockGNMIClient) Capabilities(arg0 context.Context, arg1 *gnmi.CapabilityRequest, arg2 ...grpc.CallOption) (*gnmi.CapabilityResponse, error)
- func (m *MockGNMIClient) EXPECT() *MockGNMIClientMockRecorder
- func (m *MockGNMIClient) Get(arg0 context.Context, arg1 *gnmi.GetRequest, arg2 ...grpc.CallOption) (*gnmi.GetResponse, error)
- func (m *MockGNMIClient) Set(arg0 context.Context, arg1 *gnmi.SetRequest, arg2 ...grpc.CallOption) (*gnmi.SetResponse, error)
- func (m *MockGNMIClient) Subscribe(arg0 context.Context, arg1 ...grpc.CallOption) (gnmi.GNMI_SubscribeClient, error)
- type MockGNMIClientMockRecorder
- func (mr *MockGNMIClientMockRecorder) Capabilities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockGNMIClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockGNMIClientMockRecorder) Set(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockGNMIClientMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGNMIClient ¶
type MockGNMIClient struct {
// contains filtered or unexported fields
}
MockGNMIClient is a mock of GNMIClient interface.
func NewMockGNMIClient ¶
func NewMockGNMIClient(ctrl *gomock.Controller) *MockGNMIClient
NewMockGNMIClient creates a new mock instance.
func (*MockGNMIClient) Capabilities ¶
func (m *MockGNMIClient) Capabilities(arg0 context.Context, arg1 *gnmi.CapabilityRequest, arg2 ...grpc.CallOption) (*gnmi.CapabilityResponse, error)
Capabilities mocks base method.
func (*MockGNMIClient) EXPECT ¶
func (m *MockGNMIClient) EXPECT() *MockGNMIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGNMIClient) Get ¶
func (m *MockGNMIClient) Get(arg0 context.Context, arg1 *gnmi.GetRequest, arg2 ...grpc.CallOption) (*gnmi.GetResponse, error)
Get mocks base method.
func (*MockGNMIClient) Set ¶
func (m *MockGNMIClient) Set(arg0 context.Context, arg1 *gnmi.SetRequest, arg2 ...grpc.CallOption) (*gnmi.SetResponse, error)
Set mocks base method.
func (*MockGNMIClient) Subscribe ¶
func (m *MockGNMIClient) Subscribe(arg0 context.Context, arg1 ...grpc.CallOption) (gnmi.GNMI_SubscribeClient, error)
Subscribe mocks base method.
type MockGNMIClientMockRecorder ¶
type MockGNMIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGNMIClientMockRecorder is the mock recorder for MockGNMIClient.
func (*MockGNMIClientMockRecorder) Capabilities ¶
func (mr *MockGNMIClientMockRecorder) Capabilities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Capabilities indicates an expected call of Capabilities.
func (*MockGNMIClientMockRecorder) Get ¶
func (mr *MockGNMIClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockGNMIClientMockRecorder) Set ¶
func (mr *MockGNMIClientMockRecorder) Set(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockGNMIClientMockRecorder) Subscribe ¶
func (mr *MockGNMIClientMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
Click to show internal directories.
Click to hide internal directories.