Documentation ¶
Index ¶
- type AddressResolverInterface
- func (_m *AddressResolverInterface) DispatchSignal(signal *dbus.Signal) error
- func (_m *AddressResolverInterface) EXPECT() *AddressResolverInterface_Expecter
- func (_m *AddressResolverInterface) FoundChannel() chan avahi.Address
- func (_m *AddressResolverInterface) Free()
- func (_m *AddressResolverInterface) GetObjectPath() dbus.ObjectPath
- type AddressResolverInterface_DispatchSignal_Call
- func (_c *AddressResolverInterface_DispatchSignal_Call) Return(_a0 error) *AddressResolverInterface_DispatchSignal_Call
- func (_c *AddressResolverInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *AddressResolverInterface_DispatchSignal_Call
- func (_c *AddressResolverInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *AddressResolverInterface_DispatchSignal_Call
- type AddressResolverInterface_Expecter
- func (_e *AddressResolverInterface_Expecter) DispatchSignal(signal interface{}) *AddressResolverInterface_DispatchSignal_Call
- func (_e *AddressResolverInterface_Expecter) FoundChannel() *AddressResolverInterface_FoundChannel_Call
- func (_e *AddressResolverInterface_Expecter) Free() *AddressResolverInterface_Free_Call
- func (_e *AddressResolverInterface_Expecter) GetObjectPath() *AddressResolverInterface_GetObjectPath_Call
- type AddressResolverInterface_FoundChannel_Call
- func (_c *AddressResolverInterface_FoundChannel_Call) Return(_a0 chan avahi.Address) *AddressResolverInterface_FoundChannel_Call
- func (_c *AddressResolverInterface_FoundChannel_Call) Run(run func()) *AddressResolverInterface_FoundChannel_Call
- func (_c *AddressResolverInterface_FoundChannel_Call) RunAndReturn(run func() chan avahi.Address) *AddressResolverInterface_FoundChannel_Call
- type AddressResolverInterface_Free_Call
- type AddressResolverInterface_GetObjectPath_Call
- func (_c *AddressResolverInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *AddressResolverInterface_GetObjectPath_Call
- func (_c *AddressResolverInterface_GetObjectPath_Call) Run(run func()) *AddressResolverInterface_GetObjectPath_Call
- func (_c *AddressResolverInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *AddressResolverInterface_GetObjectPath_Call
- type DomainBrowserInterface
- type DomainBrowserInterface_DispatchSignal_Call
- func (_c *DomainBrowserInterface_DispatchSignal_Call) Return(_a0 error) *DomainBrowserInterface_DispatchSignal_Call
- func (_c *DomainBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *DomainBrowserInterface_DispatchSignal_Call
- func (_c *DomainBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *DomainBrowserInterface_DispatchSignal_Call
- type DomainBrowserInterface_Expecter
- func (_e *DomainBrowserInterface_Expecter) DispatchSignal(signal interface{}) *DomainBrowserInterface_DispatchSignal_Call
- func (_e *DomainBrowserInterface_Expecter) Free() *DomainBrowserInterface_Free_Call
- func (_e *DomainBrowserInterface_Expecter) GetObjectPath() *DomainBrowserInterface_GetObjectPath_Call
- type DomainBrowserInterface_Free_Call
- type DomainBrowserInterface_GetObjectPath_Call
- func (_c *DomainBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *DomainBrowserInterface_GetObjectPath_Call
- func (_c *DomainBrowserInterface_GetObjectPath_Call) Run(run func()) *DomainBrowserInterface_GetObjectPath_Call
- func (_c *DomainBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *DomainBrowserInterface_GetObjectPath_Call
- type EntryGroupInterface
- func (_m *EntryGroupInterface) AddAddress(iface int32, protocol int32, flags uint32, name string, address string) error
- func (_m *EntryGroupInterface) AddRecord(iface int32, protocol int32, flags uint32, name string, class uint16, ...) error
- func (_m *EntryGroupInterface) AddService(iface int32, protocol int32, flags uint32, name string, serviceType string, ...) error
- func (_m *EntryGroupInterface) AddServiceSubtype(iface int32, protocol int32, flags uint32, name string, serviceType string, ...) error
- func (_m *EntryGroupInterface) Commit() error
- func (_m *EntryGroupInterface) DispatchSignal(signal *dbus.Signal) error
- func (_m *EntryGroupInterface) EXPECT() *EntryGroupInterface_Expecter
- func (_m *EntryGroupInterface) Free()
- func (_m *EntryGroupInterface) GetObjectPath() dbus.ObjectPath
- func (_m *EntryGroupInterface) GetState() (int32, error)
- func (_m *EntryGroupInterface) IsEmpty() (bool, error)
- func (_m *EntryGroupInterface) Reset() error
- func (_m *EntryGroupInterface) UpdateServiceTxt(iface int32, protocol int32, flags uint32, name string, serviceType string, ...) error
- type EntryGroupInterface_AddAddress_Call
- func (_c *EntryGroupInterface_AddAddress_Call) Return(_a0 error) *EntryGroupInterface_AddAddress_Call
- func (_c *EntryGroupInterface_AddAddress_Call) Run(...) *EntryGroupInterface_AddAddress_Call
- func (_c *EntryGroupInterface_AddAddress_Call) RunAndReturn(run func(int32, int32, uint32, string, string) error) *EntryGroupInterface_AddAddress_Call
- type EntryGroupInterface_AddRecord_Call
- func (_c *EntryGroupInterface_AddRecord_Call) Return(_a0 error) *EntryGroupInterface_AddRecord_Call
- func (_c *EntryGroupInterface_AddRecord_Call) Run(...) *EntryGroupInterface_AddRecord_Call
- func (_c *EntryGroupInterface_AddRecord_Call) RunAndReturn(run func(int32, int32, uint32, string, uint16, uint16, uint32, []byte) error) *EntryGroupInterface_AddRecord_Call
- type EntryGroupInterface_AddServiceSubtype_Call
- func (_c *EntryGroupInterface_AddServiceSubtype_Call) Return(_a0 error) *EntryGroupInterface_AddServiceSubtype_Call
- func (_c *EntryGroupInterface_AddServiceSubtype_Call) Run(...) *EntryGroupInterface_AddServiceSubtype_Call
- func (_c *EntryGroupInterface_AddServiceSubtype_Call) RunAndReturn(run func(int32, int32, uint32, string, string, string, string) error) *EntryGroupInterface_AddServiceSubtype_Call
- type EntryGroupInterface_AddService_Call
- type EntryGroupInterface_Commit_Call
- type EntryGroupInterface_DispatchSignal_Call
- func (_c *EntryGroupInterface_DispatchSignal_Call) Return(_a0 error) *EntryGroupInterface_DispatchSignal_Call
- func (_c *EntryGroupInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *EntryGroupInterface_DispatchSignal_Call
- func (_c *EntryGroupInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *EntryGroupInterface_DispatchSignal_Call
- type EntryGroupInterface_Expecter
- func (_e *EntryGroupInterface_Expecter) AddAddress(iface interface{}, protocol interface{}, flags interface{}, name interface{}, ...) *EntryGroupInterface_AddAddress_Call
- func (_e *EntryGroupInterface_Expecter) AddRecord(iface interface{}, protocol interface{}, flags interface{}, name interface{}, ...) *EntryGroupInterface_AddRecord_Call
- func (_e *EntryGroupInterface_Expecter) AddService(iface interface{}, protocol interface{}, flags interface{}, name interface{}, ...) *EntryGroupInterface_AddService_Call
- func (_e *EntryGroupInterface_Expecter) AddServiceSubtype(iface interface{}, protocol interface{}, flags interface{}, name interface{}, ...) *EntryGroupInterface_AddServiceSubtype_Call
- func (_e *EntryGroupInterface_Expecter) Commit() *EntryGroupInterface_Commit_Call
- func (_e *EntryGroupInterface_Expecter) DispatchSignal(signal interface{}) *EntryGroupInterface_DispatchSignal_Call
- func (_e *EntryGroupInterface_Expecter) Free() *EntryGroupInterface_Free_Call
- func (_e *EntryGroupInterface_Expecter) GetObjectPath() *EntryGroupInterface_GetObjectPath_Call
- func (_e *EntryGroupInterface_Expecter) GetState() *EntryGroupInterface_GetState_Call
- func (_e *EntryGroupInterface_Expecter) IsEmpty() *EntryGroupInterface_IsEmpty_Call
- func (_e *EntryGroupInterface_Expecter) Reset() *EntryGroupInterface_Reset_Call
- func (_e *EntryGroupInterface_Expecter) UpdateServiceTxt(iface interface{}, protocol interface{}, flags interface{}, name interface{}, ...) *EntryGroupInterface_UpdateServiceTxt_Call
- type EntryGroupInterface_Free_Call
- type EntryGroupInterface_GetObjectPath_Call
- func (_c *EntryGroupInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *EntryGroupInterface_GetObjectPath_Call
- func (_c *EntryGroupInterface_GetObjectPath_Call) Run(run func()) *EntryGroupInterface_GetObjectPath_Call
- func (_c *EntryGroupInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *EntryGroupInterface_GetObjectPath_Call
- type EntryGroupInterface_GetState_Call
- func (_c *EntryGroupInterface_GetState_Call) Return(_a0 int32, _a1 error) *EntryGroupInterface_GetState_Call
- func (_c *EntryGroupInterface_GetState_Call) Run(run func()) *EntryGroupInterface_GetState_Call
- func (_c *EntryGroupInterface_GetState_Call) RunAndReturn(run func() (int32, error)) *EntryGroupInterface_GetState_Call
- type EntryGroupInterface_IsEmpty_Call
- func (_c *EntryGroupInterface_IsEmpty_Call) Return(_a0 bool, _a1 error) *EntryGroupInterface_IsEmpty_Call
- func (_c *EntryGroupInterface_IsEmpty_Call) Run(run func()) *EntryGroupInterface_IsEmpty_Call
- func (_c *EntryGroupInterface_IsEmpty_Call) RunAndReturn(run func() (bool, error)) *EntryGroupInterface_IsEmpty_Call
- type EntryGroupInterface_Reset_Call
- type EntryGroupInterface_UpdateServiceTxt_Call
- func (_c *EntryGroupInterface_UpdateServiceTxt_Call) Return(_a0 error) *EntryGroupInterface_UpdateServiceTxt_Call
- func (_c *EntryGroupInterface_UpdateServiceTxt_Call) Run(...) *EntryGroupInterface_UpdateServiceTxt_Call
- func (_c *EntryGroupInterface_UpdateServiceTxt_Call) RunAndReturn(run func(int32, int32, uint32, string, string, string, [][]byte) error) *EntryGroupInterface_UpdateServiceTxt_Call
- type EventCB
- type EventCB_Execute_Call
- type EventCB_Expecter
- type HostNameResolverInterface
- func (_m *HostNameResolverInterface) DispatchSignal(signal *dbus.Signal) error
- func (_m *HostNameResolverInterface) EXPECT() *HostNameResolverInterface_Expecter
- func (_m *HostNameResolverInterface) FoundChannel() chan avahi.HostName
- func (_m *HostNameResolverInterface) Free()
- func (_m *HostNameResolverInterface) GetObjectPath() dbus.ObjectPath
- type HostNameResolverInterface_DispatchSignal_Call
- func (_c *HostNameResolverInterface_DispatchSignal_Call) Return(_a0 error) *HostNameResolverInterface_DispatchSignal_Call
- func (_c *HostNameResolverInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *HostNameResolverInterface_DispatchSignal_Call
- func (_c *HostNameResolverInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *HostNameResolverInterface_DispatchSignal_Call
- type HostNameResolverInterface_Expecter
- func (_e *HostNameResolverInterface_Expecter) DispatchSignal(signal interface{}) *HostNameResolverInterface_DispatchSignal_Call
- func (_e *HostNameResolverInterface_Expecter) FoundChannel() *HostNameResolverInterface_FoundChannel_Call
- func (_e *HostNameResolverInterface_Expecter) Free() *HostNameResolverInterface_Free_Call
- func (_e *HostNameResolverInterface_Expecter) GetObjectPath() *HostNameResolverInterface_GetObjectPath_Call
- type HostNameResolverInterface_FoundChannel_Call
- func (_c *HostNameResolverInterface_FoundChannel_Call) Return(_a0 chan avahi.HostName) *HostNameResolverInterface_FoundChannel_Call
- func (_c *HostNameResolverInterface_FoundChannel_Call) Run(run func()) *HostNameResolverInterface_FoundChannel_Call
- func (_c *HostNameResolverInterface_FoundChannel_Call) RunAndReturn(run func() chan avahi.HostName) *HostNameResolverInterface_FoundChannel_Call
- type HostNameResolverInterface_Free_Call
- func (_c *HostNameResolverInterface_Free_Call) Return() *HostNameResolverInterface_Free_Call
- func (_c *HostNameResolverInterface_Free_Call) Run(run func()) *HostNameResolverInterface_Free_Call
- func (_c *HostNameResolverInterface_Free_Call) RunAndReturn(run func()) *HostNameResolverInterface_Free_Call
- type HostNameResolverInterface_GetObjectPath_Call
- func (_c *HostNameResolverInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *HostNameResolverInterface_GetObjectPath_Call
- func (_c *HostNameResolverInterface_GetObjectPath_Call) Run(run func()) *HostNameResolverInterface_GetObjectPath_Call
- func (_c *HostNameResolverInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *HostNameResolverInterface_GetObjectPath_Call
- type RecordBrowserInterface
- func (_m *RecordBrowserInterface) AddChannel() chan avahi.Record
- func (_m *RecordBrowserInterface) DispatchSignal(signal *dbus.Signal) error
- func (_m *RecordBrowserInterface) EXPECT() *RecordBrowserInterface_Expecter
- func (_m *RecordBrowserInterface) Free()
- func (_m *RecordBrowserInterface) GetObjectPath() dbus.ObjectPath
- func (_m *RecordBrowserInterface) RemoveChannel() chan avahi.Record
- type RecordBrowserInterface_AddChannel_Call
- func (_c *RecordBrowserInterface_AddChannel_Call) Return(_a0 chan avahi.Record) *RecordBrowserInterface_AddChannel_Call
- func (_c *RecordBrowserInterface_AddChannel_Call) Run(run func()) *RecordBrowserInterface_AddChannel_Call
- func (_c *RecordBrowserInterface_AddChannel_Call) RunAndReturn(run func() chan avahi.Record) *RecordBrowserInterface_AddChannel_Call
- type RecordBrowserInterface_DispatchSignal_Call
- func (_c *RecordBrowserInterface_DispatchSignal_Call) Return(_a0 error) *RecordBrowserInterface_DispatchSignal_Call
- func (_c *RecordBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *RecordBrowserInterface_DispatchSignal_Call
- func (_c *RecordBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *RecordBrowserInterface_DispatchSignal_Call
- type RecordBrowserInterface_Expecter
- func (_e *RecordBrowserInterface_Expecter) AddChannel() *RecordBrowserInterface_AddChannel_Call
- func (_e *RecordBrowserInterface_Expecter) DispatchSignal(signal interface{}) *RecordBrowserInterface_DispatchSignal_Call
- func (_e *RecordBrowserInterface_Expecter) Free() *RecordBrowserInterface_Free_Call
- func (_e *RecordBrowserInterface_Expecter) GetObjectPath() *RecordBrowserInterface_GetObjectPath_Call
- func (_e *RecordBrowserInterface_Expecter) RemoveChannel() *RecordBrowserInterface_RemoveChannel_Call
- type RecordBrowserInterface_Free_Call
- type RecordBrowserInterface_GetObjectPath_Call
- func (_c *RecordBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *RecordBrowserInterface_GetObjectPath_Call
- func (_c *RecordBrowserInterface_GetObjectPath_Call) Run(run func()) *RecordBrowserInterface_GetObjectPath_Call
- func (_c *RecordBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *RecordBrowserInterface_GetObjectPath_Call
- type RecordBrowserInterface_RemoveChannel_Call
- func (_c *RecordBrowserInterface_RemoveChannel_Call) Return(_a0 chan avahi.Record) *RecordBrowserInterface_RemoveChannel_Call
- func (_c *RecordBrowserInterface_RemoveChannel_Call) Run(run func()) *RecordBrowserInterface_RemoveChannel_Call
- func (_c *RecordBrowserInterface_RemoveChannel_Call) RunAndReturn(run func() chan avahi.Record) *RecordBrowserInterface_RemoveChannel_Call
- type ServerInterface
- func (_m *ServerInterface) AddressResolverFree(r avahi.AddressResolverInterface)
- func (_m *ServerInterface) AddressResolverNew(iface int32, protocol int32, address string, flags uint32) (avahi.AddressResolverInterface, error)
- func (_m *ServerInterface) DomainBrowserFree(r avahi.DomainBrowserInterface)
- func (_m *ServerInterface) DomainBrowserNew(iface int32, protocol int32, domain string, btype int32, flags uint32) (avahi.DomainBrowserInterface, error)
- func (_m *ServerInterface) EXPECT() *ServerInterface_Expecter
- func (_m *ServerInterface) EntryGroupFree(r avahi.EntryGroupInterface)
- func (_m *ServerInterface) EntryGroupNew() (avahi.EntryGroupInterface, error)
- func (_m *ServerInterface) GetAPIVersion() (int32, error)
- func (_m *ServerInterface) GetAlternativeHostName(name string) (string, error)
- func (_m *ServerInterface) GetAlternativeServiceName(name string) (string, error)
- func (_m *ServerInterface) GetDomainName() (string, error)
- func (_m *ServerInterface) GetHostName() (string, error)
- func (_m *ServerInterface) GetHostNameFqdn() (string, error)
- func (_m *ServerInterface) GetLocalServiceCookie() (int32, error)
- func (_m *ServerInterface) GetNetworkInterfaceIndexByName(name string) (int32, error)
- func (_m *ServerInterface) GetNetworkInterfaceNameByIndex(index int32) (string, error)
- func (_m *ServerInterface) GetState() (int32, error)
- func (_m *ServerInterface) GetVersionString() (string, error)
- func (_m *ServerInterface) HostNameResolverNew(iface int32, protocol int32, name string, aprotocol int32, flags uint32) (avahi.HostNameResolverInterface, error)
- func (_m *ServerInterface) IsNSSSupportAvailable() (bool, error)
- func (_m *ServerInterface) RecordBrowserFree(r avahi.RecordBrowserInterface)
- func (_m *ServerInterface) RecordBrowserNew(iface int32, protocol int32, name string, class uint16, recordType uint16, ...) (avahi.RecordBrowserInterface, error)
- func (_m *ServerInterface) ResolveAddress(iface int32, protocol int32, address string, flags uint32) (avahi.Address, error)
- func (_m *ServerInterface) ResolveHostName(iface int32, protocol int32, name string, aprotocol int32, flags uint32) (avahi.HostName, error)
- func (_m *ServerInterface) ResolveService(iface int32, protocol int32, name string, serviceType string, domain string, ...) (avahi.Service, error)
- func (_m *ServerInterface) ServiceBrowserFree(r avahi.ServiceBrowserInterface)
- func (_m *ServerInterface) ServiceBrowserNew(addChan chan avahi.Service, removeChan chan avahi.Service, iface int32, ...) (avahi.ServiceBrowserInterface, error)
- func (_m *ServerInterface) ServiceResolverFree(r avahi.ServiceResolverInterface)
- func (_m *ServerInterface) ServiceResolverNew(iface int32, protocol int32, name string, serviceType string, domain string, ...) (avahi.ServiceResolverInterface, error)
- func (_m *ServerInterface) ServiceTypeBrowserFree(r avahi.ServiceTypeBrowserInterface)
- func (_m *ServerInterface) ServiceTypeBrowserNew(iface int32, protocol int32, domain string, flags uint32) (avahi.ServiceTypeBrowserInterface, error)
- func (_m *ServerInterface) SetServerName(name string) error
- func (_m *ServerInterface) Setup(eventCB avahi.EventCB) error
- func (_m *ServerInterface) Shutdown()
- func (_m *ServerInterface) Start()
- type ServerInterface_AddressResolverFree_Call
- func (_c *ServerInterface_AddressResolverFree_Call) Return() *ServerInterface_AddressResolverFree_Call
- func (_c *ServerInterface_AddressResolverFree_Call) Run(run func(r avahi.AddressResolverInterface)) *ServerInterface_AddressResolverFree_Call
- func (_c *ServerInterface_AddressResolverFree_Call) RunAndReturn(run func(avahi.AddressResolverInterface)) *ServerInterface_AddressResolverFree_Call
- type ServerInterface_AddressResolverNew_Call
- func (_c *ServerInterface_AddressResolverNew_Call) Return(_a0 avahi.AddressResolverInterface, _a1 error) *ServerInterface_AddressResolverNew_Call
- func (_c *ServerInterface_AddressResolverNew_Call) Run(run func(iface int32, protocol int32, address string, flags uint32)) *ServerInterface_AddressResolverNew_Call
- func (_c *ServerInterface_AddressResolverNew_Call) RunAndReturn(run func(int32, int32, string, uint32) (avahi.AddressResolverInterface, error)) *ServerInterface_AddressResolverNew_Call
- type ServerInterface_DomainBrowserFree_Call
- func (_c *ServerInterface_DomainBrowserFree_Call) Return() *ServerInterface_DomainBrowserFree_Call
- func (_c *ServerInterface_DomainBrowserFree_Call) Run(run func(r avahi.DomainBrowserInterface)) *ServerInterface_DomainBrowserFree_Call
- func (_c *ServerInterface_DomainBrowserFree_Call) RunAndReturn(run func(avahi.DomainBrowserInterface)) *ServerInterface_DomainBrowserFree_Call
- type ServerInterface_DomainBrowserNew_Call
- func (_c *ServerInterface_DomainBrowserNew_Call) Return(_a0 avahi.DomainBrowserInterface, _a1 error) *ServerInterface_DomainBrowserNew_Call
- func (_c *ServerInterface_DomainBrowserNew_Call) Run(...) *ServerInterface_DomainBrowserNew_Call
- func (_c *ServerInterface_DomainBrowserNew_Call) RunAndReturn(...) *ServerInterface_DomainBrowserNew_Call
- type ServerInterface_EntryGroupFree_Call
- func (_c *ServerInterface_EntryGroupFree_Call) Return() *ServerInterface_EntryGroupFree_Call
- func (_c *ServerInterface_EntryGroupFree_Call) Run(run func(r avahi.EntryGroupInterface)) *ServerInterface_EntryGroupFree_Call
- func (_c *ServerInterface_EntryGroupFree_Call) RunAndReturn(run func(avahi.EntryGroupInterface)) *ServerInterface_EntryGroupFree_Call
- type ServerInterface_EntryGroupNew_Call
- func (_c *ServerInterface_EntryGroupNew_Call) Return(_a0 avahi.EntryGroupInterface, _a1 error) *ServerInterface_EntryGroupNew_Call
- func (_c *ServerInterface_EntryGroupNew_Call) Run(run func()) *ServerInterface_EntryGroupNew_Call
- func (_c *ServerInterface_EntryGroupNew_Call) RunAndReturn(run func() (avahi.EntryGroupInterface, error)) *ServerInterface_EntryGroupNew_Call
- type ServerInterface_Expecter
- func (_e *ServerInterface_Expecter) AddressResolverFree(r interface{}) *ServerInterface_AddressResolverFree_Call
- func (_e *ServerInterface_Expecter) AddressResolverNew(iface interface{}, protocol interface{}, address interface{}, ...) *ServerInterface_AddressResolverNew_Call
- func (_e *ServerInterface_Expecter) DomainBrowserFree(r interface{}) *ServerInterface_DomainBrowserFree_Call
- func (_e *ServerInterface_Expecter) DomainBrowserNew(iface interface{}, protocol interface{}, domain interface{}, btype interface{}, ...) *ServerInterface_DomainBrowserNew_Call
- func (_e *ServerInterface_Expecter) EntryGroupFree(r interface{}) *ServerInterface_EntryGroupFree_Call
- func (_e *ServerInterface_Expecter) EntryGroupNew() *ServerInterface_EntryGroupNew_Call
- func (_e *ServerInterface_Expecter) GetAPIVersion() *ServerInterface_GetAPIVersion_Call
- func (_e *ServerInterface_Expecter) GetAlternativeHostName(name interface{}) *ServerInterface_GetAlternativeHostName_Call
- func (_e *ServerInterface_Expecter) GetAlternativeServiceName(name interface{}) *ServerInterface_GetAlternativeServiceName_Call
- func (_e *ServerInterface_Expecter) GetDomainName() *ServerInterface_GetDomainName_Call
- func (_e *ServerInterface_Expecter) GetHostName() *ServerInterface_GetHostName_Call
- func (_e *ServerInterface_Expecter) GetHostNameFqdn() *ServerInterface_GetHostNameFqdn_Call
- func (_e *ServerInterface_Expecter) GetLocalServiceCookie() *ServerInterface_GetLocalServiceCookie_Call
- func (_e *ServerInterface_Expecter) GetNetworkInterfaceIndexByName(name interface{}) *ServerInterface_GetNetworkInterfaceIndexByName_Call
- func (_e *ServerInterface_Expecter) GetNetworkInterfaceNameByIndex(index interface{}) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
- func (_e *ServerInterface_Expecter) GetState() *ServerInterface_GetState_Call
- func (_e *ServerInterface_Expecter) GetVersionString() *ServerInterface_GetVersionString_Call
- func (_e *ServerInterface_Expecter) HostNameResolverNew(iface interface{}, protocol interface{}, name interface{}, ...) *ServerInterface_HostNameResolverNew_Call
- func (_e *ServerInterface_Expecter) IsNSSSupportAvailable() *ServerInterface_IsNSSSupportAvailable_Call
- func (_e *ServerInterface_Expecter) RecordBrowserFree(r interface{}) *ServerInterface_RecordBrowserFree_Call
- func (_e *ServerInterface_Expecter) RecordBrowserNew(iface interface{}, protocol interface{}, name interface{}, class interface{}, ...) *ServerInterface_RecordBrowserNew_Call
- func (_e *ServerInterface_Expecter) ResolveAddress(iface interface{}, protocol interface{}, address interface{}, ...) *ServerInterface_ResolveAddress_Call
- func (_e *ServerInterface_Expecter) ResolveHostName(iface interface{}, protocol interface{}, name interface{}, ...) *ServerInterface_ResolveHostName_Call
- func (_e *ServerInterface_Expecter) ResolveService(iface interface{}, protocol interface{}, name interface{}, ...) *ServerInterface_ResolveService_Call
- func (_e *ServerInterface_Expecter) ServiceBrowserFree(r interface{}) *ServerInterface_ServiceBrowserFree_Call
- func (_e *ServerInterface_Expecter) ServiceBrowserNew(addChan interface{}, removeChan interface{}, iface interface{}, ...) *ServerInterface_ServiceBrowserNew_Call
- func (_e *ServerInterface_Expecter) ServiceResolverFree(r interface{}) *ServerInterface_ServiceResolverFree_Call
- func (_e *ServerInterface_Expecter) ServiceResolverNew(iface interface{}, protocol interface{}, name interface{}, ...) *ServerInterface_ServiceResolverNew_Call
- func (_e *ServerInterface_Expecter) ServiceTypeBrowserFree(r interface{}) *ServerInterface_ServiceTypeBrowserFree_Call
- func (_e *ServerInterface_Expecter) ServiceTypeBrowserNew(iface interface{}, protocol interface{}, domain interface{}, flags interface{}) *ServerInterface_ServiceTypeBrowserNew_Call
- func (_e *ServerInterface_Expecter) SetServerName(name interface{}) *ServerInterface_SetServerName_Call
- func (_e *ServerInterface_Expecter) Setup(eventCB interface{}) *ServerInterface_Setup_Call
- func (_e *ServerInterface_Expecter) Shutdown() *ServerInterface_Shutdown_Call
- func (_e *ServerInterface_Expecter) Start() *ServerInterface_Start_Call
- type ServerInterface_GetAPIVersion_Call
- func (_c *ServerInterface_GetAPIVersion_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetAPIVersion_Call
- func (_c *ServerInterface_GetAPIVersion_Call) Run(run func()) *ServerInterface_GetAPIVersion_Call
- func (_c *ServerInterface_GetAPIVersion_Call) RunAndReturn(run func() (int32, error)) *ServerInterface_GetAPIVersion_Call
- type ServerInterface_GetAlternativeHostName_Call
- func (_c *ServerInterface_GetAlternativeHostName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetAlternativeHostName_Call
- func (_c *ServerInterface_GetAlternativeHostName_Call) Run(run func(name string)) *ServerInterface_GetAlternativeHostName_Call
- func (_c *ServerInterface_GetAlternativeHostName_Call) RunAndReturn(run func(string) (string, error)) *ServerInterface_GetAlternativeHostName_Call
- type ServerInterface_GetAlternativeServiceName_Call
- func (_c *ServerInterface_GetAlternativeServiceName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetAlternativeServiceName_Call
- func (_c *ServerInterface_GetAlternativeServiceName_Call) Run(run func(name string)) *ServerInterface_GetAlternativeServiceName_Call
- func (_c *ServerInterface_GetAlternativeServiceName_Call) RunAndReturn(run func(string) (string, error)) *ServerInterface_GetAlternativeServiceName_Call
- type ServerInterface_GetDomainName_Call
- func (_c *ServerInterface_GetDomainName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetDomainName_Call
- func (_c *ServerInterface_GetDomainName_Call) Run(run func()) *ServerInterface_GetDomainName_Call
- func (_c *ServerInterface_GetDomainName_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetDomainName_Call
- type ServerInterface_GetHostNameFqdn_Call
- func (_c *ServerInterface_GetHostNameFqdn_Call) Return(_a0 string, _a1 error) *ServerInterface_GetHostNameFqdn_Call
- func (_c *ServerInterface_GetHostNameFqdn_Call) Run(run func()) *ServerInterface_GetHostNameFqdn_Call
- func (_c *ServerInterface_GetHostNameFqdn_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetHostNameFqdn_Call
- type ServerInterface_GetHostName_Call
- func (_c *ServerInterface_GetHostName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetHostName_Call
- func (_c *ServerInterface_GetHostName_Call) Run(run func()) *ServerInterface_GetHostName_Call
- func (_c *ServerInterface_GetHostName_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetHostName_Call
- type ServerInterface_GetLocalServiceCookie_Call
- func (_c *ServerInterface_GetLocalServiceCookie_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetLocalServiceCookie_Call
- func (_c *ServerInterface_GetLocalServiceCookie_Call) Run(run func()) *ServerInterface_GetLocalServiceCookie_Call
- func (_c *ServerInterface_GetLocalServiceCookie_Call) RunAndReturn(run func() (int32, error)) *ServerInterface_GetLocalServiceCookie_Call
- type ServerInterface_GetNetworkInterfaceIndexByName_Call
- func (_c *ServerInterface_GetNetworkInterfaceIndexByName_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetNetworkInterfaceIndexByName_Call
- func (_c *ServerInterface_GetNetworkInterfaceIndexByName_Call) Run(run func(name string)) *ServerInterface_GetNetworkInterfaceIndexByName_Call
- func (_c *ServerInterface_GetNetworkInterfaceIndexByName_Call) RunAndReturn(run func(string) (int32, error)) *ServerInterface_GetNetworkInterfaceIndexByName_Call
- type ServerInterface_GetNetworkInterfaceNameByIndex_Call
- func (_c *ServerInterface_GetNetworkInterfaceNameByIndex_Call) Return(_a0 string, _a1 error) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
- func (_c *ServerInterface_GetNetworkInterfaceNameByIndex_Call) Run(run func(index int32)) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
- func (_c *ServerInterface_GetNetworkInterfaceNameByIndex_Call) RunAndReturn(run func(int32) (string, error)) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
- type ServerInterface_GetState_Call
- func (_c *ServerInterface_GetState_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetState_Call
- func (_c *ServerInterface_GetState_Call) Run(run func()) *ServerInterface_GetState_Call
- func (_c *ServerInterface_GetState_Call) RunAndReturn(run func() (int32, error)) *ServerInterface_GetState_Call
- type ServerInterface_GetVersionString_Call
- func (_c *ServerInterface_GetVersionString_Call) Return(_a0 string, _a1 error) *ServerInterface_GetVersionString_Call
- func (_c *ServerInterface_GetVersionString_Call) Run(run func()) *ServerInterface_GetVersionString_Call
- func (_c *ServerInterface_GetVersionString_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetVersionString_Call
- type ServerInterface_HostNameResolverNew_Call
- func (_c *ServerInterface_HostNameResolverNew_Call) Return(_a0 avahi.HostNameResolverInterface, _a1 error) *ServerInterface_HostNameResolverNew_Call
- func (_c *ServerInterface_HostNameResolverNew_Call) Run(...) *ServerInterface_HostNameResolverNew_Call
- func (_c *ServerInterface_HostNameResolverNew_Call) RunAndReturn(...) *ServerInterface_HostNameResolverNew_Call
- type ServerInterface_IsNSSSupportAvailable_Call
- func (_c *ServerInterface_IsNSSSupportAvailable_Call) Return(_a0 bool, _a1 error) *ServerInterface_IsNSSSupportAvailable_Call
- func (_c *ServerInterface_IsNSSSupportAvailable_Call) Run(run func()) *ServerInterface_IsNSSSupportAvailable_Call
- func (_c *ServerInterface_IsNSSSupportAvailable_Call) RunAndReturn(run func() (bool, error)) *ServerInterface_IsNSSSupportAvailable_Call
- type ServerInterface_RecordBrowserFree_Call
- func (_c *ServerInterface_RecordBrowserFree_Call) Return() *ServerInterface_RecordBrowserFree_Call
- func (_c *ServerInterface_RecordBrowserFree_Call) Run(run func(r avahi.RecordBrowserInterface)) *ServerInterface_RecordBrowserFree_Call
- func (_c *ServerInterface_RecordBrowserFree_Call) RunAndReturn(run func(avahi.RecordBrowserInterface)) *ServerInterface_RecordBrowserFree_Call
- type ServerInterface_RecordBrowserNew_Call
- func (_c *ServerInterface_RecordBrowserNew_Call) Return(_a0 avahi.RecordBrowserInterface, _a1 error) *ServerInterface_RecordBrowserNew_Call
- func (_c *ServerInterface_RecordBrowserNew_Call) Run(...) *ServerInterface_RecordBrowserNew_Call
- func (_c *ServerInterface_RecordBrowserNew_Call) RunAndReturn(...) *ServerInterface_RecordBrowserNew_Call
- type ServerInterface_ResolveAddress_Call
- func (_c *ServerInterface_ResolveAddress_Call) Return(reply avahi.Address, err error) *ServerInterface_ResolveAddress_Call
- func (_c *ServerInterface_ResolveAddress_Call) Run(run func(iface int32, protocol int32, address string, flags uint32)) *ServerInterface_ResolveAddress_Call
- func (_c *ServerInterface_ResolveAddress_Call) RunAndReturn(run func(int32, int32, string, uint32) (avahi.Address, error)) *ServerInterface_ResolveAddress_Call
- type ServerInterface_ResolveHostName_Call
- func (_c *ServerInterface_ResolveHostName_Call) Return(reply avahi.HostName, err error) *ServerInterface_ResolveHostName_Call
- func (_c *ServerInterface_ResolveHostName_Call) Run(...) *ServerInterface_ResolveHostName_Call
- func (_c *ServerInterface_ResolveHostName_Call) RunAndReturn(run func(int32, int32, string, int32, uint32) (avahi.HostName, error)) *ServerInterface_ResolveHostName_Call
- type ServerInterface_ResolveService_Call
- func (_c *ServerInterface_ResolveService_Call) Return(reply avahi.Service, err error) *ServerInterface_ResolveService_Call
- func (_c *ServerInterface_ResolveService_Call) Run(...) *ServerInterface_ResolveService_Call
- func (_c *ServerInterface_ResolveService_Call) RunAndReturn(...) *ServerInterface_ResolveService_Call
- type ServerInterface_ServiceBrowserFree_Call
- func (_c *ServerInterface_ServiceBrowserFree_Call) Return() *ServerInterface_ServiceBrowserFree_Call
- func (_c *ServerInterface_ServiceBrowserFree_Call) Run(run func(r avahi.ServiceBrowserInterface)) *ServerInterface_ServiceBrowserFree_Call
- func (_c *ServerInterface_ServiceBrowserFree_Call) RunAndReturn(run func(avahi.ServiceBrowserInterface)) *ServerInterface_ServiceBrowserFree_Call
- type ServerInterface_ServiceBrowserNew_Call
- func (_c *ServerInterface_ServiceBrowserNew_Call) Return(_a0 avahi.ServiceBrowserInterface, _a1 error) *ServerInterface_ServiceBrowserNew_Call
- func (_c *ServerInterface_ServiceBrowserNew_Call) Run(...) *ServerInterface_ServiceBrowserNew_Call
- func (_c *ServerInterface_ServiceBrowserNew_Call) RunAndReturn(...) *ServerInterface_ServiceBrowserNew_Call
- type ServerInterface_ServiceResolverFree_Call
- func (_c *ServerInterface_ServiceResolverFree_Call) Return() *ServerInterface_ServiceResolverFree_Call
- func (_c *ServerInterface_ServiceResolverFree_Call) Run(run func(r avahi.ServiceResolverInterface)) *ServerInterface_ServiceResolverFree_Call
- func (_c *ServerInterface_ServiceResolverFree_Call) RunAndReturn(run func(avahi.ServiceResolverInterface)) *ServerInterface_ServiceResolverFree_Call
- type ServerInterface_ServiceResolverNew_Call
- func (_c *ServerInterface_ServiceResolverNew_Call) Return(_a0 avahi.ServiceResolverInterface, _a1 error) *ServerInterface_ServiceResolverNew_Call
- func (_c *ServerInterface_ServiceResolverNew_Call) Run(...) *ServerInterface_ServiceResolverNew_Call
- func (_c *ServerInterface_ServiceResolverNew_Call) RunAndReturn(...) *ServerInterface_ServiceResolverNew_Call
- type ServerInterface_ServiceTypeBrowserFree_Call
- func (_c *ServerInterface_ServiceTypeBrowserFree_Call) Return() *ServerInterface_ServiceTypeBrowserFree_Call
- func (_c *ServerInterface_ServiceTypeBrowserFree_Call) Run(run func(r avahi.ServiceTypeBrowserInterface)) *ServerInterface_ServiceTypeBrowserFree_Call
- func (_c *ServerInterface_ServiceTypeBrowserFree_Call) RunAndReturn(run func(avahi.ServiceTypeBrowserInterface)) *ServerInterface_ServiceTypeBrowserFree_Call
- type ServerInterface_ServiceTypeBrowserNew_Call
- func (_c *ServerInterface_ServiceTypeBrowserNew_Call) Return(_a0 avahi.ServiceTypeBrowserInterface, _a1 error) *ServerInterface_ServiceTypeBrowserNew_Call
- func (_c *ServerInterface_ServiceTypeBrowserNew_Call) Run(run func(iface int32, protocol int32, domain string, flags uint32)) *ServerInterface_ServiceTypeBrowserNew_Call
- func (_c *ServerInterface_ServiceTypeBrowserNew_Call) RunAndReturn(...) *ServerInterface_ServiceTypeBrowserNew_Call
- type ServerInterface_SetServerName_Call
- func (_c *ServerInterface_SetServerName_Call) Return(_a0 error) *ServerInterface_SetServerName_Call
- func (_c *ServerInterface_SetServerName_Call) Run(run func(name string)) *ServerInterface_SetServerName_Call
- func (_c *ServerInterface_SetServerName_Call) RunAndReturn(run func(string) error) *ServerInterface_SetServerName_Call
- type ServerInterface_Setup_Call
- type ServerInterface_Shutdown_Call
- type ServerInterface_Start_Call
- type ServiceBrowserInterface
- func (_m *ServiceBrowserInterface) AddChannel() chan avahi.Service
- func (_m *ServiceBrowserInterface) DispatchSignal(signal *dbus.Signal) error
- func (_m *ServiceBrowserInterface) EXPECT() *ServiceBrowserInterface_Expecter
- func (_m *ServiceBrowserInterface) Free()
- func (_m *ServiceBrowserInterface) GetObjectPath() dbus.ObjectPath
- func (_m *ServiceBrowserInterface) RemoveChannel() chan avahi.Service
- type ServiceBrowserInterface_AddChannel_Call
- func (_c *ServiceBrowserInterface_AddChannel_Call) Return(_a0 chan avahi.Service) *ServiceBrowserInterface_AddChannel_Call
- func (_c *ServiceBrowserInterface_AddChannel_Call) Run(run func()) *ServiceBrowserInterface_AddChannel_Call
- func (_c *ServiceBrowserInterface_AddChannel_Call) RunAndReturn(run func() chan avahi.Service) *ServiceBrowserInterface_AddChannel_Call
- type ServiceBrowserInterface_DispatchSignal_Call
- func (_c *ServiceBrowserInterface_DispatchSignal_Call) Return(_a0 error) *ServiceBrowserInterface_DispatchSignal_Call
- func (_c *ServiceBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *ServiceBrowserInterface_DispatchSignal_Call
- func (_c *ServiceBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *ServiceBrowserInterface_DispatchSignal_Call
- type ServiceBrowserInterface_Expecter
- func (_e *ServiceBrowserInterface_Expecter) AddChannel() *ServiceBrowserInterface_AddChannel_Call
- func (_e *ServiceBrowserInterface_Expecter) DispatchSignal(signal interface{}) *ServiceBrowserInterface_DispatchSignal_Call
- func (_e *ServiceBrowserInterface_Expecter) Free() *ServiceBrowserInterface_Free_Call
- func (_e *ServiceBrowserInterface_Expecter) GetObjectPath() *ServiceBrowserInterface_GetObjectPath_Call
- func (_e *ServiceBrowserInterface_Expecter) RemoveChannel() *ServiceBrowserInterface_RemoveChannel_Call
- type ServiceBrowserInterface_Free_Call
- type ServiceBrowserInterface_GetObjectPath_Call
- func (_c *ServiceBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *ServiceBrowserInterface_GetObjectPath_Call
- func (_c *ServiceBrowserInterface_GetObjectPath_Call) Run(run func()) *ServiceBrowserInterface_GetObjectPath_Call
- func (_c *ServiceBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *ServiceBrowserInterface_GetObjectPath_Call
- type ServiceBrowserInterface_RemoveChannel_Call
- func (_c *ServiceBrowserInterface_RemoveChannel_Call) Return(_a0 chan avahi.Service) *ServiceBrowserInterface_RemoveChannel_Call
- func (_c *ServiceBrowserInterface_RemoveChannel_Call) Run(run func()) *ServiceBrowserInterface_RemoveChannel_Call
- func (_c *ServiceBrowserInterface_RemoveChannel_Call) RunAndReturn(run func() chan avahi.Service) *ServiceBrowserInterface_RemoveChannel_Call
- type ServiceResolverInterface
- func (_m *ServiceResolverInterface) DispatchSignal(signal *dbus.Signal) error
- func (_m *ServiceResolverInterface) EXPECT() *ServiceResolverInterface_Expecter
- func (_m *ServiceResolverInterface) FoundChannel() chan avahi.Service
- func (_m *ServiceResolverInterface) Free()
- func (_m *ServiceResolverInterface) GetObjectPath() dbus.ObjectPath
- type ServiceResolverInterface_DispatchSignal_Call
- func (_c *ServiceResolverInterface_DispatchSignal_Call) Return(_a0 error) *ServiceResolverInterface_DispatchSignal_Call
- func (_c *ServiceResolverInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *ServiceResolverInterface_DispatchSignal_Call
- func (_c *ServiceResolverInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *ServiceResolverInterface_DispatchSignal_Call
- type ServiceResolverInterface_Expecter
- func (_e *ServiceResolverInterface_Expecter) DispatchSignal(signal interface{}) *ServiceResolverInterface_DispatchSignal_Call
- func (_e *ServiceResolverInterface_Expecter) FoundChannel() *ServiceResolverInterface_FoundChannel_Call
- func (_e *ServiceResolverInterface_Expecter) Free() *ServiceResolverInterface_Free_Call
- func (_e *ServiceResolverInterface_Expecter) GetObjectPath() *ServiceResolverInterface_GetObjectPath_Call
- type ServiceResolverInterface_FoundChannel_Call
- func (_c *ServiceResolverInterface_FoundChannel_Call) Return(_a0 chan avahi.Service) *ServiceResolverInterface_FoundChannel_Call
- func (_c *ServiceResolverInterface_FoundChannel_Call) Run(run func()) *ServiceResolverInterface_FoundChannel_Call
- func (_c *ServiceResolverInterface_FoundChannel_Call) RunAndReturn(run func() chan avahi.Service) *ServiceResolverInterface_FoundChannel_Call
- type ServiceResolverInterface_Free_Call
- type ServiceResolverInterface_GetObjectPath_Call
- func (_c *ServiceResolverInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *ServiceResolverInterface_GetObjectPath_Call
- func (_c *ServiceResolverInterface_GetObjectPath_Call) Run(run func()) *ServiceResolverInterface_GetObjectPath_Call
- func (_c *ServiceResolverInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *ServiceResolverInterface_GetObjectPath_Call
- type ServiceTypeBrowserInterface
- func (_m *ServiceTypeBrowserInterface) AddChannel() chan avahi.ServiceType
- func (_m *ServiceTypeBrowserInterface) DispatchSignal(signal *dbus.Signal) error
- func (_m *ServiceTypeBrowserInterface) EXPECT() *ServiceTypeBrowserInterface_Expecter
- func (_m *ServiceTypeBrowserInterface) Free()
- func (_m *ServiceTypeBrowserInterface) GetObjectPath() dbus.ObjectPath
- func (_m *ServiceTypeBrowserInterface) RemoveChannel() chan avahi.ServiceType
- type ServiceTypeBrowserInterface_AddChannel_Call
- func (_c *ServiceTypeBrowserInterface_AddChannel_Call) Return(_a0 chan avahi.ServiceType) *ServiceTypeBrowserInterface_AddChannel_Call
- func (_c *ServiceTypeBrowserInterface_AddChannel_Call) Run(run func()) *ServiceTypeBrowserInterface_AddChannel_Call
- func (_c *ServiceTypeBrowserInterface_AddChannel_Call) RunAndReturn(run func() chan avahi.ServiceType) *ServiceTypeBrowserInterface_AddChannel_Call
- type ServiceTypeBrowserInterface_DispatchSignal_Call
- func (_c *ServiceTypeBrowserInterface_DispatchSignal_Call) Return(_a0 error) *ServiceTypeBrowserInterface_DispatchSignal_Call
- func (_c *ServiceTypeBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *ServiceTypeBrowserInterface_DispatchSignal_Call
- func (_c *ServiceTypeBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *ServiceTypeBrowserInterface_DispatchSignal_Call
- type ServiceTypeBrowserInterface_Expecter
- func (_e *ServiceTypeBrowserInterface_Expecter) AddChannel() *ServiceTypeBrowserInterface_AddChannel_Call
- func (_e *ServiceTypeBrowserInterface_Expecter) DispatchSignal(signal interface{}) *ServiceTypeBrowserInterface_DispatchSignal_Call
- func (_e *ServiceTypeBrowserInterface_Expecter) Free() *ServiceTypeBrowserInterface_Free_Call
- func (_e *ServiceTypeBrowserInterface_Expecter) GetObjectPath() *ServiceTypeBrowserInterface_GetObjectPath_Call
- func (_e *ServiceTypeBrowserInterface_Expecter) RemoveChannel() *ServiceTypeBrowserInterface_RemoveChannel_Call
- type ServiceTypeBrowserInterface_Free_Call
- func (_c *ServiceTypeBrowserInterface_Free_Call) Return() *ServiceTypeBrowserInterface_Free_Call
- func (_c *ServiceTypeBrowserInterface_Free_Call) Run(run func()) *ServiceTypeBrowserInterface_Free_Call
- func (_c *ServiceTypeBrowserInterface_Free_Call) RunAndReturn(run func()) *ServiceTypeBrowserInterface_Free_Call
- type ServiceTypeBrowserInterface_GetObjectPath_Call
- func (_c *ServiceTypeBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *ServiceTypeBrowserInterface_GetObjectPath_Call
- func (_c *ServiceTypeBrowserInterface_GetObjectPath_Call) Run(run func()) *ServiceTypeBrowserInterface_GetObjectPath_Call
- func (_c *ServiceTypeBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *ServiceTypeBrowserInterface_GetObjectPath_Call
- type ServiceTypeBrowserInterface_RemoveChannel_Call
- func (_c *ServiceTypeBrowserInterface_RemoveChannel_Call) Return(_a0 chan avahi.ServiceType) *ServiceTypeBrowserInterface_RemoveChannel_Call
- func (_c *ServiceTypeBrowserInterface_RemoveChannel_Call) Run(run func()) *ServiceTypeBrowserInterface_RemoveChannel_Call
- func (_c *ServiceTypeBrowserInterface_RemoveChannel_Call) RunAndReturn(run func() chan avahi.ServiceType) *ServiceTypeBrowserInterface_RemoveChannel_Call
- type SignalEmitter
- type SignalEmitter_DispatchSignal_Call
- func (_c *SignalEmitter_DispatchSignal_Call) Return(_a0 error) *SignalEmitter_DispatchSignal_Call
- func (_c *SignalEmitter_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *SignalEmitter_DispatchSignal_Call
- func (_c *SignalEmitter_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *SignalEmitter_DispatchSignal_Call
- type SignalEmitter_Expecter
- type SignalEmitter_Free_Call
- type SignalEmitter_GetObjectPath_Call
- func (_c *SignalEmitter_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *SignalEmitter_GetObjectPath_Call
- func (_c *SignalEmitter_GetObjectPath_Call) Run(run func()) *SignalEmitter_GetObjectPath_Call
- func (_c *SignalEmitter_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *SignalEmitter_GetObjectPath_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressResolverInterface ¶
AddressResolverInterface is an autogenerated mock type for the AddressResolverInterface type
func NewAddressResolverInterface ¶
func NewAddressResolverInterface(t interface { mock.TestingT Cleanup(func()) }) *AddressResolverInterface
NewAddressResolverInterface creates a new instance of AddressResolverInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AddressResolverInterface) DispatchSignal ¶
func (_m *AddressResolverInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*AddressResolverInterface) EXPECT ¶
func (_m *AddressResolverInterface) EXPECT() *AddressResolverInterface_Expecter
func (*AddressResolverInterface) FoundChannel ¶
func (_m *AddressResolverInterface) FoundChannel() chan avahi.Address
FoundChannel provides a mock function with given fields:
func (*AddressResolverInterface) Free ¶
func (_m *AddressResolverInterface) Free()
Free provides a mock function with given fields:
func (*AddressResolverInterface) GetObjectPath ¶
func (_m *AddressResolverInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
type AddressResolverInterface_DispatchSignal_Call ¶
AddressResolverInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*AddressResolverInterface_DispatchSignal_Call) Return ¶
func (_c *AddressResolverInterface_DispatchSignal_Call) Return(_a0 error) *AddressResolverInterface_DispatchSignal_Call
func (*AddressResolverInterface_DispatchSignal_Call) Run ¶
func (_c *AddressResolverInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *AddressResolverInterface_DispatchSignal_Call
func (*AddressResolverInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *AddressResolverInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *AddressResolverInterface_DispatchSignal_Call
type AddressResolverInterface_Expecter ¶
type AddressResolverInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*AddressResolverInterface_Expecter) DispatchSignal ¶
func (_e *AddressResolverInterface_Expecter) DispatchSignal(signal interface{}) *AddressResolverInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*AddressResolverInterface_Expecter) FoundChannel ¶
func (_e *AddressResolverInterface_Expecter) FoundChannel() *AddressResolverInterface_FoundChannel_Call
FoundChannel is a helper method to define mock.On call
func (*AddressResolverInterface_Expecter) Free ¶
func (_e *AddressResolverInterface_Expecter) Free() *AddressResolverInterface_Free_Call
Free is a helper method to define mock.On call
func (*AddressResolverInterface_Expecter) GetObjectPath ¶
func (_e *AddressResolverInterface_Expecter) GetObjectPath() *AddressResolverInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
type AddressResolverInterface_FoundChannel_Call ¶
AddressResolverInterface_FoundChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FoundChannel'
func (*AddressResolverInterface_FoundChannel_Call) Return ¶
func (_c *AddressResolverInterface_FoundChannel_Call) Return(_a0 chan avahi.Address) *AddressResolverInterface_FoundChannel_Call
func (*AddressResolverInterface_FoundChannel_Call) Run ¶
func (_c *AddressResolverInterface_FoundChannel_Call) Run(run func()) *AddressResolverInterface_FoundChannel_Call
func (*AddressResolverInterface_FoundChannel_Call) RunAndReturn ¶
func (_c *AddressResolverInterface_FoundChannel_Call) RunAndReturn(run func() chan avahi.Address) *AddressResolverInterface_FoundChannel_Call
type AddressResolverInterface_Free_Call ¶
AddressResolverInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*AddressResolverInterface_Free_Call) Return ¶
func (_c *AddressResolverInterface_Free_Call) Return() *AddressResolverInterface_Free_Call
func (*AddressResolverInterface_Free_Call) Run ¶
func (_c *AddressResolverInterface_Free_Call) Run(run func()) *AddressResolverInterface_Free_Call
func (*AddressResolverInterface_Free_Call) RunAndReturn ¶
func (_c *AddressResolverInterface_Free_Call) RunAndReturn(run func()) *AddressResolverInterface_Free_Call
type AddressResolverInterface_GetObjectPath_Call ¶
AddressResolverInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*AddressResolverInterface_GetObjectPath_Call) Return ¶
func (_c *AddressResolverInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *AddressResolverInterface_GetObjectPath_Call
func (*AddressResolverInterface_GetObjectPath_Call) Run ¶
func (_c *AddressResolverInterface_GetObjectPath_Call) Run(run func()) *AddressResolverInterface_GetObjectPath_Call
func (*AddressResolverInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *AddressResolverInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *AddressResolverInterface_GetObjectPath_Call
type DomainBrowserInterface ¶
DomainBrowserInterface is an autogenerated mock type for the DomainBrowserInterface type
func NewDomainBrowserInterface ¶
func NewDomainBrowserInterface(t interface { mock.TestingT Cleanup(func()) }) *DomainBrowserInterface
NewDomainBrowserInterface creates a new instance of DomainBrowserInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DomainBrowserInterface) DispatchSignal ¶
func (_m *DomainBrowserInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*DomainBrowserInterface) EXPECT ¶
func (_m *DomainBrowserInterface) EXPECT() *DomainBrowserInterface_Expecter
func (*DomainBrowserInterface) Free ¶
func (_m *DomainBrowserInterface) Free()
Free provides a mock function with given fields:
func (*DomainBrowserInterface) GetObjectPath ¶
func (_m *DomainBrowserInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
type DomainBrowserInterface_DispatchSignal_Call ¶
DomainBrowserInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*DomainBrowserInterface_DispatchSignal_Call) Return ¶
func (_c *DomainBrowserInterface_DispatchSignal_Call) Return(_a0 error) *DomainBrowserInterface_DispatchSignal_Call
func (*DomainBrowserInterface_DispatchSignal_Call) Run ¶
func (_c *DomainBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *DomainBrowserInterface_DispatchSignal_Call
func (*DomainBrowserInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *DomainBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *DomainBrowserInterface_DispatchSignal_Call
type DomainBrowserInterface_Expecter ¶
type DomainBrowserInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*DomainBrowserInterface_Expecter) DispatchSignal ¶
func (_e *DomainBrowserInterface_Expecter) DispatchSignal(signal interface{}) *DomainBrowserInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*DomainBrowserInterface_Expecter) Free ¶
func (_e *DomainBrowserInterface_Expecter) Free() *DomainBrowserInterface_Free_Call
Free is a helper method to define mock.On call
func (*DomainBrowserInterface_Expecter) GetObjectPath ¶
func (_e *DomainBrowserInterface_Expecter) GetObjectPath() *DomainBrowserInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
type DomainBrowserInterface_Free_Call ¶
DomainBrowserInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*DomainBrowserInterface_Free_Call) Return ¶
func (_c *DomainBrowserInterface_Free_Call) Return() *DomainBrowserInterface_Free_Call
func (*DomainBrowserInterface_Free_Call) Run ¶
func (_c *DomainBrowserInterface_Free_Call) Run(run func()) *DomainBrowserInterface_Free_Call
func (*DomainBrowserInterface_Free_Call) RunAndReturn ¶
func (_c *DomainBrowserInterface_Free_Call) RunAndReturn(run func()) *DomainBrowserInterface_Free_Call
type DomainBrowserInterface_GetObjectPath_Call ¶
DomainBrowserInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*DomainBrowserInterface_GetObjectPath_Call) Return ¶
func (_c *DomainBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *DomainBrowserInterface_GetObjectPath_Call
func (*DomainBrowserInterface_GetObjectPath_Call) Run ¶
func (_c *DomainBrowserInterface_GetObjectPath_Call) Run(run func()) *DomainBrowserInterface_GetObjectPath_Call
func (*DomainBrowserInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *DomainBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *DomainBrowserInterface_GetObjectPath_Call
type EntryGroupInterface ¶
EntryGroupInterface is an autogenerated mock type for the EntryGroupInterface type
func NewEntryGroupInterface ¶
func NewEntryGroupInterface(t interface { mock.TestingT Cleanup(func()) }) *EntryGroupInterface
NewEntryGroupInterface creates a new instance of EntryGroupInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EntryGroupInterface) AddAddress ¶
func (_m *EntryGroupInterface) AddAddress(iface int32, protocol int32, flags uint32, name string, address string) error
AddAddress provides a mock function with given fields: iface, protocol, flags, name, address
func (*EntryGroupInterface) AddRecord ¶
func (_m *EntryGroupInterface) AddRecord(iface int32, protocol int32, flags uint32, name string, class uint16, recordType uint16, ttl uint32, rdata []byte) error
AddRecord provides a mock function with given fields: iface, protocol, flags, name, class, recordType, ttl, rdata
func (*EntryGroupInterface) AddService ¶
func (_m *EntryGroupInterface) AddService(iface int32, protocol int32, flags uint32, name string, serviceType string, domain string, host string, port uint16, txt [][]byte) error
AddService provides a mock function with given fields: iface, protocol, flags, name, serviceType, domain, host, port, txt
func (*EntryGroupInterface) AddServiceSubtype ¶
func (_m *EntryGroupInterface) AddServiceSubtype(iface int32, protocol int32, flags uint32, name string, serviceType string, domain string, subtype string) error
AddServiceSubtype provides a mock function with given fields: iface, protocol, flags, name, serviceType, domain, subtype
func (*EntryGroupInterface) Commit ¶
func (_m *EntryGroupInterface) Commit() error
Commit provides a mock function with given fields:
func (*EntryGroupInterface) DispatchSignal ¶
func (_m *EntryGroupInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*EntryGroupInterface) EXPECT ¶
func (_m *EntryGroupInterface) EXPECT() *EntryGroupInterface_Expecter
func (*EntryGroupInterface) Free ¶
func (_m *EntryGroupInterface) Free()
Free provides a mock function with given fields:
func (*EntryGroupInterface) GetObjectPath ¶
func (_m *EntryGroupInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
func (*EntryGroupInterface) GetState ¶
func (_m *EntryGroupInterface) GetState() (int32, error)
GetState provides a mock function with given fields:
func (*EntryGroupInterface) IsEmpty ¶
func (_m *EntryGroupInterface) IsEmpty() (bool, error)
IsEmpty provides a mock function with given fields:
func (*EntryGroupInterface) Reset ¶
func (_m *EntryGroupInterface) Reset() error
Reset provides a mock function with given fields:
func (*EntryGroupInterface) UpdateServiceTxt ¶
func (_m *EntryGroupInterface) UpdateServiceTxt(iface int32, protocol int32, flags uint32, name string, serviceType string, domain string, txt [][]byte) error
UpdateServiceTxt provides a mock function with given fields: iface, protocol, flags, name, serviceType, domain, txt
type EntryGroupInterface_AddAddress_Call ¶
EntryGroupInterface_AddAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAddress'
func (*EntryGroupInterface_AddAddress_Call) Return ¶
func (_c *EntryGroupInterface_AddAddress_Call) Return(_a0 error) *EntryGroupInterface_AddAddress_Call
func (*EntryGroupInterface_AddAddress_Call) Run ¶
func (_c *EntryGroupInterface_AddAddress_Call) Run(run func(iface int32, protocol int32, flags uint32, name string, address string)) *EntryGroupInterface_AddAddress_Call
func (*EntryGroupInterface_AddAddress_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_AddAddress_Call) RunAndReturn(run func(int32, int32, uint32, string, string) error) *EntryGroupInterface_AddAddress_Call
type EntryGroupInterface_AddRecord_Call ¶
EntryGroupInterface_AddRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddRecord'
func (*EntryGroupInterface_AddRecord_Call) Return ¶
func (_c *EntryGroupInterface_AddRecord_Call) Return(_a0 error) *EntryGroupInterface_AddRecord_Call
func (*EntryGroupInterface_AddRecord_Call) Run ¶
func (_c *EntryGroupInterface_AddRecord_Call) Run(run func(iface int32, protocol int32, flags uint32, name string, class uint16, recordType uint16, ttl uint32, rdata []byte)) *EntryGroupInterface_AddRecord_Call
func (*EntryGroupInterface_AddRecord_Call) RunAndReturn ¶
type EntryGroupInterface_AddServiceSubtype_Call ¶
EntryGroupInterface_AddServiceSubtype_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddServiceSubtype'
func (*EntryGroupInterface_AddServiceSubtype_Call) Return ¶
func (_c *EntryGroupInterface_AddServiceSubtype_Call) Return(_a0 error) *EntryGroupInterface_AddServiceSubtype_Call
func (*EntryGroupInterface_AddServiceSubtype_Call) Run ¶
func (_c *EntryGroupInterface_AddServiceSubtype_Call) Run(run func(iface int32, protocol int32, flags uint32, name string, serviceType string, domain string, subtype string)) *EntryGroupInterface_AddServiceSubtype_Call
func (*EntryGroupInterface_AddServiceSubtype_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_AddServiceSubtype_Call) RunAndReturn(run func(int32, int32, uint32, string, string, string, string) error) *EntryGroupInterface_AddServiceSubtype_Call
type EntryGroupInterface_AddService_Call ¶
EntryGroupInterface_AddService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddService'
func (*EntryGroupInterface_AddService_Call) Return ¶
func (_c *EntryGroupInterface_AddService_Call) Return(_a0 error) *EntryGroupInterface_AddService_Call
func (*EntryGroupInterface_AddService_Call) RunAndReturn ¶
type EntryGroupInterface_Commit_Call ¶
EntryGroupInterface_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*EntryGroupInterface_Commit_Call) Return ¶
func (_c *EntryGroupInterface_Commit_Call) Return(_a0 error) *EntryGroupInterface_Commit_Call
func (*EntryGroupInterface_Commit_Call) Run ¶
func (_c *EntryGroupInterface_Commit_Call) Run(run func()) *EntryGroupInterface_Commit_Call
func (*EntryGroupInterface_Commit_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_Commit_Call) RunAndReturn(run func() error) *EntryGroupInterface_Commit_Call
type EntryGroupInterface_DispatchSignal_Call ¶
EntryGroupInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*EntryGroupInterface_DispatchSignal_Call) Return ¶
func (_c *EntryGroupInterface_DispatchSignal_Call) Return(_a0 error) *EntryGroupInterface_DispatchSignal_Call
func (*EntryGroupInterface_DispatchSignal_Call) Run ¶
func (_c *EntryGroupInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *EntryGroupInterface_DispatchSignal_Call
func (*EntryGroupInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *EntryGroupInterface_DispatchSignal_Call
type EntryGroupInterface_Expecter ¶
type EntryGroupInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EntryGroupInterface_Expecter) AddAddress ¶
func (_e *EntryGroupInterface_Expecter) AddAddress(iface interface{}, protocol interface{}, flags interface{}, name interface{}, address interface{}) *EntryGroupInterface_AddAddress_Call
AddAddress is a helper method to define mock.On call
- iface int32
- protocol int32
- flags uint32
- name string
- address string
func (*EntryGroupInterface_Expecter) AddRecord ¶
func (_e *EntryGroupInterface_Expecter) AddRecord(iface interface{}, protocol interface{}, flags interface{}, name interface{}, class interface{}, recordType interface{}, ttl interface{}, rdata interface{}) *EntryGroupInterface_AddRecord_Call
AddRecord is a helper method to define mock.On call
- iface int32
- protocol int32
- flags uint32
- name string
- class uint16
- recordType uint16
- ttl uint32
- rdata []byte
func (*EntryGroupInterface_Expecter) AddService ¶
func (_e *EntryGroupInterface_Expecter) AddService(iface interface{}, protocol interface{}, flags interface{}, name interface{}, serviceType interface{}, domain interface{}, host interface{}, port interface{}, txt interface{}) *EntryGroupInterface_AddService_Call
AddService is a helper method to define mock.On call
- iface int32
- protocol int32
- flags uint32
- name string
- serviceType string
- domain string
- host string
- port uint16
- txt [][]byte
func (*EntryGroupInterface_Expecter) AddServiceSubtype ¶
func (_e *EntryGroupInterface_Expecter) AddServiceSubtype(iface interface{}, protocol interface{}, flags interface{}, name interface{}, serviceType interface{}, domain interface{}, subtype interface{}) *EntryGroupInterface_AddServiceSubtype_Call
AddServiceSubtype is a helper method to define mock.On call
- iface int32
- protocol int32
- flags uint32
- name string
- serviceType string
- domain string
- subtype string
func (*EntryGroupInterface_Expecter) Commit ¶
func (_e *EntryGroupInterface_Expecter) Commit() *EntryGroupInterface_Commit_Call
Commit is a helper method to define mock.On call
func (*EntryGroupInterface_Expecter) DispatchSignal ¶
func (_e *EntryGroupInterface_Expecter) DispatchSignal(signal interface{}) *EntryGroupInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*EntryGroupInterface_Expecter) Free ¶
func (_e *EntryGroupInterface_Expecter) Free() *EntryGroupInterface_Free_Call
Free is a helper method to define mock.On call
func (*EntryGroupInterface_Expecter) GetObjectPath ¶
func (_e *EntryGroupInterface_Expecter) GetObjectPath() *EntryGroupInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
func (*EntryGroupInterface_Expecter) GetState ¶
func (_e *EntryGroupInterface_Expecter) GetState() *EntryGroupInterface_GetState_Call
GetState is a helper method to define mock.On call
func (*EntryGroupInterface_Expecter) IsEmpty ¶
func (_e *EntryGroupInterface_Expecter) IsEmpty() *EntryGroupInterface_IsEmpty_Call
IsEmpty is a helper method to define mock.On call
func (*EntryGroupInterface_Expecter) Reset ¶
func (_e *EntryGroupInterface_Expecter) Reset() *EntryGroupInterface_Reset_Call
Reset is a helper method to define mock.On call
func (*EntryGroupInterface_Expecter) UpdateServiceTxt ¶
func (_e *EntryGroupInterface_Expecter) UpdateServiceTxt(iface interface{}, protocol interface{}, flags interface{}, name interface{}, serviceType interface{}, domain interface{}, txt interface{}) *EntryGroupInterface_UpdateServiceTxt_Call
UpdateServiceTxt is a helper method to define mock.On call
- iface int32
- protocol int32
- flags uint32
- name string
- serviceType string
- domain string
- txt [][]byte
type EntryGroupInterface_Free_Call ¶
EntryGroupInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*EntryGroupInterface_Free_Call) Return ¶
func (_c *EntryGroupInterface_Free_Call) Return() *EntryGroupInterface_Free_Call
func (*EntryGroupInterface_Free_Call) Run ¶
func (_c *EntryGroupInterface_Free_Call) Run(run func()) *EntryGroupInterface_Free_Call
func (*EntryGroupInterface_Free_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_Free_Call) RunAndReturn(run func()) *EntryGroupInterface_Free_Call
type EntryGroupInterface_GetObjectPath_Call ¶
EntryGroupInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*EntryGroupInterface_GetObjectPath_Call) Return ¶
func (_c *EntryGroupInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *EntryGroupInterface_GetObjectPath_Call
func (*EntryGroupInterface_GetObjectPath_Call) Run ¶
func (_c *EntryGroupInterface_GetObjectPath_Call) Run(run func()) *EntryGroupInterface_GetObjectPath_Call
func (*EntryGroupInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *EntryGroupInterface_GetObjectPath_Call
type EntryGroupInterface_GetState_Call ¶
EntryGroupInterface_GetState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetState'
func (*EntryGroupInterface_GetState_Call) Return ¶
func (_c *EntryGroupInterface_GetState_Call) Return(_a0 int32, _a1 error) *EntryGroupInterface_GetState_Call
func (*EntryGroupInterface_GetState_Call) Run ¶
func (_c *EntryGroupInterface_GetState_Call) Run(run func()) *EntryGroupInterface_GetState_Call
func (*EntryGroupInterface_GetState_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_GetState_Call) RunAndReturn(run func() (int32, error)) *EntryGroupInterface_GetState_Call
type EntryGroupInterface_IsEmpty_Call ¶
EntryGroupInterface_IsEmpty_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEmpty'
func (*EntryGroupInterface_IsEmpty_Call) Return ¶
func (_c *EntryGroupInterface_IsEmpty_Call) Return(_a0 bool, _a1 error) *EntryGroupInterface_IsEmpty_Call
func (*EntryGroupInterface_IsEmpty_Call) Run ¶
func (_c *EntryGroupInterface_IsEmpty_Call) Run(run func()) *EntryGroupInterface_IsEmpty_Call
func (*EntryGroupInterface_IsEmpty_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_IsEmpty_Call) RunAndReturn(run func() (bool, error)) *EntryGroupInterface_IsEmpty_Call
type EntryGroupInterface_Reset_Call ¶
EntryGroupInterface_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*EntryGroupInterface_Reset_Call) Return ¶
func (_c *EntryGroupInterface_Reset_Call) Return(_a0 error) *EntryGroupInterface_Reset_Call
func (*EntryGroupInterface_Reset_Call) Run ¶
func (_c *EntryGroupInterface_Reset_Call) Run(run func()) *EntryGroupInterface_Reset_Call
func (*EntryGroupInterface_Reset_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_Reset_Call) RunAndReturn(run func() error) *EntryGroupInterface_Reset_Call
type EntryGroupInterface_UpdateServiceTxt_Call ¶
EntryGroupInterface_UpdateServiceTxt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateServiceTxt'
func (*EntryGroupInterface_UpdateServiceTxt_Call) Return ¶
func (_c *EntryGroupInterface_UpdateServiceTxt_Call) Return(_a0 error) *EntryGroupInterface_UpdateServiceTxt_Call
func (*EntryGroupInterface_UpdateServiceTxt_Call) Run ¶
func (_c *EntryGroupInterface_UpdateServiceTxt_Call) Run(run func(iface int32, protocol int32, flags uint32, name string, serviceType string, domain string, txt [][]byte)) *EntryGroupInterface_UpdateServiceTxt_Call
func (*EntryGroupInterface_UpdateServiceTxt_Call) RunAndReturn ¶
func (_c *EntryGroupInterface_UpdateServiceTxt_Call) RunAndReturn(run func(int32, int32, uint32, string, string, string, [][]byte) error) *EntryGroupInterface_UpdateServiceTxt_Call
type EventCB ¶
EventCB is an autogenerated mock type for the EventCB type
func NewEventCB ¶
NewEventCB creates a new instance of EventCB. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EventCB) EXPECT ¶
func (_m *EventCB) EXPECT() *EventCB_Expecter
type EventCB_Execute_Call ¶
EventCB_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*EventCB_Execute_Call) Return ¶
func (_c *EventCB_Execute_Call) Return() *EventCB_Execute_Call
func (*EventCB_Execute_Call) Run ¶
func (_c *EventCB_Execute_Call) Run(run func(event avahi.Event)) *EventCB_Execute_Call
func (*EventCB_Execute_Call) RunAndReturn ¶
func (_c *EventCB_Execute_Call) RunAndReturn(run func(avahi.Event)) *EventCB_Execute_Call
type EventCB_Expecter ¶
type EventCB_Expecter struct {
// contains filtered or unexported fields
}
func (*EventCB_Expecter) Execute ¶
func (_e *EventCB_Expecter) Execute(event interface{}) *EventCB_Execute_Call
Execute is a helper method to define mock.On call
- event avahi.Event
type HostNameResolverInterface ¶
HostNameResolverInterface is an autogenerated mock type for the HostNameResolverInterface type
func NewHostNameResolverInterface ¶
func NewHostNameResolverInterface(t interface { mock.TestingT Cleanup(func()) }) *HostNameResolverInterface
NewHostNameResolverInterface creates a new instance of HostNameResolverInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*HostNameResolverInterface) DispatchSignal ¶
func (_m *HostNameResolverInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*HostNameResolverInterface) EXPECT ¶
func (_m *HostNameResolverInterface) EXPECT() *HostNameResolverInterface_Expecter
func (*HostNameResolverInterface) FoundChannel ¶
func (_m *HostNameResolverInterface) FoundChannel() chan avahi.HostName
FoundChannel provides a mock function with given fields:
func (*HostNameResolverInterface) Free ¶
func (_m *HostNameResolverInterface) Free()
Free provides a mock function with given fields:
func (*HostNameResolverInterface) GetObjectPath ¶
func (_m *HostNameResolverInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
type HostNameResolverInterface_DispatchSignal_Call ¶
HostNameResolverInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*HostNameResolverInterface_DispatchSignal_Call) Return ¶
func (_c *HostNameResolverInterface_DispatchSignal_Call) Return(_a0 error) *HostNameResolverInterface_DispatchSignal_Call
func (*HostNameResolverInterface_DispatchSignal_Call) Run ¶
func (_c *HostNameResolverInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *HostNameResolverInterface_DispatchSignal_Call
func (*HostNameResolverInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *HostNameResolverInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *HostNameResolverInterface_DispatchSignal_Call
type HostNameResolverInterface_Expecter ¶
type HostNameResolverInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*HostNameResolverInterface_Expecter) DispatchSignal ¶
func (_e *HostNameResolverInterface_Expecter) DispatchSignal(signal interface{}) *HostNameResolverInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*HostNameResolverInterface_Expecter) FoundChannel ¶
func (_e *HostNameResolverInterface_Expecter) FoundChannel() *HostNameResolverInterface_FoundChannel_Call
FoundChannel is a helper method to define mock.On call
func (*HostNameResolverInterface_Expecter) Free ¶
func (_e *HostNameResolverInterface_Expecter) Free() *HostNameResolverInterface_Free_Call
Free is a helper method to define mock.On call
func (*HostNameResolverInterface_Expecter) GetObjectPath ¶
func (_e *HostNameResolverInterface_Expecter) GetObjectPath() *HostNameResolverInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
type HostNameResolverInterface_FoundChannel_Call ¶
HostNameResolverInterface_FoundChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FoundChannel'
func (*HostNameResolverInterface_FoundChannel_Call) Return ¶
func (_c *HostNameResolverInterface_FoundChannel_Call) Return(_a0 chan avahi.HostName) *HostNameResolverInterface_FoundChannel_Call
func (*HostNameResolverInterface_FoundChannel_Call) Run ¶
func (_c *HostNameResolverInterface_FoundChannel_Call) Run(run func()) *HostNameResolverInterface_FoundChannel_Call
func (*HostNameResolverInterface_FoundChannel_Call) RunAndReturn ¶
func (_c *HostNameResolverInterface_FoundChannel_Call) RunAndReturn(run func() chan avahi.HostName) *HostNameResolverInterface_FoundChannel_Call
type HostNameResolverInterface_Free_Call ¶
HostNameResolverInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*HostNameResolverInterface_Free_Call) Return ¶
func (_c *HostNameResolverInterface_Free_Call) Return() *HostNameResolverInterface_Free_Call
func (*HostNameResolverInterface_Free_Call) Run ¶
func (_c *HostNameResolverInterface_Free_Call) Run(run func()) *HostNameResolverInterface_Free_Call
func (*HostNameResolverInterface_Free_Call) RunAndReturn ¶
func (_c *HostNameResolverInterface_Free_Call) RunAndReturn(run func()) *HostNameResolverInterface_Free_Call
type HostNameResolverInterface_GetObjectPath_Call ¶
HostNameResolverInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*HostNameResolverInterface_GetObjectPath_Call) Return ¶
func (_c *HostNameResolverInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *HostNameResolverInterface_GetObjectPath_Call
func (*HostNameResolverInterface_GetObjectPath_Call) Run ¶
func (_c *HostNameResolverInterface_GetObjectPath_Call) Run(run func()) *HostNameResolverInterface_GetObjectPath_Call
func (*HostNameResolverInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *HostNameResolverInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *HostNameResolverInterface_GetObjectPath_Call
type RecordBrowserInterface ¶
RecordBrowserInterface is an autogenerated mock type for the RecordBrowserInterface type
func NewRecordBrowserInterface ¶
func NewRecordBrowserInterface(t interface { mock.TestingT Cleanup(func()) }) *RecordBrowserInterface
NewRecordBrowserInterface creates a new instance of RecordBrowserInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RecordBrowserInterface) AddChannel ¶
func (_m *RecordBrowserInterface) AddChannel() chan avahi.Record
AddChannel provides a mock function with given fields:
func (*RecordBrowserInterface) DispatchSignal ¶
func (_m *RecordBrowserInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*RecordBrowserInterface) EXPECT ¶
func (_m *RecordBrowserInterface) EXPECT() *RecordBrowserInterface_Expecter
func (*RecordBrowserInterface) Free ¶
func (_m *RecordBrowserInterface) Free()
Free provides a mock function with given fields:
func (*RecordBrowserInterface) GetObjectPath ¶
func (_m *RecordBrowserInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
func (*RecordBrowserInterface) RemoveChannel ¶
func (_m *RecordBrowserInterface) RemoveChannel() chan avahi.Record
RemoveChannel provides a mock function with given fields:
type RecordBrowserInterface_AddChannel_Call ¶
RecordBrowserInterface_AddChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddChannel'
func (*RecordBrowserInterface_AddChannel_Call) Return ¶
func (_c *RecordBrowserInterface_AddChannel_Call) Return(_a0 chan avahi.Record) *RecordBrowserInterface_AddChannel_Call
func (*RecordBrowserInterface_AddChannel_Call) Run ¶
func (_c *RecordBrowserInterface_AddChannel_Call) Run(run func()) *RecordBrowserInterface_AddChannel_Call
func (*RecordBrowserInterface_AddChannel_Call) RunAndReturn ¶
func (_c *RecordBrowserInterface_AddChannel_Call) RunAndReturn(run func() chan avahi.Record) *RecordBrowserInterface_AddChannel_Call
type RecordBrowserInterface_DispatchSignal_Call ¶
RecordBrowserInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*RecordBrowserInterface_DispatchSignal_Call) Return ¶
func (_c *RecordBrowserInterface_DispatchSignal_Call) Return(_a0 error) *RecordBrowserInterface_DispatchSignal_Call
func (*RecordBrowserInterface_DispatchSignal_Call) Run ¶
func (_c *RecordBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *RecordBrowserInterface_DispatchSignal_Call
func (*RecordBrowserInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *RecordBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *RecordBrowserInterface_DispatchSignal_Call
type RecordBrowserInterface_Expecter ¶
type RecordBrowserInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*RecordBrowserInterface_Expecter) AddChannel ¶
func (_e *RecordBrowserInterface_Expecter) AddChannel() *RecordBrowserInterface_AddChannel_Call
AddChannel is a helper method to define mock.On call
func (*RecordBrowserInterface_Expecter) DispatchSignal ¶
func (_e *RecordBrowserInterface_Expecter) DispatchSignal(signal interface{}) *RecordBrowserInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*RecordBrowserInterface_Expecter) Free ¶
func (_e *RecordBrowserInterface_Expecter) Free() *RecordBrowserInterface_Free_Call
Free is a helper method to define mock.On call
func (*RecordBrowserInterface_Expecter) GetObjectPath ¶
func (_e *RecordBrowserInterface_Expecter) GetObjectPath() *RecordBrowserInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
func (*RecordBrowserInterface_Expecter) RemoveChannel ¶
func (_e *RecordBrowserInterface_Expecter) RemoveChannel() *RecordBrowserInterface_RemoveChannel_Call
RemoveChannel is a helper method to define mock.On call
type RecordBrowserInterface_Free_Call ¶
RecordBrowserInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*RecordBrowserInterface_Free_Call) Return ¶
func (_c *RecordBrowserInterface_Free_Call) Return() *RecordBrowserInterface_Free_Call
func (*RecordBrowserInterface_Free_Call) Run ¶
func (_c *RecordBrowserInterface_Free_Call) Run(run func()) *RecordBrowserInterface_Free_Call
func (*RecordBrowserInterface_Free_Call) RunAndReturn ¶
func (_c *RecordBrowserInterface_Free_Call) RunAndReturn(run func()) *RecordBrowserInterface_Free_Call
type RecordBrowserInterface_GetObjectPath_Call ¶
RecordBrowserInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*RecordBrowserInterface_GetObjectPath_Call) Return ¶
func (_c *RecordBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *RecordBrowserInterface_GetObjectPath_Call
func (*RecordBrowserInterface_GetObjectPath_Call) Run ¶
func (_c *RecordBrowserInterface_GetObjectPath_Call) Run(run func()) *RecordBrowserInterface_GetObjectPath_Call
func (*RecordBrowserInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *RecordBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *RecordBrowserInterface_GetObjectPath_Call
type RecordBrowserInterface_RemoveChannel_Call ¶
RecordBrowserInterface_RemoveChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveChannel'
func (*RecordBrowserInterface_RemoveChannel_Call) Return ¶
func (_c *RecordBrowserInterface_RemoveChannel_Call) Return(_a0 chan avahi.Record) *RecordBrowserInterface_RemoveChannel_Call
func (*RecordBrowserInterface_RemoveChannel_Call) Run ¶
func (_c *RecordBrowserInterface_RemoveChannel_Call) Run(run func()) *RecordBrowserInterface_RemoveChannel_Call
func (*RecordBrowserInterface_RemoveChannel_Call) RunAndReturn ¶
func (_c *RecordBrowserInterface_RemoveChannel_Call) RunAndReturn(run func() chan avahi.Record) *RecordBrowserInterface_RemoveChannel_Call
type ServerInterface ¶
ServerInterface is an autogenerated mock type for the ServerInterface type
func NewServerInterface ¶
func NewServerInterface(t interface { mock.TestingT Cleanup(func()) }) *ServerInterface
NewServerInterface creates a new instance of ServerInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServerInterface) AddressResolverFree ¶
func (_m *ServerInterface) AddressResolverFree(r avahi.AddressResolverInterface)
AddressResolverFree provides a mock function with given fields: r
func (*ServerInterface) AddressResolverNew ¶
func (_m *ServerInterface) AddressResolverNew(iface int32, protocol int32, address string, flags uint32) (avahi.AddressResolverInterface, error)
AddressResolverNew provides a mock function with given fields: iface, protocol, address, flags
func (*ServerInterface) DomainBrowserFree ¶
func (_m *ServerInterface) DomainBrowserFree(r avahi.DomainBrowserInterface)
DomainBrowserFree provides a mock function with given fields: r
func (*ServerInterface) DomainBrowserNew ¶
func (_m *ServerInterface) DomainBrowserNew(iface int32, protocol int32, domain string, btype int32, flags uint32) (avahi.DomainBrowserInterface, error)
DomainBrowserNew provides a mock function with given fields: iface, protocol, domain, btype, flags
func (*ServerInterface) EXPECT ¶
func (_m *ServerInterface) EXPECT() *ServerInterface_Expecter
func (*ServerInterface) EntryGroupFree ¶
func (_m *ServerInterface) EntryGroupFree(r avahi.EntryGroupInterface)
EntryGroupFree provides a mock function with given fields: r
func (*ServerInterface) EntryGroupNew ¶
func (_m *ServerInterface) EntryGroupNew() (avahi.EntryGroupInterface, error)
EntryGroupNew provides a mock function with given fields:
func (*ServerInterface) GetAPIVersion ¶
func (_m *ServerInterface) GetAPIVersion() (int32, error)
GetAPIVersion provides a mock function with given fields:
func (*ServerInterface) GetAlternativeHostName ¶
func (_m *ServerInterface) GetAlternativeHostName(name string) (string, error)
GetAlternativeHostName provides a mock function with given fields: name
func (*ServerInterface) GetAlternativeServiceName ¶
func (_m *ServerInterface) GetAlternativeServiceName(name string) (string, error)
GetAlternativeServiceName provides a mock function with given fields: name
func (*ServerInterface) GetDomainName ¶
func (_m *ServerInterface) GetDomainName() (string, error)
GetDomainName provides a mock function with given fields:
func (*ServerInterface) GetHostName ¶
func (_m *ServerInterface) GetHostName() (string, error)
GetHostName provides a mock function with given fields:
func (*ServerInterface) GetHostNameFqdn ¶
func (_m *ServerInterface) GetHostNameFqdn() (string, error)
GetHostNameFqdn provides a mock function with given fields:
func (*ServerInterface) GetLocalServiceCookie ¶
func (_m *ServerInterface) GetLocalServiceCookie() (int32, error)
GetLocalServiceCookie provides a mock function with given fields:
func (*ServerInterface) GetNetworkInterfaceIndexByName ¶
func (_m *ServerInterface) GetNetworkInterfaceIndexByName(name string) (int32, error)
GetNetworkInterfaceIndexByName provides a mock function with given fields: name
func (*ServerInterface) GetNetworkInterfaceNameByIndex ¶
func (_m *ServerInterface) GetNetworkInterfaceNameByIndex(index int32) (string, error)
GetNetworkInterfaceNameByIndex provides a mock function with given fields: index
func (*ServerInterface) GetState ¶
func (_m *ServerInterface) GetState() (int32, error)
GetState provides a mock function with given fields:
func (*ServerInterface) GetVersionString ¶
func (_m *ServerInterface) GetVersionString() (string, error)
GetVersionString provides a mock function with given fields:
func (*ServerInterface) HostNameResolverNew ¶
func (_m *ServerInterface) HostNameResolverNew(iface int32, protocol int32, name string, aprotocol int32, flags uint32) (avahi.HostNameResolverInterface, error)
HostNameResolverNew provides a mock function with given fields: iface, protocol, name, aprotocol, flags
func (*ServerInterface) IsNSSSupportAvailable ¶
func (_m *ServerInterface) IsNSSSupportAvailable() (bool, error)
IsNSSSupportAvailable provides a mock function with given fields:
func (*ServerInterface) RecordBrowserFree ¶
func (_m *ServerInterface) RecordBrowserFree(r avahi.RecordBrowserInterface)
RecordBrowserFree provides a mock function with given fields: r
func (*ServerInterface) RecordBrowserNew ¶
func (_m *ServerInterface) RecordBrowserNew(iface int32, protocol int32, name string, class uint16, recordType uint16, flags uint32) (avahi.RecordBrowserInterface, error)
RecordBrowserNew provides a mock function with given fields: iface, protocol, name, class, recordType, flags
func (*ServerInterface) ResolveAddress ¶
func (_m *ServerInterface) ResolveAddress(iface int32, protocol int32, address string, flags uint32) (avahi.Address, error)
ResolveAddress provides a mock function with given fields: iface, protocol, address, flags
func (*ServerInterface) ResolveHostName ¶
func (_m *ServerInterface) ResolveHostName(iface int32, protocol int32, name string, aprotocol int32, flags uint32) (avahi.HostName, error)
ResolveHostName provides a mock function with given fields: iface, protocol, name, aprotocol, flags
func (*ServerInterface) ResolveService ¶
func (_m *ServerInterface) ResolveService(iface int32, protocol int32, name string, serviceType string, domain string, aprotocol int32, flags uint32) (avahi.Service, error)
ResolveService provides a mock function with given fields: iface, protocol, name, serviceType, domain, aprotocol, flags
func (*ServerInterface) ServiceBrowserFree ¶
func (_m *ServerInterface) ServiceBrowserFree(r avahi.ServiceBrowserInterface)
ServiceBrowserFree provides a mock function with given fields: r
func (*ServerInterface) ServiceBrowserNew ¶
func (_m *ServerInterface) ServiceBrowserNew(addChan chan avahi.Service, removeChan chan avahi.Service, iface int32, protocol int32, serviceType string, domain string, flags uint32) (avahi.ServiceBrowserInterface, error)
ServiceBrowserNew provides a mock function with given fields: addChan, removeChan, iface, protocol, serviceType, domain, flags
func (*ServerInterface) ServiceResolverFree ¶
func (_m *ServerInterface) ServiceResolverFree(r avahi.ServiceResolverInterface)
ServiceResolverFree provides a mock function with given fields: r
func (*ServerInterface) ServiceResolverNew ¶
func (_m *ServerInterface) ServiceResolverNew(iface int32, protocol int32, name string, serviceType string, domain string, aprotocol int32, flags uint32) (avahi.ServiceResolverInterface, error)
ServiceResolverNew provides a mock function with given fields: iface, protocol, name, serviceType, domain, aprotocol, flags
func (*ServerInterface) ServiceTypeBrowserFree ¶
func (_m *ServerInterface) ServiceTypeBrowserFree(r avahi.ServiceTypeBrowserInterface)
ServiceTypeBrowserFree provides a mock function with given fields: r
func (*ServerInterface) ServiceTypeBrowserNew ¶
func (_m *ServerInterface) ServiceTypeBrowserNew(iface int32, protocol int32, domain string, flags uint32) (avahi.ServiceTypeBrowserInterface, error)
ServiceTypeBrowserNew provides a mock function with given fields: iface, protocol, domain, flags
func (*ServerInterface) SetServerName ¶
func (_m *ServerInterface) SetServerName(name string) error
SetServerName provides a mock function with given fields: name
func (*ServerInterface) Setup ¶
func (_m *ServerInterface) Setup(eventCB avahi.EventCB) error
Setup provides a mock function with given fields: eventCB
func (*ServerInterface) Shutdown ¶
func (_m *ServerInterface) Shutdown()
Shutdown provides a mock function with given fields:
func (*ServerInterface) Start ¶
func (_m *ServerInterface) Start()
Start provides a mock function with given fields:
type ServerInterface_AddressResolverFree_Call ¶
ServerInterface_AddressResolverFree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddressResolverFree'
func (*ServerInterface_AddressResolverFree_Call) Return ¶
func (_c *ServerInterface_AddressResolverFree_Call) Return() *ServerInterface_AddressResolverFree_Call
func (*ServerInterface_AddressResolverFree_Call) Run ¶
func (_c *ServerInterface_AddressResolverFree_Call) Run(run func(r avahi.AddressResolverInterface)) *ServerInterface_AddressResolverFree_Call
func (*ServerInterface_AddressResolverFree_Call) RunAndReturn ¶
func (_c *ServerInterface_AddressResolverFree_Call) RunAndReturn(run func(avahi.AddressResolverInterface)) *ServerInterface_AddressResolverFree_Call
type ServerInterface_AddressResolverNew_Call ¶
ServerInterface_AddressResolverNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddressResolverNew'
func (*ServerInterface_AddressResolverNew_Call) Return ¶
func (_c *ServerInterface_AddressResolverNew_Call) Return(_a0 avahi.AddressResolverInterface, _a1 error) *ServerInterface_AddressResolverNew_Call
func (*ServerInterface_AddressResolverNew_Call) Run ¶
func (_c *ServerInterface_AddressResolverNew_Call) Run(run func(iface int32, protocol int32, address string, flags uint32)) *ServerInterface_AddressResolverNew_Call
func (*ServerInterface_AddressResolverNew_Call) RunAndReturn ¶
func (_c *ServerInterface_AddressResolverNew_Call) RunAndReturn(run func(int32, int32, string, uint32) (avahi.AddressResolverInterface, error)) *ServerInterface_AddressResolverNew_Call
type ServerInterface_DomainBrowserFree_Call ¶
ServerInterface_DomainBrowserFree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DomainBrowserFree'
func (*ServerInterface_DomainBrowserFree_Call) Return ¶
func (_c *ServerInterface_DomainBrowserFree_Call) Return() *ServerInterface_DomainBrowserFree_Call
func (*ServerInterface_DomainBrowserFree_Call) Run ¶
func (_c *ServerInterface_DomainBrowserFree_Call) Run(run func(r avahi.DomainBrowserInterface)) *ServerInterface_DomainBrowserFree_Call
func (*ServerInterface_DomainBrowserFree_Call) RunAndReturn ¶
func (_c *ServerInterface_DomainBrowserFree_Call) RunAndReturn(run func(avahi.DomainBrowserInterface)) *ServerInterface_DomainBrowserFree_Call
type ServerInterface_DomainBrowserNew_Call ¶
ServerInterface_DomainBrowserNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DomainBrowserNew'
func (*ServerInterface_DomainBrowserNew_Call) Return ¶
func (_c *ServerInterface_DomainBrowserNew_Call) Return(_a0 avahi.DomainBrowserInterface, _a1 error) *ServerInterface_DomainBrowserNew_Call
func (*ServerInterface_DomainBrowserNew_Call) Run ¶
func (_c *ServerInterface_DomainBrowserNew_Call) Run(run func(iface int32, protocol int32, domain string, btype int32, flags uint32)) *ServerInterface_DomainBrowserNew_Call
func (*ServerInterface_DomainBrowserNew_Call) RunAndReturn ¶
func (_c *ServerInterface_DomainBrowserNew_Call) RunAndReturn(run func(int32, int32, string, int32, uint32) (avahi.DomainBrowserInterface, error)) *ServerInterface_DomainBrowserNew_Call
type ServerInterface_EntryGroupFree_Call ¶
ServerInterface_EntryGroupFree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EntryGroupFree'
func (*ServerInterface_EntryGroupFree_Call) Return ¶
func (_c *ServerInterface_EntryGroupFree_Call) Return() *ServerInterface_EntryGroupFree_Call
func (*ServerInterface_EntryGroupFree_Call) Run ¶
func (_c *ServerInterface_EntryGroupFree_Call) Run(run func(r avahi.EntryGroupInterface)) *ServerInterface_EntryGroupFree_Call
func (*ServerInterface_EntryGroupFree_Call) RunAndReturn ¶
func (_c *ServerInterface_EntryGroupFree_Call) RunAndReturn(run func(avahi.EntryGroupInterface)) *ServerInterface_EntryGroupFree_Call
type ServerInterface_EntryGroupNew_Call ¶
ServerInterface_EntryGroupNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EntryGroupNew'
func (*ServerInterface_EntryGroupNew_Call) Return ¶
func (_c *ServerInterface_EntryGroupNew_Call) Return(_a0 avahi.EntryGroupInterface, _a1 error) *ServerInterface_EntryGroupNew_Call
func (*ServerInterface_EntryGroupNew_Call) Run ¶
func (_c *ServerInterface_EntryGroupNew_Call) Run(run func()) *ServerInterface_EntryGroupNew_Call
func (*ServerInterface_EntryGroupNew_Call) RunAndReturn ¶
func (_c *ServerInterface_EntryGroupNew_Call) RunAndReturn(run func() (avahi.EntryGroupInterface, error)) *ServerInterface_EntryGroupNew_Call
type ServerInterface_Expecter ¶
type ServerInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServerInterface_Expecter) AddressResolverFree ¶
func (_e *ServerInterface_Expecter) AddressResolverFree(r interface{}) *ServerInterface_AddressResolverFree_Call
AddressResolverFree is a helper method to define mock.On call
- r avahi.AddressResolverInterface
func (*ServerInterface_Expecter) AddressResolverNew ¶
func (_e *ServerInterface_Expecter) AddressResolverNew(iface interface{}, protocol interface{}, address interface{}, flags interface{}) *ServerInterface_AddressResolverNew_Call
AddressResolverNew is a helper method to define mock.On call
- iface int32
- protocol int32
- address string
- flags uint32
func (*ServerInterface_Expecter) DomainBrowserFree ¶
func (_e *ServerInterface_Expecter) DomainBrowserFree(r interface{}) *ServerInterface_DomainBrowserFree_Call
DomainBrowserFree is a helper method to define mock.On call
- r avahi.DomainBrowserInterface
func (*ServerInterface_Expecter) DomainBrowserNew ¶
func (_e *ServerInterface_Expecter) DomainBrowserNew(iface interface{}, protocol interface{}, domain interface{}, btype interface{}, flags interface{}) *ServerInterface_DomainBrowserNew_Call
DomainBrowserNew is a helper method to define mock.On call
- iface int32
- protocol int32
- domain string
- btype int32
- flags uint32
func (*ServerInterface_Expecter) EntryGroupFree ¶
func (_e *ServerInterface_Expecter) EntryGroupFree(r interface{}) *ServerInterface_EntryGroupFree_Call
EntryGroupFree is a helper method to define mock.On call
- r avahi.EntryGroupInterface
func (*ServerInterface_Expecter) EntryGroupNew ¶
func (_e *ServerInterface_Expecter) EntryGroupNew() *ServerInterface_EntryGroupNew_Call
EntryGroupNew is a helper method to define mock.On call
func (*ServerInterface_Expecter) GetAPIVersion ¶
func (_e *ServerInterface_Expecter) GetAPIVersion() *ServerInterface_GetAPIVersion_Call
GetAPIVersion is a helper method to define mock.On call
func (*ServerInterface_Expecter) GetAlternativeHostName ¶
func (_e *ServerInterface_Expecter) GetAlternativeHostName(name interface{}) *ServerInterface_GetAlternativeHostName_Call
GetAlternativeHostName is a helper method to define mock.On call
- name string
func (*ServerInterface_Expecter) GetAlternativeServiceName ¶
func (_e *ServerInterface_Expecter) GetAlternativeServiceName(name interface{}) *ServerInterface_GetAlternativeServiceName_Call
GetAlternativeServiceName is a helper method to define mock.On call
- name string
func (*ServerInterface_Expecter) GetDomainName ¶
func (_e *ServerInterface_Expecter) GetDomainName() *ServerInterface_GetDomainName_Call
GetDomainName is a helper method to define mock.On call
func (*ServerInterface_Expecter) GetHostName ¶
func (_e *ServerInterface_Expecter) GetHostName() *ServerInterface_GetHostName_Call
GetHostName is a helper method to define mock.On call
func (*ServerInterface_Expecter) GetHostNameFqdn ¶
func (_e *ServerInterface_Expecter) GetHostNameFqdn() *ServerInterface_GetHostNameFqdn_Call
GetHostNameFqdn is a helper method to define mock.On call
func (*ServerInterface_Expecter) GetLocalServiceCookie ¶
func (_e *ServerInterface_Expecter) GetLocalServiceCookie() *ServerInterface_GetLocalServiceCookie_Call
GetLocalServiceCookie is a helper method to define mock.On call
func (*ServerInterface_Expecter) GetNetworkInterfaceIndexByName ¶
func (_e *ServerInterface_Expecter) GetNetworkInterfaceIndexByName(name interface{}) *ServerInterface_GetNetworkInterfaceIndexByName_Call
GetNetworkInterfaceIndexByName is a helper method to define mock.On call
- name string
func (*ServerInterface_Expecter) GetNetworkInterfaceNameByIndex ¶
func (_e *ServerInterface_Expecter) GetNetworkInterfaceNameByIndex(index interface{}) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
GetNetworkInterfaceNameByIndex is a helper method to define mock.On call
- index int32
func (*ServerInterface_Expecter) GetState ¶
func (_e *ServerInterface_Expecter) GetState() *ServerInterface_GetState_Call
GetState is a helper method to define mock.On call
func (*ServerInterface_Expecter) GetVersionString ¶
func (_e *ServerInterface_Expecter) GetVersionString() *ServerInterface_GetVersionString_Call
GetVersionString is a helper method to define mock.On call
func (*ServerInterface_Expecter) HostNameResolverNew ¶
func (_e *ServerInterface_Expecter) HostNameResolverNew(iface interface{}, protocol interface{}, name interface{}, aprotocol interface{}, flags interface{}) *ServerInterface_HostNameResolverNew_Call
HostNameResolverNew is a helper method to define mock.On call
- iface int32
- protocol int32
- name string
- aprotocol int32
- flags uint32
func (*ServerInterface_Expecter) IsNSSSupportAvailable ¶
func (_e *ServerInterface_Expecter) IsNSSSupportAvailable() *ServerInterface_IsNSSSupportAvailable_Call
IsNSSSupportAvailable is a helper method to define mock.On call
func (*ServerInterface_Expecter) RecordBrowserFree ¶
func (_e *ServerInterface_Expecter) RecordBrowserFree(r interface{}) *ServerInterface_RecordBrowserFree_Call
RecordBrowserFree is a helper method to define mock.On call
- r avahi.RecordBrowserInterface
func (*ServerInterface_Expecter) RecordBrowserNew ¶
func (_e *ServerInterface_Expecter) RecordBrowserNew(iface interface{}, protocol interface{}, name interface{}, class interface{}, recordType interface{}, flags interface{}) *ServerInterface_RecordBrowserNew_Call
RecordBrowserNew is a helper method to define mock.On call
- iface int32
- protocol int32
- name string
- class uint16
- recordType uint16
- flags uint32
func (*ServerInterface_Expecter) ResolveAddress ¶
func (_e *ServerInterface_Expecter) ResolveAddress(iface interface{}, protocol interface{}, address interface{}, flags interface{}) *ServerInterface_ResolveAddress_Call
ResolveAddress is a helper method to define mock.On call
- iface int32
- protocol int32
- address string
- flags uint32
func (*ServerInterface_Expecter) ResolveHostName ¶
func (_e *ServerInterface_Expecter) ResolveHostName(iface interface{}, protocol interface{}, name interface{}, aprotocol interface{}, flags interface{}) *ServerInterface_ResolveHostName_Call
ResolveHostName is a helper method to define mock.On call
- iface int32
- protocol int32
- name string
- aprotocol int32
- flags uint32
func (*ServerInterface_Expecter) ResolveService ¶
func (_e *ServerInterface_Expecter) ResolveService(iface interface{}, protocol interface{}, name interface{}, serviceType interface{}, domain interface{}, aprotocol interface{}, flags interface{}) *ServerInterface_ResolveService_Call
ResolveService is a helper method to define mock.On call
- iface int32
- protocol int32
- name string
- serviceType string
- domain string
- aprotocol int32
- flags uint32
func (*ServerInterface_Expecter) ServiceBrowserFree ¶
func (_e *ServerInterface_Expecter) ServiceBrowserFree(r interface{}) *ServerInterface_ServiceBrowserFree_Call
ServiceBrowserFree is a helper method to define mock.On call
- r avahi.ServiceBrowserInterface
func (*ServerInterface_Expecter) ServiceBrowserNew ¶
func (_e *ServerInterface_Expecter) ServiceBrowserNew(addChan interface{}, removeChan interface{}, iface interface{}, protocol interface{}, serviceType interface{}, domain interface{}, flags interface{}) *ServerInterface_ServiceBrowserNew_Call
ServiceBrowserNew is a helper method to define mock.On call
- addChan chan avahi.Service
- removeChan chan avahi.Service
- iface int32
- protocol int32
- serviceType string
- domain string
- flags uint32
func (*ServerInterface_Expecter) ServiceResolverFree ¶
func (_e *ServerInterface_Expecter) ServiceResolverFree(r interface{}) *ServerInterface_ServiceResolverFree_Call
ServiceResolverFree is a helper method to define mock.On call
- r avahi.ServiceResolverInterface
func (*ServerInterface_Expecter) ServiceResolverNew ¶
func (_e *ServerInterface_Expecter) ServiceResolverNew(iface interface{}, protocol interface{}, name interface{}, serviceType interface{}, domain interface{}, aprotocol interface{}, flags interface{}) *ServerInterface_ServiceResolverNew_Call
ServiceResolverNew is a helper method to define mock.On call
- iface int32
- protocol int32
- name string
- serviceType string
- domain string
- aprotocol int32
- flags uint32
func (*ServerInterface_Expecter) ServiceTypeBrowserFree ¶
func (_e *ServerInterface_Expecter) ServiceTypeBrowserFree(r interface{}) *ServerInterface_ServiceTypeBrowserFree_Call
ServiceTypeBrowserFree is a helper method to define mock.On call
- r avahi.ServiceTypeBrowserInterface
func (*ServerInterface_Expecter) ServiceTypeBrowserNew ¶
func (_e *ServerInterface_Expecter) ServiceTypeBrowserNew(iface interface{}, protocol interface{}, domain interface{}, flags interface{}) *ServerInterface_ServiceTypeBrowserNew_Call
ServiceTypeBrowserNew is a helper method to define mock.On call
- iface int32
- protocol int32
- domain string
- flags uint32
func (*ServerInterface_Expecter) SetServerName ¶
func (_e *ServerInterface_Expecter) SetServerName(name interface{}) *ServerInterface_SetServerName_Call
SetServerName is a helper method to define mock.On call
- name string
func (*ServerInterface_Expecter) Setup ¶
func (_e *ServerInterface_Expecter) Setup(eventCB interface{}) *ServerInterface_Setup_Call
Setup is a helper method to define mock.On call
- eventCB avahi.EventCB
func (*ServerInterface_Expecter) Shutdown ¶
func (_e *ServerInterface_Expecter) Shutdown() *ServerInterface_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*ServerInterface_Expecter) Start ¶
func (_e *ServerInterface_Expecter) Start() *ServerInterface_Start_Call
Start is a helper method to define mock.On call
type ServerInterface_GetAPIVersion_Call ¶
ServerInterface_GetAPIVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAPIVersion'
func (*ServerInterface_GetAPIVersion_Call) Return ¶
func (_c *ServerInterface_GetAPIVersion_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetAPIVersion_Call
func (*ServerInterface_GetAPIVersion_Call) Run ¶
func (_c *ServerInterface_GetAPIVersion_Call) Run(run func()) *ServerInterface_GetAPIVersion_Call
func (*ServerInterface_GetAPIVersion_Call) RunAndReturn ¶
func (_c *ServerInterface_GetAPIVersion_Call) RunAndReturn(run func() (int32, error)) *ServerInterface_GetAPIVersion_Call
type ServerInterface_GetAlternativeHostName_Call ¶
ServerInterface_GetAlternativeHostName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlternativeHostName'
func (*ServerInterface_GetAlternativeHostName_Call) Return ¶
func (_c *ServerInterface_GetAlternativeHostName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetAlternativeHostName_Call
func (*ServerInterface_GetAlternativeHostName_Call) Run ¶
func (_c *ServerInterface_GetAlternativeHostName_Call) Run(run func(name string)) *ServerInterface_GetAlternativeHostName_Call
func (*ServerInterface_GetAlternativeHostName_Call) RunAndReturn ¶
func (_c *ServerInterface_GetAlternativeHostName_Call) RunAndReturn(run func(string) (string, error)) *ServerInterface_GetAlternativeHostName_Call
type ServerInterface_GetAlternativeServiceName_Call ¶
ServerInterface_GetAlternativeServiceName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlternativeServiceName'
func (*ServerInterface_GetAlternativeServiceName_Call) Return ¶
func (_c *ServerInterface_GetAlternativeServiceName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetAlternativeServiceName_Call
func (*ServerInterface_GetAlternativeServiceName_Call) Run ¶
func (_c *ServerInterface_GetAlternativeServiceName_Call) Run(run func(name string)) *ServerInterface_GetAlternativeServiceName_Call
func (*ServerInterface_GetAlternativeServiceName_Call) RunAndReturn ¶
func (_c *ServerInterface_GetAlternativeServiceName_Call) RunAndReturn(run func(string) (string, error)) *ServerInterface_GetAlternativeServiceName_Call
type ServerInterface_GetDomainName_Call ¶
ServerInterface_GetDomainName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDomainName'
func (*ServerInterface_GetDomainName_Call) Return ¶
func (_c *ServerInterface_GetDomainName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetDomainName_Call
func (*ServerInterface_GetDomainName_Call) Run ¶
func (_c *ServerInterface_GetDomainName_Call) Run(run func()) *ServerInterface_GetDomainName_Call
func (*ServerInterface_GetDomainName_Call) RunAndReturn ¶
func (_c *ServerInterface_GetDomainName_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetDomainName_Call
type ServerInterface_GetHostNameFqdn_Call ¶
ServerInterface_GetHostNameFqdn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHostNameFqdn'
func (*ServerInterface_GetHostNameFqdn_Call) Return ¶
func (_c *ServerInterface_GetHostNameFqdn_Call) Return(_a0 string, _a1 error) *ServerInterface_GetHostNameFqdn_Call
func (*ServerInterface_GetHostNameFqdn_Call) Run ¶
func (_c *ServerInterface_GetHostNameFqdn_Call) Run(run func()) *ServerInterface_GetHostNameFqdn_Call
func (*ServerInterface_GetHostNameFqdn_Call) RunAndReturn ¶
func (_c *ServerInterface_GetHostNameFqdn_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetHostNameFqdn_Call
type ServerInterface_GetHostName_Call ¶
ServerInterface_GetHostName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHostName'
func (*ServerInterface_GetHostName_Call) Return ¶
func (_c *ServerInterface_GetHostName_Call) Return(_a0 string, _a1 error) *ServerInterface_GetHostName_Call
func (*ServerInterface_GetHostName_Call) Run ¶
func (_c *ServerInterface_GetHostName_Call) Run(run func()) *ServerInterface_GetHostName_Call
func (*ServerInterface_GetHostName_Call) RunAndReturn ¶
func (_c *ServerInterface_GetHostName_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetHostName_Call
type ServerInterface_GetLocalServiceCookie_Call ¶
ServerInterface_GetLocalServiceCookie_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocalServiceCookie'
func (*ServerInterface_GetLocalServiceCookie_Call) Return ¶
func (_c *ServerInterface_GetLocalServiceCookie_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetLocalServiceCookie_Call
func (*ServerInterface_GetLocalServiceCookie_Call) Run ¶
func (_c *ServerInterface_GetLocalServiceCookie_Call) Run(run func()) *ServerInterface_GetLocalServiceCookie_Call
func (*ServerInterface_GetLocalServiceCookie_Call) RunAndReturn ¶
func (_c *ServerInterface_GetLocalServiceCookie_Call) RunAndReturn(run func() (int32, error)) *ServerInterface_GetLocalServiceCookie_Call
type ServerInterface_GetNetworkInterfaceIndexByName_Call ¶
ServerInterface_GetNetworkInterfaceIndexByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNetworkInterfaceIndexByName'
func (*ServerInterface_GetNetworkInterfaceIndexByName_Call) Return ¶
func (_c *ServerInterface_GetNetworkInterfaceIndexByName_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetNetworkInterfaceIndexByName_Call
func (*ServerInterface_GetNetworkInterfaceIndexByName_Call) Run ¶
func (_c *ServerInterface_GetNetworkInterfaceIndexByName_Call) Run(run func(name string)) *ServerInterface_GetNetworkInterfaceIndexByName_Call
func (*ServerInterface_GetNetworkInterfaceIndexByName_Call) RunAndReturn ¶
func (_c *ServerInterface_GetNetworkInterfaceIndexByName_Call) RunAndReturn(run func(string) (int32, error)) *ServerInterface_GetNetworkInterfaceIndexByName_Call
type ServerInterface_GetNetworkInterfaceNameByIndex_Call ¶
ServerInterface_GetNetworkInterfaceNameByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNetworkInterfaceNameByIndex'
func (*ServerInterface_GetNetworkInterfaceNameByIndex_Call) Return ¶
func (_c *ServerInterface_GetNetworkInterfaceNameByIndex_Call) Return(_a0 string, _a1 error) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
func (*ServerInterface_GetNetworkInterfaceNameByIndex_Call) Run ¶
func (_c *ServerInterface_GetNetworkInterfaceNameByIndex_Call) Run(run func(index int32)) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
func (*ServerInterface_GetNetworkInterfaceNameByIndex_Call) RunAndReturn ¶
func (_c *ServerInterface_GetNetworkInterfaceNameByIndex_Call) RunAndReturn(run func(int32) (string, error)) *ServerInterface_GetNetworkInterfaceNameByIndex_Call
type ServerInterface_GetState_Call ¶
ServerInterface_GetState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetState'
func (*ServerInterface_GetState_Call) Return ¶
func (_c *ServerInterface_GetState_Call) Return(_a0 int32, _a1 error) *ServerInterface_GetState_Call
func (*ServerInterface_GetState_Call) Run ¶
func (_c *ServerInterface_GetState_Call) Run(run func()) *ServerInterface_GetState_Call
func (*ServerInterface_GetState_Call) RunAndReturn ¶
func (_c *ServerInterface_GetState_Call) RunAndReturn(run func() (int32, error)) *ServerInterface_GetState_Call
type ServerInterface_GetVersionString_Call ¶
ServerInterface_GetVersionString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVersionString'
func (*ServerInterface_GetVersionString_Call) Return ¶
func (_c *ServerInterface_GetVersionString_Call) Return(_a0 string, _a1 error) *ServerInterface_GetVersionString_Call
func (*ServerInterface_GetVersionString_Call) Run ¶
func (_c *ServerInterface_GetVersionString_Call) Run(run func()) *ServerInterface_GetVersionString_Call
func (*ServerInterface_GetVersionString_Call) RunAndReturn ¶
func (_c *ServerInterface_GetVersionString_Call) RunAndReturn(run func() (string, error)) *ServerInterface_GetVersionString_Call
type ServerInterface_HostNameResolverNew_Call ¶
ServerInterface_HostNameResolverNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HostNameResolverNew'
func (*ServerInterface_HostNameResolverNew_Call) Return ¶
func (_c *ServerInterface_HostNameResolverNew_Call) Return(_a0 avahi.HostNameResolverInterface, _a1 error) *ServerInterface_HostNameResolverNew_Call
func (*ServerInterface_HostNameResolverNew_Call) Run ¶
func (_c *ServerInterface_HostNameResolverNew_Call) Run(run func(iface int32, protocol int32, name string, aprotocol int32, flags uint32)) *ServerInterface_HostNameResolverNew_Call
func (*ServerInterface_HostNameResolverNew_Call) RunAndReturn ¶
func (_c *ServerInterface_HostNameResolverNew_Call) RunAndReturn(run func(int32, int32, string, int32, uint32) (avahi.HostNameResolverInterface, error)) *ServerInterface_HostNameResolverNew_Call
type ServerInterface_IsNSSSupportAvailable_Call ¶
ServerInterface_IsNSSSupportAvailable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsNSSSupportAvailable'
func (*ServerInterface_IsNSSSupportAvailable_Call) Return ¶
func (_c *ServerInterface_IsNSSSupportAvailable_Call) Return(_a0 bool, _a1 error) *ServerInterface_IsNSSSupportAvailable_Call
func (*ServerInterface_IsNSSSupportAvailable_Call) Run ¶
func (_c *ServerInterface_IsNSSSupportAvailable_Call) Run(run func()) *ServerInterface_IsNSSSupportAvailable_Call
func (*ServerInterface_IsNSSSupportAvailable_Call) RunAndReturn ¶
func (_c *ServerInterface_IsNSSSupportAvailable_Call) RunAndReturn(run func() (bool, error)) *ServerInterface_IsNSSSupportAvailable_Call
type ServerInterface_RecordBrowserFree_Call ¶
ServerInterface_RecordBrowserFree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordBrowserFree'
func (*ServerInterface_RecordBrowserFree_Call) Return ¶
func (_c *ServerInterface_RecordBrowserFree_Call) Return() *ServerInterface_RecordBrowserFree_Call
func (*ServerInterface_RecordBrowserFree_Call) Run ¶
func (_c *ServerInterface_RecordBrowserFree_Call) Run(run func(r avahi.RecordBrowserInterface)) *ServerInterface_RecordBrowserFree_Call
func (*ServerInterface_RecordBrowserFree_Call) RunAndReturn ¶
func (_c *ServerInterface_RecordBrowserFree_Call) RunAndReturn(run func(avahi.RecordBrowserInterface)) *ServerInterface_RecordBrowserFree_Call
type ServerInterface_RecordBrowserNew_Call ¶
ServerInterface_RecordBrowserNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RecordBrowserNew'
func (*ServerInterface_RecordBrowserNew_Call) Return ¶
func (_c *ServerInterface_RecordBrowserNew_Call) Return(_a0 avahi.RecordBrowserInterface, _a1 error) *ServerInterface_RecordBrowserNew_Call
func (*ServerInterface_RecordBrowserNew_Call) Run ¶
func (_c *ServerInterface_RecordBrowserNew_Call) Run(run func(iface int32, protocol int32, name string, class uint16, recordType uint16, flags uint32)) *ServerInterface_RecordBrowserNew_Call
func (*ServerInterface_RecordBrowserNew_Call) RunAndReturn ¶
func (_c *ServerInterface_RecordBrowserNew_Call) RunAndReturn(run func(int32, int32, string, uint16, uint16, uint32) (avahi.RecordBrowserInterface, error)) *ServerInterface_RecordBrowserNew_Call
type ServerInterface_ResolveAddress_Call ¶
ServerInterface_ResolveAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveAddress'
func (*ServerInterface_ResolveAddress_Call) Return ¶
func (_c *ServerInterface_ResolveAddress_Call) Return(reply avahi.Address, err error) *ServerInterface_ResolveAddress_Call
func (*ServerInterface_ResolveAddress_Call) Run ¶
func (_c *ServerInterface_ResolveAddress_Call) Run(run func(iface int32, protocol int32, address string, flags uint32)) *ServerInterface_ResolveAddress_Call
func (*ServerInterface_ResolveAddress_Call) RunAndReturn ¶
func (_c *ServerInterface_ResolveAddress_Call) RunAndReturn(run func(int32, int32, string, uint32) (avahi.Address, error)) *ServerInterface_ResolveAddress_Call
type ServerInterface_ResolveHostName_Call ¶
ServerInterface_ResolveHostName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveHostName'
func (*ServerInterface_ResolveHostName_Call) Return ¶
func (_c *ServerInterface_ResolveHostName_Call) Return(reply avahi.HostName, err error) *ServerInterface_ResolveHostName_Call
func (*ServerInterface_ResolveHostName_Call) Run ¶
func (_c *ServerInterface_ResolveHostName_Call) Run(run func(iface int32, protocol int32, name string, aprotocol int32, flags uint32)) *ServerInterface_ResolveHostName_Call
func (*ServerInterface_ResolveHostName_Call) RunAndReturn ¶
func (_c *ServerInterface_ResolveHostName_Call) RunAndReturn(run func(int32, int32, string, int32, uint32) (avahi.HostName, error)) *ServerInterface_ResolveHostName_Call
type ServerInterface_ResolveService_Call ¶
ServerInterface_ResolveService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveService'
func (*ServerInterface_ResolveService_Call) Return ¶
func (_c *ServerInterface_ResolveService_Call) Return(reply avahi.Service, err error) *ServerInterface_ResolveService_Call
func (*ServerInterface_ResolveService_Call) Run ¶
func (_c *ServerInterface_ResolveService_Call) Run(run func(iface int32, protocol int32, name string, serviceType string, domain string, aprotocol int32, flags uint32)) *ServerInterface_ResolveService_Call
func (*ServerInterface_ResolveService_Call) RunAndReturn ¶
type ServerInterface_ServiceBrowserFree_Call ¶
ServerInterface_ServiceBrowserFree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceBrowserFree'
func (*ServerInterface_ServiceBrowserFree_Call) Return ¶
func (_c *ServerInterface_ServiceBrowserFree_Call) Return() *ServerInterface_ServiceBrowserFree_Call
func (*ServerInterface_ServiceBrowserFree_Call) Run ¶
func (_c *ServerInterface_ServiceBrowserFree_Call) Run(run func(r avahi.ServiceBrowserInterface)) *ServerInterface_ServiceBrowserFree_Call
func (*ServerInterface_ServiceBrowserFree_Call) RunAndReturn ¶
func (_c *ServerInterface_ServiceBrowserFree_Call) RunAndReturn(run func(avahi.ServiceBrowserInterface)) *ServerInterface_ServiceBrowserFree_Call
type ServerInterface_ServiceBrowserNew_Call ¶
ServerInterface_ServiceBrowserNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceBrowserNew'
func (*ServerInterface_ServiceBrowserNew_Call) Return ¶
func (_c *ServerInterface_ServiceBrowserNew_Call) Return(_a0 avahi.ServiceBrowserInterface, _a1 error) *ServerInterface_ServiceBrowserNew_Call
func (*ServerInterface_ServiceBrowserNew_Call) RunAndReturn ¶
func (_c *ServerInterface_ServiceBrowserNew_Call) RunAndReturn(run func(chan avahi.Service, chan avahi.Service, int32, int32, string, string, uint32) (avahi.ServiceBrowserInterface, error)) *ServerInterface_ServiceBrowserNew_Call
type ServerInterface_ServiceResolverFree_Call ¶
ServerInterface_ServiceResolverFree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceResolverFree'
func (*ServerInterface_ServiceResolverFree_Call) Return ¶
func (_c *ServerInterface_ServiceResolverFree_Call) Return() *ServerInterface_ServiceResolverFree_Call
func (*ServerInterface_ServiceResolverFree_Call) Run ¶
func (_c *ServerInterface_ServiceResolverFree_Call) Run(run func(r avahi.ServiceResolverInterface)) *ServerInterface_ServiceResolverFree_Call
func (*ServerInterface_ServiceResolverFree_Call) RunAndReturn ¶
func (_c *ServerInterface_ServiceResolverFree_Call) RunAndReturn(run func(avahi.ServiceResolverInterface)) *ServerInterface_ServiceResolverFree_Call
type ServerInterface_ServiceResolverNew_Call ¶
ServerInterface_ServiceResolverNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceResolverNew'
func (*ServerInterface_ServiceResolverNew_Call) Return ¶
func (_c *ServerInterface_ServiceResolverNew_Call) Return(_a0 avahi.ServiceResolverInterface, _a1 error) *ServerInterface_ServiceResolverNew_Call
func (*ServerInterface_ServiceResolverNew_Call) Run ¶
func (_c *ServerInterface_ServiceResolverNew_Call) Run(run func(iface int32, protocol int32, name string, serviceType string, domain string, aprotocol int32, flags uint32)) *ServerInterface_ServiceResolverNew_Call
func (*ServerInterface_ServiceResolverNew_Call) RunAndReturn ¶
func (_c *ServerInterface_ServiceResolverNew_Call) RunAndReturn(run func(int32, int32, string, string, string, int32, uint32) (avahi.ServiceResolverInterface, error)) *ServerInterface_ServiceResolverNew_Call
type ServerInterface_ServiceTypeBrowserFree_Call ¶
ServerInterface_ServiceTypeBrowserFree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceTypeBrowserFree'
func (*ServerInterface_ServiceTypeBrowserFree_Call) Return ¶
func (_c *ServerInterface_ServiceTypeBrowserFree_Call) Return() *ServerInterface_ServiceTypeBrowserFree_Call
func (*ServerInterface_ServiceTypeBrowserFree_Call) Run ¶
func (_c *ServerInterface_ServiceTypeBrowserFree_Call) Run(run func(r avahi.ServiceTypeBrowserInterface)) *ServerInterface_ServiceTypeBrowserFree_Call
func (*ServerInterface_ServiceTypeBrowserFree_Call) RunAndReturn ¶
func (_c *ServerInterface_ServiceTypeBrowserFree_Call) RunAndReturn(run func(avahi.ServiceTypeBrowserInterface)) *ServerInterface_ServiceTypeBrowserFree_Call
type ServerInterface_ServiceTypeBrowserNew_Call ¶
ServerInterface_ServiceTypeBrowserNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceTypeBrowserNew'
func (*ServerInterface_ServiceTypeBrowserNew_Call) Return ¶
func (_c *ServerInterface_ServiceTypeBrowserNew_Call) Return(_a0 avahi.ServiceTypeBrowserInterface, _a1 error) *ServerInterface_ServiceTypeBrowserNew_Call
func (*ServerInterface_ServiceTypeBrowserNew_Call) Run ¶
func (_c *ServerInterface_ServiceTypeBrowserNew_Call) Run(run func(iface int32, protocol int32, domain string, flags uint32)) *ServerInterface_ServiceTypeBrowserNew_Call
func (*ServerInterface_ServiceTypeBrowserNew_Call) RunAndReturn ¶
func (_c *ServerInterface_ServiceTypeBrowserNew_Call) RunAndReturn(run func(int32, int32, string, uint32) (avahi.ServiceTypeBrowserInterface, error)) *ServerInterface_ServiceTypeBrowserNew_Call
type ServerInterface_SetServerName_Call ¶
ServerInterface_SetServerName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetServerName'
func (*ServerInterface_SetServerName_Call) Return ¶
func (_c *ServerInterface_SetServerName_Call) Return(_a0 error) *ServerInterface_SetServerName_Call
func (*ServerInterface_SetServerName_Call) Run ¶
func (_c *ServerInterface_SetServerName_Call) Run(run func(name string)) *ServerInterface_SetServerName_Call
func (*ServerInterface_SetServerName_Call) RunAndReturn ¶
func (_c *ServerInterface_SetServerName_Call) RunAndReturn(run func(string) error) *ServerInterface_SetServerName_Call
type ServerInterface_Setup_Call ¶
ServerInterface_Setup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Setup'
func (*ServerInterface_Setup_Call) Return ¶
func (_c *ServerInterface_Setup_Call) Return(_a0 error) *ServerInterface_Setup_Call
func (*ServerInterface_Setup_Call) Run ¶
func (_c *ServerInterface_Setup_Call) Run(run func(eventCB avahi.EventCB)) *ServerInterface_Setup_Call
func (*ServerInterface_Setup_Call) RunAndReturn ¶
func (_c *ServerInterface_Setup_Call) RunAndReturn(run func(avahi.EventCB) error) *ServerInterface_Setup_Call
type ServerInterface_Shutdown_Call ¶
ServerInterface_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*ServerInterface_Shutdown_Call) Return ¶
func (_c *ServerInterface_Shutdown_Call) Return() *ServerInterface_Shutdown_Call
func (*ServerInterface_Shutdown_Call) Run ¶
func (_c *ServerInterface_Shutdown_Call) Run(run func()) *ServerInterface_Shutdown_Call
func (*ServerInterface_Shutdown_Call) RunAndReturn ¶
func (_c *ServerInterface_Shutdown_Call) RunAndReturn(run func()) *ServerInterface_Shutdown_Call
type ServerInterface_Start_Call ¶
ServerInterface_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ServerInterface_Start_Call) Return ¶
func (_c *ServerInterface_Start_Call) Return() *ServerInterface_Start_Call
func (*ServerInterface_Start_Call) Run ¶
func (_c *ServerInterface_Start_Call) Run(run func()) *ServerInterface_Start_Call
func (*ServerInterface_Start_Call) RunAndReturn ¶
func (_c *ServerInterface_Start_Call) RunAndReturn(run func()) *ServerInterface_Start_Call
type ServiceBrowserInterface ¶
ServiceBrowserInterface is an autogenerated mock type for the ServiceBrowserInterface type
func NewServiceBrowserInterface ¶
func NewServiceBrowserInterface(t interface { mock.TestingT Cleanup(func()) }) *ServiceBrowserInterface
NewServiceBrowserInterface creates a new instance of ServiceBrowserInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceBrowserInterface) AddChannel ¶
func (_m *ServiceBrowserInterface) AddChannel() chan avahi.Service
AddChannel provides a mock function with given fields:
func (*ServiceBrowserInterface) DispatchSignal ¶
func (_m *ServiceBrowserInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*ServiceBrowserInterface) EXPECT ¶
func (_m *ServiceBrowserInterface) EXPECT() *ServiceBrowserInterface_Expecter
func (*ServiceBrowserInterface) Free ¶
func (_m *ServiceBrowserInterface) Free()
Free provides a mock function with given fields:
func (*ServiceBrowserInterface) GetObjectPath ¶
func (_m *ServiceBrowserInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
func (*ServiceBrowserInterface) RemoveChannel ¶
func (_m *ServiceBrowserInterface) RemoveChannel() chan avahi.Service
RemoveChannel provides a mock function with given fields:
type ServiceBrowserInterface_AddChannel_Call ¶
ServiceBrowserInterface_AddChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddChannel'
func (*ServiceBrowserInterface_AddChannel_Call) Return ¶
func (_c *ServiceBrowserInterface_AddChannel_Call) Return(_a0 chan avahi.Service) *ServiceBrowserInterface_AddChannel_Call
func (*ServiceBrowserInterface_AddChannel_Call) Run ¶
func (_c *ServiceBrowserInterface_AddChannel_Call) Run(run func()) *ServiceBrowserInterface_AddChannel_Call
func (*ServiceBrowserInterface_AddChannel_Call) RunAndReturn ¶
func (_c *ServiceBrowserInterface_AddChannel_Call) RunAndReturn(run func() chan avahi.Service) *ServiceBrowserInterface_AddChannel_Call
type ServiceBrowserInterface_DispatchSignal_Call ¶
ServiceBrowserInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*ServiceBrowserInterface_DispatchSignal_Call) Return ¶
func (_c *ServiceBrowserInterface_DispatchSignal_Call) Return(_a0 error) *ServiceBrowserInterface_DispatchSignal_Call
func (*ServiceBrowserInterface_DispatchSignal_Call) Run ¶
func (_c *ServiceBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *ServiceBrowserInterface_DispatchSignal_Call
func (*ServiceBrowserInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *ServiceBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *ServiceBrowserInterface_DispatchSignal_Call
type ServiceBrowserInterface_Expecter ¶
type ServiceBrowserInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceBrowserInterface_Expecter) AddChannel ¶
func (_e *ServiceBrowserInterface_Expecter) AddChannel() *ServiceBrowserInterface_AddChannel_Call
AddChannel is a helper method to define mock.On call
func (*ServiceBrowserInterface_Expecter) DispatchSignal ¶
func (_e *ServiceBrowserInterface_Expecter) DispatchSignal(signal interface{}) *ServiceBrowserInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*ServiceBrowserInterface_Expecter) Free ¶
func (_e *ServiceBrowserInterface_Expecter) Free() *ServiceBrowserInterface_Free_Call
Free is a helper method to define mock.On call
func (*ServiceBrowserInterface_Expecter) GetObjectPath ¶
func (_e *ServiceBrowserInterface_Expecter) GetObjectPath() *ServiceBrowserInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
func (*ServiceBrowserInterface_Expecter) RemoveChannel ¶
func (_e *ServiceBrowserInterface_Expecter) RemoveChannel() *ServiceBrowserInterface_RemoveChannel_Call
RemoveChannel is a helper method to define mock.On call
type ServiceBrowserInterface_Free_Call ¶
ServiceBrowserInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*ServiceBrowserInterface_Free_Call) Return ¶
func (_c *ServiceBrowserInterface_Free_Call) Return() *ServiceBrowserInterface_Free_Call
func (*ServiceBrowserInterface_Free_Call) Run ¶
func (_c *ServiceBrowserInterface_Free_Call) Run(run func()) *ServiceBrowserInterface_Free_Call
func (*ServiceBrowserInterface_Free_Call) RunAndReturn ¶
func (_c *ServiceBrowserInterface_Free_Call) RunAndReturn(run func()) *ServiceBrowserInterface_Free_Call
type ServiceBrowserInterface_GetObjectPath_Call ¶
ServiceBrowserInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*ServiceBrowserInterface_GetObjectPath_Call) Return ¶
func (_c *ServiceBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *ServiceBrowserInterface_GetObjectPath_Call
func (*ServiceBrowserInterface_GetObjectPath_Call) Run ¶
func (_c *ServiceBrowserInterface_GetObjectPath_Call) Run(run func()) *ServiceBrowserInterface_GetObjectPath_Call
func (*ServiceBrowserInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *ServiceBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *ServiceBrowserInterface_GetObjectPath_Call
type ServiceBrowserInterface_RemoveChannel_Call ¶
ServiceBrowserInterface_RemoveChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveChannel'
func (*ServiceBrowserInterface_RemoveChannel_Call) Return ¶
func (_c *ServiceBrowserInterface_RemoveChannel_Call) Return(_a0 chan avahi.Service) *ServiceBrowserInterface_RemoveChannel_Call
func (*ServiceBrowserInterface_RemoveChannel_Call) Run ¶
func (_c *ServiceBrowserInterface_RemoveChannel_Call) Run(run func()) *ServiceBrowserInterface_RemoveChannel_Call
func (*ServiceBrowserInterface_RemoveChannel_Call) RunAndReturn ¶
func (_c *ServiceBrowserInterface_RemoveChannel_Call) RunAndReturn(run func() chan avahi.Service) *ServiceBrowserInterface_RemoveChannel_Call
type ServiceResolverInterface ¶
ServiceResolverInterface is an autogenerated mock type for the ServiceResolverInterface type
func NewServiceResolverInterface ¶
func NewServiceResolverInterface(t interface { mock.TestingT Cleanup(func()) }) *ServiceResolverInterface
NewServiceResolverInterface creates a new instance of ServiceResolverInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceResolverInterface) DispatchSignal ¶
func (_m *ServiceResolverInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*ServiceResolverInterface) EXPECT ¶
func (_m *ServiceResolverInterface) EXPECT() *ServiceResolverInterface_Expecter
func (*ServiceResolverInterface) FoundChannel ¶
func (_m *ServiceResolverInterface) FoundChannel() chan avahi.Service
FoundChannel provides a mock function with given fields:
func (*ServiceResolverInterface) Free ¶
func (_m *ServiceResolverInterface) Free()
Free provides a mock function with given fields:
func (*ServiceResolverInterface) GetObjectPath ¶
func (_m *ServiceResolverInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
type ServiceResolverInterface_DispatchSignal_Call ¶
ServiceResolverInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*ServiceResolverInterface_DispatchSignal_Call) Return ¶
func (_c *ServiceResolverInterface_DispatchSignal_Call) Return(_a0 error) *ServiceResolverInterface_DispatchSignal_Call
func (*ServiceResolverInterface_DispatchSignal_Call) Run ¶
func (_c *ServiceResolverInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *ServiceResolverInterface_DispatchSignal_Call
func (*ServiceResolverInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *ServiceResolverInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *ServiceResolverInterface_DispatchSignal_Call
type ServiceResolverInterface_Expecter ¶
type ServiceResolverInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceResolverInterface_Expecter) DispatchSignal ¶
func (_e *ServiceResolverInterface_Expecter) DispatchSignal(signal interface{}) *ServiceResolverInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*ServiceResolverInterface_Expecter) FoundChannel ¶
func (_e *ServiceResolverInterface_Expecter) FoundChannel() *ServiceResolverInterface_FoundChannel_Call
FoundChannel is a helper method to define mock.On call
func (*ServiceResolverInterface_Expecter) Free ¶
func (_e *ServiceResolverInterface_Expecter) Free() *ServiceResolverInterface_Free_Call
Free is a helper method to define mock.On call
func (*ServiceResolverInterface_Expecter) GetObjectPath ¶
func (_e *ServiceResolverInterface_Expecter) GetObjectPath() *ServiceResolverInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
type ServiceResolverInterface_FoundChannel_Call ¶
ServiceResolverInterface_FoundChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FoundChannel'
func (*ServiceResolverInterface_FoundChannel_Call) Return ¶
func (_c *ServiceResolverInterface_FoundChannel_Call) Return(_a0 chan avahi.Service) *ServiceResolverInterface_FoundChannel_Call
func (*ServiceResolverInterface_FoundChannel_Call) Run ¶
func (_c *ServiceResolverInterface_FoundChannel_Call) Run(run func()) *ServiceResolverInterface_FoundChannel_Call
func (*ServiceResolverInterface_FoundChannel_Call) RunAndReturn ¶
func (_c *ServiceResolverInterface_FoundChannel_Call) RunAndReturn(run func() chan avahi.Service) *ServiceResolverInterface_FoundChannel_Call
type ServiceResolverInterface_Free_Call ¶
ServiceResolverInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*ServiceResolverInterface_Free_Call) Return ¶
func (_c *ServiceResolverInterface_Free_Call) Return() *ServiceResolverInterface_Free_Call
func (*ServiceResolverInterface_Free_Call) Run ¶
func (_c *ServiceResolverInterface_Free_Call) Run(run func()) *ServiceResolverInterface_Free_Call
func (*ServiceResolverInterface_Free_Call) RunAndReturn ¶
func (_c *ServiceResolverInterface_Free_Call) RunAndReturn(run func()) *ServiceResolverInterface_Free_Call
type ServiceResolverInterface_GetObjectPath_Call ¶
ServiceResolverInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*ServiceResolverInterface_GetObjectPath_Call) Return ¶
func (_c *ServiceResolverInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *ServiceResolverInterface_GetObjectPath_Call
func (*ServiceResolverInterface_GetObjectPath_Call) Run ¶
func (_c *ServiceResolverInterface_GetObjectPath_Call) Run(run func()) *ServiceResolverInterface_GetObjectPath_Call
func (*ServiceResolverInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *ServiceResolverInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *ServiceResolverInterface_GetObjectPath_Call
type ServiceTypeBrowserInterface ¶
ServiceTypeBrowserInterface is an autogenerated mock type for the ServiceTypeBrowserInterface type
func NewServiceTypeBrowserInterface ¶
func NewServiceTypeBrowserInterface(t interface { mock.TestingT Cleanup(func()) }) *ServiceTypeBrowserInterface
NewServiceTypeBrowserInterface creates a new instance of ServiceTypeBrowserInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServiceTypeBrowserInterface) AddChannel ¶
func (_m *ServiceTypeBrowserInterface) AddChannel() chan avahi.ServiceType
AddChannel provides a mock function with given fields:
func (*ServiceTypeBrowserInterface) DispatchSignal ¶
func (_m *ServiceTypeBrowserInterface) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*ServiceTypeBrowserInterface) EXPECT ¶
func (_m *ServiceTypeBrowserInterface) EXPECT() *ServiceTypeBrowserInterface_Expecter
func (*ServiceTypeBrowserInterface) Free ¶
func (_m *ServiceTypeBrowserInterface) Free()
Free provides a mock function with given fields:
func (*ServiceTypeBrowserInterface) GetObjectPath ¶
func (_m *ServiceTypeBrowserInterface) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
func (*ServiceTypeBrowserInterface) RemoveChannel ¶
func (_m *ServiceTypeBrowserInterface) RemoveChannel() chan avahi.ServiceType
RemoveChannel provides a mock function with given fields:
type ServiceTypeBrowserInterface_AddChannel_Call ¶
ServiceTypeBrowserInterface_AddChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddChannel'
func (*ServiceTypeBrowserInterface_AddChannel_Call) Return ¶
func (_c *ServiceTypeBrowserInterface_AddChannel_Call) Return(_a0 chan avahi.ServiceType) *ServiceTypeBrowserInterface_AddChannel_Call
func (*ServiceTypeBrowserInterface_AddChannel_Call) Run ¶
func (_c *ServiceTypeBrowserInterface_AddChannel_Call) Run(run func()) *ServiceTypeBrowserInterface_AddChannel_Call
func (*ServiceTypeBrowserInterface_AddChannel_Call) RunAndReturn ¶
func (_c *ServiceTypeBrowserInterface_AddChannel_Call) RunAndReturn(run func() chan avahi.ServiceType) *ServiceTypeBrowserInterface_AddChannel_Call
type ServiceTypeBrowserInterface_DispatchSignal_Call ¶
ServiceTypeBrowserInterface_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*ServiceTypeBrowserInterface_DispatchSignal_Call) Return ¶
func (_c *ServiceTypeBrowserInterface_DispatchSignal_Call) Return(_a0 error) *ServiceTypeBrowserInterface_DispatchSignal_Call
func (*ServiceTypeBrowserInterface_DispatchSignal_Call) Run ¶
func (_c *ServiceTypeBrowserInterface_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *ServiceTypeBrowserInterface_DispatchSignal_Call
func (*ServiceTypeBrowserInterface_DispatchSignal_Call) RunAndReturn ¶
func (_c *ServiceTypeBrowserInterface_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *ServiceTypeBrowserInterface_DispatchSignal_Call
type ServiceTypeBrowserInterface_Expecter ¶
type ServiceTypeBrowserInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ServiceTypeBrowserInterface_Expecter) AddChannel ¶
func (_e *ServiceTypeBrowserInterface_Expecter) AddChannel() *ServiceTypeBrowserInterface_AddChannel_Call
AddChannel is a helper method to define mock.On call
func (*ServiceTypeBrowserInterface_Expecter) DispatchSignal ¶
func (_e *ServiceTypeBrowserInterface_Expecter) DispatchSignal(signal interface{}) *ServiceTypeBrowserInterface_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*ServiceTypeBrowserInterface_Expecter) Free ¶
func (_e *ServiceTypeBrowserInterface_Expecter) Free() *ServiceTypeBrowserInterface_Free_Call
Free is a helper method to define mock.On call
func (*ServiceTypeBrowserInterface_Expecter) GetObjectPath ¶
func (_e *ServiceTypeBrowserInterface_Expecter) GetObjectPath() *ServiceTypeBrowserInterface_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
func (*ServiceTypeBrowserInterface_Expecter) RemoveChannel ¶
func (_e *ServiceTypeBrowserInterface_Expecter) RemoveChannel() *ServiceTypeBrowserInterface_RemoveChannel_Call
RemoveChannel is a helper method to define mock.On call
type ServiceTypeBrowserInterface_Free_Call ¶
ServiceTypeBrowserInterface_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*ServiceTypeBrowserInterface_Free_Call) Return ¶
func (_c *ServiceTypeBrowserInterface_Free_Call) Return() *ServiceTypeBrowserInterface_Free_Call
func (*ServiceTypeBrowserInterface_Free_Call) Run ¶
func (_c *ServiceTypeBrowserInterface_Free_Call) Run(run func()) *ServiceTypeBrowserInterface_Free_Call
func (*ServiceTypeBrowserInterface_Free_Call) RunAndReturn ¶
func (_c *ServiceTypeBrowserInterface_Free_Call) RunAndReturn(run func()) *ServiceTypeBrowserInterface_Free_Call
type ServiceTypeBrowserInterface_GetObjectPath_Call ¶
ServiceTypeBrowserInterface_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*ServiceTypeBrowserInterface_GetObjectPath_Call) Return ¶
func (_c *ServiceTypeBrowserInterface_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *ServiceTypeBrowserInterface_GetObjectPath_Call
func (*ServiceTypeBrowserInterface_GetObjectPath_Call) Run ¶
func (_c *ServiceTypeBrowserInterface_GetObjectPath_Call) Run(run func()) *ServiceTypeBrowserInterface_GetObjectPath_Call
func (*ServiceTypeBrowserInterface_GetObjectPath_Call) RunAndReturn ¶
func (_c *ServiceTypeBrowserInterface_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *ServiceTypeBrowserInterface_GetObjectPath_Call
type ServiceTypeBrowserInterface_RemoveChannel_Call ¶
ServiceTypeBrowserInterface_RemoveChannel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveChannel'
func (*ServiceTypeBrowserInterface_RemoveChannel_Call) Return ¶
func (_c *ServiceTypeBrowserInterface_RemoveChannel_Call) Return(_a0 chan avahi.ServiceType) *ServiceTypeBrowserInterface_RemoveChannel_Call
func (*ServiceTypeBrowserInterface_RemoveChannel_Call) Run ¶
func (_c *ServiceTypeBrowserInterface_RemoveChannel_Call) Run(run func()) *ServiceTypeBrowserInterface_RemoveChannel_Call
func (*ServiceTypeBrowserInterface_RemoveChannel_Call) RunAndReturn ¶
func (_c *ServiceTypeBrowserInterface_RemoveChannel_Call) RunAndReturn(run func() chan avahi.ServiceType) *ServiceTypeBrowserInterface_RemoveChannel_Call
type SignalEmitter ¶
SignalEmitter is an autogenerated mock type for the SignalEmitter type
func NewSignalEmitter ¶
func NewSignalEmitter(t interface { mock.TestingT Cleanup(func()) }) *SignalEmitter
NewSignalEmitter creates a new instance of SignalEmitter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SignalEmitter) DispatchSignal ¶
func (_m *SignalEmitter) DispatchSignal(signal *dbus.Signal) error
DispatchSignal provides a mock function with given fields: signal
func (*SignalEmitter) EXPECT ¶
func (_m *SignalEmitter) EXPECT() *SignalEmitter_Expecter
func (*SignalEmitter) Free ¶
func (_m *SignalEmitter) Free()
Free provides a mock function with given fields:
func (*SignalEmitter) GetObjectPath ¶
func (_m *SignalEmitter) GetObjectPath() dbus.ObjectPath
GetObjectPath provides a mock function with given fields:
type SignalEmitter_DispatchSignal_Call ¶
SignalEmitter_DispatchSignal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DispatchSignal'
func (*SignalEmitter_DispatchSignal_Call) Return ¶
func (_c *SignalEmitter_DispatchSignal_Call) Return(_a0 error) *SignalEmitter_DispatchSignal_Call
func (*SignalEmitter_DispatchSignal_Call) Run ¶
func (_c *SignalEmitter_DispatchSignal_Call) Run(run func(signal *dbus.Signal)) *SignalEmitter_DispatchSignal_Call
func (*SignalEmitter_DispatchSignal_Call) RunAndReturn ¶
func (_c *SignalEmitter_DispatchSignal_Call) RunAndReturn(run func(*dbus.Signal) error) *SignalEmitter_DispatchSignal_Call
type SignalEmitter_Expecter ¶
type SignalEmitter_Expecter struct {
// contains filtered or unexported fields
}
func (*SignalEmitter_Expecter) DispatchSignal ¶
func (_e *SignalEmitter_Expecter) DispatchSignal(signal interface{}) *SignalEmitter_DispatchSignal_Call
DispatchSignal is a helper method to define mock.On call
- signal *dbus.Signal
func (*SignalEmitter_Expecter) Free ¶
func (_e *SignalEmitter_Expecter) Free() *SignalEmitter_Free_Call
Free is a helper method to define mock.On call
func (*SignalEmitter_Expecter) GetObjectPath ¶
func (_e *SignalEmitter_Expecter) GetObjectPath() *SignalEmitter_GetObjectPath_Call
GetObjectPath is a helper method to define mock.On call
type SignalEmitter_Free_Call ¶
SignalEmitter_Free_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Free'
func (*SignalEmitter_Free_Call) Return ¶
func (_c *SignalEmitter_Free_Call) Return() *SignalEmitter_Free_Call
func (*SignalEmitter_Free_Call) Run ¶
func (_c *SignalEmitter_Free_Call) Run(run func()) *SignalEmitter_Free_Call
func (*SignalEmitter_Free_Call) RunAndReturn ¶
func (_c *SignalEmitter_Free_Call) RunAndReturn(run func()) *SignalEmitter_Free_Call
type SignalEmitter_GetObjectPath_Call ¶
SignalEmitter_GetObjectPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetObjectPath'
func (*SignalEmitter_GetObjectPath_Call) Return ¶
func (_c *SignalEmitter_GetObjectPath_Call) Return(_a0 dbus.ObjectPath) *SignalEmitter_GetObjectPath_Call
func (*SignalEmitter_GetObjectPath_Call) Run ¶
func (_c *SignalEmitter_GetObjectPath_Call) Run(run func()) *SignalEmitter_GetObjectPath_Call
func (*SignalEmitter_GetObjectPath_Call) RunAndReturn ¶
func (_c *SignalEmitter_GetObjectPath_Call) RunAndReturn(run func() dbus.ObjectPath) *SignalEmitter_GetObjectPath_Call