mocks

package
v0.0.0-...-838d9ca Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClienter

type MockClienter struct {
	// contains filtered or unexported fields
}

MockClienter is a mock of Clienter interface

func NewMockClienter

func NewMockClienter(ctrl *gomock.Controller) *MockClienter

NewMockClienter creates a new mock instance

func (*MockClienter) Agent

func (m *MockClienter) Agent() *api.Agent

Agent mocks base method

func (*MockClienter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClienter) KV

func (m *MockClienter) KV() *api.KV

KV mocks base method

func (*MockClienter) Session

func (m *MockClienter) Session() *api.Session

Session mocks base method

type MockClienterMockRecorder

type MockClienterMockRecorder struct {
	// contains filtered or unexported fields
}

MockClienterMockRecorder is the mock recorder for MockClienter

func (*MockClienterMockRecorder) Agent

func (mr *MockClienterMockRecorder) Agent() *gomock.Call

Agent indicates an expected call of Agent

func (*MockClienterMockRecorder) KV

KV indicates an expected call of KV

func (*MockClienterMockRecorder) Session

func (mr *MockClienterMockRecorder) Session() *gomock.Call

Session indicates an expected call of Session

type MockKeyValuer

type MockKeyValuer struct {
	// contains filtered or unexported fields
}

MockKeyValuer is a mock of KeyValuer interface

func NewMockKeyValuer

func NewMockKeyValuer(ctrl *gomock.Controller) *MockKeyValuer

NewMockKeyValuer creates a new mock instance

func (*MockKeyValuer) Acquire

func (m *MockKeyValuer) Acquire(p *api.KVPair, q *api.WriteOptions) (bool, *api.WriteMeta, error)

Acquire mocks base method

func (*MockKeyValuer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockKeyValuer) Release

func (m *MockKeyValuer) Release(p *api.KVPair, q *api.WriteOptions) (bool, *api.WriteMeta, error)

Release mocks base method

type MockKeyValuerMockRecorder

type MockKeyValuerMockRecorder struct {
	// contains filtered or unexported fields
}

MockKeyValuerMockRecorder is the mock recorder for MockKeyValuer

func (*MockKeyValuerMockRecorder) Acquire

func (mr *MockKeyValuerMockRecorder) Acquire(p, q interface{}) *gomock.Call

Acquire indicates an expected call of Acquire

func (*MockKeyValuerMockRecorder) Release

func (mr *MockKeyValuerMockRecorder) Release(p, q interface{}) *gomock.Call

Release indicates an expected call of Release

Jump to

Keyboard shortcuts

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