Documentation ¶
Index ¶
- type OpSession
- func (_m *OpSession) Close()
- func (_m *OpSession) CloseSession() error
- func (_m *OpSession) CopyConfig(source ops.CfgDsOpt, target ops.CfgDsOpt) error
- func (_m *OpSession) DeleteConfig(target ops.CfgDsOpt) error
- func (_m *OpSession) Discard() error
- func (_m *OpSession) EditConfig(target string, config ops.ConfigOption, options ...ops.EditOption) error
- func (_m *OpSession) EditConfigCfg(target string, config interface{}, options ...ops.EditOption) error
- func (_m *OpSession) Execute(req common.Request) (*common.RPCReply, error)
- func (_m *OpSession) ExecuteAsync(req common.Request, rchan chan *common.RPCReply) error
- func (_m *OpSession) GetConfigSubtree(filter interface{}, source string, result interface{}) error
- func (_m *OpSession) GetConfigXpath(xpath string, nslist []ops.Namespace, source string, result interface{}) error
- func (_m *OpSession) GetSchema(id string, version string, fmt string) (string, error)
- func (_m *OpSession) GetSchemas() ([]ops.Schema, error)
- func (_m *OpSession) GetSubtree(filter interface{}, result interface{}) error
- func (_m *OpSession) GetXpath(xpath string, nslist []ops.Namespace, result interface{}) error
- func (_m *OpSession) ID() uint64
- func (_m *OpSession) KillSession(id uint64) error
- func (_m *OpSession) Lock(target string) error
- func (_m *OpSession) ServerCapabilities() []string
- func (_m *OpSession) Subscribe(req common.Request, nchan chan *common.Notification) (*common.RPCReply, error)
- func (_m *OpSession) Unlock(target string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpSession ¶
OpSession is an autogenerated mock type for the OpSession type
func (*OpSession) Close ¶
func (_m *OpSession) Close()
Close provides a mock function with given fields:
func (*OpSession) CloseSession ¶
CloseSession provides a mock function with given fields:
func (*OpSession) CopyConfig ¶
CopyConfig provides a mock function with given fields: source, target
func (*OpSession) DeleteConfig ¶
DeleteConfig provides a mock function with given fields: target
func (*OpSession) EditConfig ¶
func (_m *OpSession) EditConfig(target string, config ops.ConfigOption, options ...ops.EditOption) error
EditConfig provides a mock function with given fields: target, config, options
func (*OpSession) EditConfigCfg ¶
func (_m *OpSession) EditConfigCfg(target string, config interface{}, options ...ops.EditOption) error
EditConfigCfg provides a mock function with given fields: target, config, options
func (*OpSession) ExecuteAsync ¶
ExecuteAsync provides a mock function with given fields: req, rchan
func (*OpSession) GetConfigSubtree ¶
GetConfigSubtree provides a mock function with given fields: filter, source, result
func (*OpSession) GetConfigXpath ¶
func (_m *OpSession) GetConfigXpath(xpath string, nslist []ops.Namespace, source string, result interface{}) error
GetConfigXpath provides a mock function with given fields: xpath, nslist, source, result
func (*OpSession) GetSchema ¶
GetSchema provides a mock function with given fields: id, version, fmt
func (*OpSession) GetSchemas ¶
GetSchemas provides a mock function with given fields:
func (*OpSession) GetSubtree ¶
GetSubtree provides a mock function with given fields: filter, result
func (*OpSession) GetXpath ¶
GetXpath provides a mock function with given fields: xpath, nslist, result
func (*OpSession) KillSession ¶
KillSession provides a mock function with given fields: id
func (*OpSession) ServerCapabilities ¶
ServerCapabilities provides a mock function with given fields: