Documentation ¶
Overview ¶
Package southbound is a generated GoMock package.
Index ¶
- type MockTargetIf
- func (m *MockTargetIf) CapabilitiesWithString(ctx context.Context, request string) (*gnmi.CapabilityResponse, error)
- func (m *MockTargetIf) Client() southbound.GnmiClient
- func (m *MockTargetIf) Close() error
- func (m *MockTargetIf) ConnectTarget(ctx context.Context, device topodevice.Device) (topodevice.ID, error)
- func (m *MockTargetIf) Context() *context.Context
- func (m *MockTargetIf) Destination() *client.Destination
- func (m *MockTargetIf) EXPECT() *MockTargetIfMockRecorder
- func (m *MockTargetIf) Get(ctx context.Context, request *gnmi.GetRequest) (*gnmi.GetResponse, error)
- func (m *MockTargetIf) GetWithString(ctx context.Context, request string) (*gnmi.GetResponse, error)
- func (m *MockTargetIf) Set(ctx context.Context, request *gnmi.SetRequest) (*gnmi.SetResponse, error)
- func (m *MockTargetIf) SetWithString(ctx context.Context, request string) (*gnmi.SetResponse, error)
- func (m *MockTargetIf) Subscribe(ctx context.Context, request *gnmi.SubscribeRequest, ...) error
- type MockTargetIfMockRecorder
- func (mr *MockTargetIfMockRecorder) CapabilitiesWithString(ctx, request interface{}) *gomock.Call
- func (mr *MockTargetIfMockRecorder) Client() *gomock.Call
- func (mr *MockTargetIfMockRecorder) Close() *gomock.Call
- func (mr *MockTargetIfMockRecorder) ConnectTarget(ctx, device interface{}) *gomock.Call
- func (mr *MockTargetIfMockRecorder) Context() *gomock.Call
- func (mr *MockTargetIfMockRecorder) Destination() *gomock.Call
- func (mr *MockTargetIfMockRecorder) Get(ctx, request interface{}) *gomock.Call
- func (mr *MockTargetIfMockRecorder) GetWithString(ctx, request interface{}) *gomock.Call
- func (mr *MockTargetIfMockRecorder) Set(ctx, request interface{}) *gomock.Call
- func (mr *MockTargetIfMockRecorder) SetWithString(ctx, request interface{}) *gomock.Call
- func (mr *MockTargetIfMockRecorder) Subscribe(ctx, request, handler interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTargetIf ¶
type MockTargetIf struct {
// contains filtered or unexported fields
}
MockTargetIf is a mock of TargetIf interface
func NewMockTargetIf ¶
func NewMockTargetIf(ctrl *gomock.Controller) *MockTargetIf
NewMockTargetIf creates a new mock instance
func (*MockTargetIf) CapabilitiesWithString ¶
func (m *MockTargetIf) CapabilitiesWithString(ctx context.Context, request string) (*gnmi.CapabilityResponse, error)
CapabilitiesWithString mocks base method
func (*MockTargetIf) Client ¶
func (m *MockTargetIf) Client() southbound.GnmiClient
Client mocks base method
func (*MockTargetIf) ConnectTarget ¶
func (m *MockTargetIf) ConnectTarget(ctx context.Context, device topodevice.Device) (topodevice.ID, error)
ConnectTarget mocks base method
func (*MockTargetIf) Context ¶
func (m *MockTargetIf) Context() *context.Context
Context mocks base method
func (*MockTargetIf) Destination ¶
func (m *MockTargetIf) Destination() *client.Destination
Destination mocks base method
func (*MockTargetIf) EXPECT ¶
func (m *MockTargetIf) EXPECT() *MockTargetIfMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTargetIf) Get ¶
func (m *MockTargetIf) Get(ctx context.Context, request *gnmi.GetRequest) (*gnmi.GetResponse, error)
Get mocks base method
func (*MockTargetIf) GetWithString ¶
func (m *MockTargetIf) GetWithString(ctx context.Context, request string) (*gnmi.GetResponse, error)
GetWithString mocks base method
func (*MockTargetIf) Set ¶
func (m *MockTargetIf) Set(ctx context.Context, request *gnmi.SetRequest) (*gnmi.SetResponse, error)
Set mocks base method
func (*MockTargetIf) SetWithString ¶
func (m *MockTargetIf) SetWithString(ctx context.Context, request string) (*gnmi.SetResponse, error)
SetWithString mocks base method
func (*MockTargetIf) Subscribe ¶
func (m *MockTargetIf) Subscribe(ctx context.Context, request *gnmi.SubscribeRequest, handler client.ProtoHandler) error
Subscribe mocks base method
type MockTargetIfMockRecorder ¶
type MockTargetIfMockRecorder struct {
// contains filtered or unexported fields
}
MockTargetIfMockRecorder is the mock recorder for MockTargetIf
func (*MockTargetIfMockRecorder) CapabilitiesWithString ¶
func (mr *MockTargetIfMockRecorder) CapabilitiesWithString(ctx, request interface{}) *gomock.Call
CapabilitiesWithString indicates an expected call of CapabilitiesWithString
func (*MockTargetIfMockRecorder) Client ¶
func (mr *MockTargetIfMockRecorder) Client() *gomock.Call
Client indicates an expected call of Client
func (*MockTargetIfMockRecorder) Close ¶
func (mr *MockTargetIfMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockTargetIfMockRecorder) ConnectTarget ¶
func (mr *MockTargetIfMockRecorder) ConnectTarget(ctx, device interface{}) *gomock.Call
ConnectTarget indicates an expected call of ConnectTarget
func (*MockTargetIfMockRecorder) Context ¶
func (mr *MockTargetIfMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTargetIfMockRecorder) Destination ¶
func (mr *MockTargetIfMockRecorder) Destination() *gomock.Call
Destination indicates an expected call of Destination
func (*MockTargetIfMockRecorder) Get ¶
func (mr *MockTargetIfMockRecorder) Get(ctx, request interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTargetIfMockRecorder) GetWithString ¶
func (mr *MockTargetIfMockRecorder) GetWithString(ctx, request interface{}) *gomock.Call
GetWithString indicates an expected call of GetWithString
func (*MockTargetIfMockRecorder) Set ¶
func (mr *MockTargetIfMockRecorder) Set(ctx, request interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockTargetIfMockRecorder) SetWithString ¶
func (mr *MockTargetIfMockRecorder) SetWithString(ctx, request interface{}) *gomock.Call
SetWithString indicates an expected call of SetWithString
func (*MockTargetIfMockRecorder) Subscribe ¶
func (mr *MockTargetIfMockRecorder) Subscribe(ctx, request, handler interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe