mocks

package
v0.1.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	mock.Mock
}

Driver is an autogenerated mock type for the Driver type

func (*Driver) Close

func (_m *Driver) Close()

Close provides a mock function with given fields:

func (*Driver) Connect

func (_m *Driver) Connect(url string) error

Connect provides a mock function with given fields: url

func (*Driver) CreateNode

func (_m *Driver) CreateNode(path string, data []byte) error

CreateNode provides a mock function with given fields: path, data

func (*Driver) DeleteNode

func (_m *Driver) DeleteNode(path string) error

DeleteNode provides a mock function with given fields: path

func (*Driver) GetConnection

func (_m *Driver) GetConnection() *zk.Conn

GetConnection provides a mock function with given fields:

func (*Driver) GetData

func (_m *Driver) GetData(path string) ([]byte, error)

GetData provides a mock function with given fields: path

func (*Driver) LockEntity

func (_m *Driver) LockEntity(name string) (string, bool)

LockEntity provides a mock function with given fields: name

func (*Driver) ReleaseEntity

func (_m *Driver) ReleaseEntity(lock string)

ReleaseEntity provides a mock function with given fields: lock

func (*Driver) WatchForNode

func (_m *Driver) WatchForNode(path string) (<-chan zk.Event, error)

WatchForNode provides a mock function with given fields: path

type OwnershipChecker

type OwnershipChecker struct {
	mock.Mock
}

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:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL