Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type Driver
- func (_m *Driver) Close()
- func (_m *Driver) Connect(url string) error
- func (_m *Driver) CreateNode(path string, data []byte) error
- func (_m *Driver) DeleteNode(path string) error
- func (_m *Driver) GetConnection() *zk.Conn
- func (_m *Driver) GetData(path string) ([]byte, error)
- func (_m *Driver) LockEntity(name string) (string, bool)
- func (_m *Driver) ReleaseEntity(lock string)
- func (_m *Driver) WatchForNode(path string) (<-chan zk.Event, error)
- type OwnershipChecker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver is an autogenerated mock type for the Driver type
func (*Driver) CreateNode ¶
CreateNode provides a mock function with given fields: path, data
func (*Driver) DeleteNode ¶
DeleteNode provides a mock function with given fields: path
func (*Driver) GetConnection ¶
GetConnection provides a mock function with given fields:
func (*Driver) LockEntity ¶
LockEntity provides a mock function with given fields: name
func (*Driver) ReleaseEntity ¶
ReleaseEntity provides a mock function with given fields: lock
type OwnershipChecker ¶
OwnershipChecker is an autogenerated mock type for the OwnershipChecker type
func (*OwnershipChecker) CanModify ¶
func (_m *OwnershipChecker) CanModify() bool
CanModify provides a mock function with given fields:
func (*OwnershipChecker) ReleaseEntity ¶
func (_m *OwnershipChecker) ReleaseEntity()
ReleaseEntity provides a mock function with given fields: