Documentation ¶
Index ¶
- type MockApi
- type MockClient
- func (_m *MockClient) Child(path string) Client
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) EndAt(value string) Client
- func (_m *MockClient) EqualTo(value string) Client
- func (_m *MockClient) Iterator(d Destination) <-chan *KeyedValue
- func (_m *MockClient) Key() string
- func (_m *MockClient) LimitToFirst(value int) Client
- func (_m *MockClient) LimitToLast(value int) Client
- func (_m *MockClient) OrderBy(prop string) Client
- func (_m *MockClient) Push(value interface{}, params map[string]string) (Client, error)
- func (_m *MockClient) Remove(path string, params map[string]string) error
- func (_m *MockClient) Rules(params map[string]string) (*Rules, error)
- func (_m *MockClient) Set(path string, value interface{}, params map[string]string) (Client, error)
- func (_m *MockClient) SetRules(rules *Rules, params map[string]string) error
- func (_m *MockClient) Shallow() ([]string, error)
- func (_m *MockClient) StartAt(value string) Client
- func (_m *MockClient) String() string
- func (_m *MockClient) Update(path string, value interface{}, params map[string]string) error
- func (_m *MockClient) Value(destination interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApi ¶
type MockApi struct {
// contains filtered or unexported fields
}
Mock of Api interface
func NewMockApi ¶
func NewMockApi(ctrl *gomock.Controller) *MockApi
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) Child ¶
func (_m *MockClient) Child(path string) Client
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) EndAt ¶
func (_m *MockClient) EndAt(value string) Client
func (*MockClient) EqualTo ¶
func (_m *MockClient) EqualTo(value string) Client
func (*MockClient) Iterator ¶
func (_m *MockClient) Iterator(d Destination) <-chan *KeyedValue
func (*MockClient) Key ¶
func (_m *MockClient) Key() string
func (*MockClient) LimitToFirst ¶
func (_m *MockClient) LimitToFirst(value int) Client
func (*MockClient) LimitToLast ¶
func (_m *MockClient) LimitToLast(value int) Client
func (*MockClient) OrderBy ¶
func (_m *MockClient) OrderBy(prop string) Client
func (*MockClient) Push ¶
func (_m *MockClient) Push(value interface{}, params map[string]string) (Client, error)
func (*MockClient) Remove ¶
func (_m *MockClient) Remove(path string, params map[string]string) error
func (*MockClient) Set ¶
func (_m *MockClient) Set(path string, value interface{}, params map[string]string) (Client, error)
func (*MockClient) SetRules ¶
func (_m *MockClient) SetRules(rules *Rules, params map[string]string) error
func (*MockClient) Shallow ¶
func (_m *MockClient) Shallow() ([]string, error)
func (*MockClient) StartAt ¶
func (_m *MockClient) StartAt(value string) Client
func (*MockClient) String ¶
func (_m *MockClient) String() string
func (*MockClient) Update ¶
func (_m *MockClient) Update(path string, value interface{}, params map[string]string) error
func (*MockClient) Value ¶
func (_m *MockClient) Value(destination interface{}) error
Click to show internal directories.
Click to hide internal directories.