Newer
Older
// Code generated by mockery v2.6.0. DO NOT EDIT.
package mocks
import (
gnmi "github.com/openconfig/gnmi/proto/gnmi"
mock "github.com/stretchr/testify/mock"
yang "github.com/openconfig/goyang/pkg/yang"
ytypes "github.com/openconfig/ygot/ytypes"
)
// SouthboundInterface is an autogenerated mock type for the SouthboundInterface type
type SouthboundInterface struct {
mock.Mock
}
// Id provides a mock function with given fields:
func (_m *SouthboundInterface) Id() uuid.UUID {
ret := _m.Called()
var r0 uuid.UUID
if rf, ok := ret.Get(0).(func() uuid.UUID); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(uuid.UUID)
}
}
return r0
}
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// SbiIdentifier provides a mock function with given fields:
func (_m *SouthboundInterface) SbiIdentifier() string {
ret := _m.Called()
var r0 string
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
return r0
}
// Schema provides a mock function with given fields:
func (_m *SouthboundInterface) Schema() *ytypes.Schema {
ret := _m.Called()
var r0 *ytypes.Schema
if rf, ok := ret.Get(0).(func() *ytypes.Schema); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(*ytypes.Schema)
}
}
return r0
}
// SetNode provides a mock function with given fields:
func (_m *SouthboundInterface) SetNode() func(*yang.Entry, interface{}, *gnmi.Path, interface{}, []ytypes.SetNodeOpt) error {
ret := _m.Called()
var r0 func(*yang.Entry, interface{}, *gnmi.Path, interface{}, []ytypes.SetNodeOpt) error
if rf, ok := ret.Get(0).(func() func(*yang.Entry, interface{}, *gnmi.Path, interface{}, []ytypes.SetNodeOpt) error); ok {
r0 = rf()
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(func(*yang.Entry, interface{}, *gnmi.Path, interface{}, []ytypes.SetNodeOpt) error)
}
}
return r0
}