Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCVClient
- func (m *MockCVClient) Capabilities(arg0 context.Context, arg1 *gnmi.CapabilityRequest, arg2 ...grpc.CallOption) (*gnmi.CapabilityResponse, error)
- func (m *MockCVClient) EXPECT() *MockCVClientMockRecorder
- func (m *MockCVClient) ForProvider(arg0 provider.GNMIProvider) cvclient.CVClient
- func (m *MockCVClient) Get(arg0 context.Context, arg1 *gnmi.GetRequest, arg2 ...grpc.CallOption) (*gnmi.GetResponse, error)
- func (m *MockCVClient) SendDeviceMetadata(arg0 context.Context) error
- func (m *MockCVClient) SendHeartbeat(arg0 context.Context, arg1 bool) error
- func (m *MockCVClient) Set(arg0 context.Context, arg1 *gnmi.SetRequest, arg2 ...grpc.CallOption) (*gnmi.SetResponse, error)
- func (m *MockCVClient) SetManagedDevices(arg0 []string)
- func (m *MockCVClient) Subscribe(arg0 context.Context, arg1 ...grpc.CallOption) (gnmi.GNMI_SubscribeClient, error)
- type MockCVClientMockRecorder
- func (mr *MockCVClientMockRecorder) Capabilities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCVClientMockRecorder) ForProvider(arg0 interface{}) *gomock.Call
- func (mr *MockCVClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCVClientMockRecorder) SendDeviceMetadata(arg0 interface{}) *gomock.Call
- func (mr *MockCVClientMockRecorder) SendHeartbeat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCVClientMockRecorder) Set(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCVClientMockRecorder) SetManagedDevices(arg0 interface{}) *gomock.Call
- func (mr *MockCVClientMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCVClient ¶
type MockCVClient struct {
// contains filtered or unexported fields
}
MockCVClient is a mock of CVClient interface.
func NewMockCVClient ¶
func NewMockCVClient(ctrl *gomock.Controller) *MockCVClient
NewMockCVClient creates a new mock instance.
func (*MockCVClient) Capabilities ¶
func (m *MockCVClient) Capabilities(arg0 context.Context, arg1 *gnmi.CapabilityRequest, arg2 ...grpc.CallOption) (*gnmi.CapabilityResponse, error)
Capabilities mocks base method.
func (*MockCVClient) EXPECT ¶
func (m *MockCVClient) EXPECT() *MockCVClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCVClient) ForProvider ¶
func (m *MockCVClient) ForProvider(arg0 provider.GNMIProvider) cvclient.CVClient
ForProvider mocks base method.
func (*MockCVClient) Get ¶
func (m *MockCVClient) Get(arg0 context.Context, arg1 *gnmi.GetRequest, arg2 ...grpc.CallOption) (*gnmi.GetResponse, error)
Get mocks base method.
func (*MockCVClient) SendDeviceMetadata ¶
func (m *MockCVClient) SendDeviceMetadata(arg0 context.Context) error
SendDeviceMetadata mocks base method.
func (*MockCVClient) SendHeartbeat ¶
func (m *MockCVClient) SendHeartbeat(arg0 context.Context, arg1 bool) error
SendHeartbeat mocks base method.
func (*MockCVClient) Set ¶
func (m *MockCVClient) Set(arg0 context.Context, arg1 *gnmi.SetRequest, arg2 ...grpc.CallOption) (*gnmi.SetResponse, error)
Set mocks base method.
func (*MockCVClient) SetManagedDevices ¶
func (m *MockCVClient) SetManagedDevices(arg0 []string)
SetManagedDevices mocks base method.
func (*MockCVClient) Subscribe ¶
func (m *MockCVClient) Subscribe(arg0 context.Context, arg1 ...grpc.CallOption) (gnmi.GNMI_SubscribeClient, error)
Subscribe mocks base method.
type MockCVClientMockRecorder ¶
type MockCVClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCVClientMockRecorder is the mock recorder for MockCVClient.
func (*MockCVClientMockRecorder) Capabilities ¶
func (mr *MockCVClientMockRecorder) Capabilities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Capabilities indicates an expected call of Capabilities.
func (*MockCVClientMockRecorder) ForProvider ¶
func (mr *MockCVClientMockRecorder) ForProvider(arg0 interface{}) *gomock.Call
ForProvider indicates an expected call of ForProvider.
func (*MockCVClientMockRecorder) Get ¶
func (mr *MockCVClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockCVClientMockRecorder) SendDeviceMetadata ¶
func (mr *MockCVClientMockRecorder) SendDeviceMetadata(arg0 interface{}) *gomock.Call
SendDeviceMetadata indicates an expected call of SendDeviceMetadata.
func (*MockCVClientMockRecorder) SendHeartbeat ¶
func (mr *MockCVClientMockRecorder) SendHeartbeat(arg0, arg1 interface{}) *gomock.Call
SendHeartbeat indicates an expected call of SendHeartbeat.
func (*MockCVClientMockRecorder) Set ¶
func (mr *MockCVClientMockRecorder) Set(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockCVClientMockRecorder) SetManagedDevices ¶
func (mr *MockCVClientMockRecorder) SetManagedDevices(arg0 interface{}) *gomock.Call
SetManagedDevices indicates an expected call of SetManagedDevices.
func (*MockCVClientMockRecorder) Subscribe ¶
func (mr *MockCVClientMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.