mocks

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAuthProvider

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

MockAuthProvider is a mock of AuthProvider interface

func NewMockAuthProvider

func NewMockAuthProvider(ctrl *gomock.Controller) *MockAuthProvider

NewMockAuthProvider creates a new mock instance

func (*MockAuthProvider) EXPECT

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

func (*MockAuthProvider) Token

func (m *MockAuthProvider) Token() (string, time.Duration, error)

Token mocks base method

type MockAuthProviderMockRecorder

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

MockAuthProviderMockRecorder is the mock recorder for MockAuthProvider

func (*MockAuthProviderMockRecorder) Token

Token indicates an expected call of Token

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Do

func (m *MockClient) Do(arg0 *http.Request) (*http.Response, error)

Do mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Do

func (mr *MockClientMockRecorder) Do(arg0 interface{}) *gomock.Call

Do indicates an expected call of Do

type MockConsulKV added in v0.2.0

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

MockConsulKV is a mock of ConsulKV interface

func NewMockConsulKV added in v0.2.0

func NewMockConsulKV(ctrl *gomock.Controller) *MockConsulKV

NewMockConsulKV creates a new mock instance

func (*MockConsulKV) EXPECT added in v0.2.0

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

func (*MockConsulKV) Get added in v0.2.0

Get mocks base method

type MockConsulKVMockRecorder added in v0.2.0

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

MockConsulKVMockRecorder is the mock recorder for MockConsulKV

func (*MockConsulKVMockRecorder) Get added in v0.2.0

func (mr *MockConsulKVMockRecorder) Get(key, q interface{}) *gomock.Call

Get indicates an expected call of Get

type MockContexter

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

MockContexter is a mock of Contexter interface

func NewMockContexter

func NewMockContexter(ctrl *gomock.Controller) *MockContexter

NewMockContexter creates a new mock instance

func (*MockContexter) EXPECT

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

func (*MockContexter) WithCancel

WithCancel mocks base method

func (*MockContexter) WithDeadline

func (m *MockContexter) WithDeadline(arg0 context.Context, arg1 time.Time) (context.Context, context.CancelFunc)

WithDeadline mocks base method

func (*MockContexter) WithTimeout

func (m *MockContexter) WithTimeout(arg0 context.Context, arg1 time.Duration) (context.Context, context.CancelFunc)

WithTimeout mocks base method

type MockContexterMockRecorder

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

MockContexterMockRecorder is the mock recorder for MockContexter

func (*MockContexterMockRecorder) WithCancel

func (mr *MockContexterMockRecorder) WithCancel(arg0 interface{}) *gomock.Call

WithCancel indicates an expected call of WithCancel

func (*MockContexterMockRecorder) WithDeadline

func (mr *MockContexterMockRecorder) WithDeadline(arg0, arg1 interface{}) *gomock.Call

WithDeadline indicates an expected call of WithDeadline

func (*MockContexterMockRecorder) WithTimeout

func (mr *MockContexterMockRecorder) WithTimeout(arg0, arg1 interface{}) *gomock.Call

WithTimeout indicates an expected call of WithTimeout

type MockKV

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

MockKV is a mock of KV interface

func NewMockKV

func NewMockKV(ctrl *gomock.Controller) *MockKV

NewMockKV creates a new mock instance

func (*MockKV) Compact

func (m *MockKV) Compact(arg0 context.Context, arg1 int64, arg2 ...clientv3.CompactOption) (*clientv3.CompactResponse, error)

Compact mocks base method

func (*MockKV) Delete

func (m *MockKV) Delete(arg0 context.Context, arg1 string, arg2 ...clientv3.OpOption) (*clientv3.DeleteResponse, error)

Delete mocks base method

func (*MockKV) Do

func (m *MockKV) Do(arg0 context.Context, arg1 clientv3.Op) (clientv3.OpResponse, error)

Do mocks base method

func (*MockKV) EXPECT

func (m *MockKV) EXPECT() *MockKVMockRecorder

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

func (*MockKV) Get

func (m *MockKV) Get(arg0 context.Context, arg1 string, arg2 ...clientv3.OpOption) (*clientv3.GetResponse, error)

Get mocks base method

func (*MockKV) Put

func (m *MockKV) Put(arg0 context.Context, arg1, arg2 string, arg3 ...clientv3.OpOption) (*clientv3.PutResponse, error)

Put mocks base method

func (*MockKV) Txn

func (m *MockKV) Txn(arg0 context.Context) clientv3.Txn

Txn mocks base method

type MockKVMockRecorder

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

MockKVMockRecorder is the mock recorder for MockKV

func (*MockKVMockRecorder) Compact

func (mr *MockKVMockRecorder) Compact(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Compact indicates an expected call of Compact

func (*MockKVMockRecorder) Delete

func (mr *MockKVMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockKVMockRecorder) Do

func (mr *MockKVMockRecorder) Do(arg0, arg1 interface{}) *gomock.Call

Do indicates an expected call of Do

func (*MockKVMockRecorder) Get

func (mr *MockKVMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockKVMockRecorder) Put

func (mr *MockKVMockRecorder) Put(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Put indicates an expected call of Put

func (*MockKVMockRecorder) Txn

func (mr *MockKVMockRecorder) Txn(arg0 interface{}) *gomock.Call

Txn indicates an expected call of Txn

type MockLoader

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

MockLoader is a mock of Loader interface

func NewMockLoader

func NewMockLoader(ctrl *gomock.Controller) *MockLoader

NewMockLoader creates a new mock instance

func (*MockLoader) EXPECT

func (m *MockLoader) EXPECT() *MockLoaderMockRecorder

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

func (*MockLoader) Load

func (m *MockLoader) Load(arg0 konfig.Values) error

Load mocks base method

func (*MockLoader) MaxRetry

func (m *MockLoader) MaxRetry() int

MaxRetry mocks base method

func (*MockLoader) Name

func (m *MockLoader) Name() string

Name mocks base method

func (*MockLoader) RetryDelay

func (m *MockLoader) RetryDelay() time.Duration

RetryDelay mocks base method

func (*MockLoader) StopOnFailure added in v0.2.0

func (m *MockLoader) StopOnFailure() bool

StopOnFailure mocks base method

type MockLoaderMockRecorder

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

MockLoaderMockRecorder is the mock recorder for MockLoader

func (*MockLoaderMockRecorder) Load

func (mr *MockLoaderMockRecorder) Load(arg0 interface{}) *gomock.Call

Load indicates an expected call of Load

func (*MockLoaderMockRecorder) MaxRetry

func (mr *MockLoaderMockRecorder) MaxRetry() *gomock.Call

MaxRetry indicates an expected call of MaxRetry

func (*MockLoaderMockRecorder) Name

func (mr *MockLoaderMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockLoaderMockRecorder) RetryDelay

func (mr *MockLoaderMockRecorder) RetryDelay() *gomock.Call

RetryDelay indicates an expected call of RetryDelay

func (*MockLoaderMockRecorder) StopOnFailure added in v0.2.0

func (mr *MockLoaderMockRecorder) StopOnFailure() *gomock.Call

StopOnFailure indicates an expected call of StopOnFailure

type MockLogicalClient

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

MockLogicalClient is a mock of LogicalClient interface

func NewMockLogicalClient

func NewMockLogicalClient(ctrl *gomock.Controller) *MockLogicalClient

NewMockLogicalClient creates a new mock instance

func (*MockLogicalClient) EXPECT

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

func (*MockLogicalClient) Read

func (m *MockLogicalClient) Read(key string) (*api.Secret, error)

Read mocks base method

func (*MockLogicalClient) ReadWithData

func (m *MockLogicalClient) ReadWithData(key string, data map[string][]string) (*api.Secret, error)

ReadWithData mocks base method

func (*MockLogicalClient) Write

func (m *MockLogicalClient) Write(key string, data map[string]interface{}) (*api.Secret, error)

Write mocks base method

type MockLogicalClientMockRecorder

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

MockLogicalClientMockRecorder is the mock recorder for MockLogicalClient

func (*MockLogicalClientMockRecorder) Read

func (mr *MockLogicalClientMockRecorder) Read(key interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockLogicalClientMockRecorder) ReadWithData

func (mr *MockLogicalClientMockRecorder) ReadWithData(key, data interface{}) *gomock.Call

ReadWithData indicates an expected call of ReadWithData

func (*MockLogicalClientMockRecorder) Write

func (mr *MockLogicalClientMockRecorder) Write(key, data interface{}) *gomock.Call

Write indicates an expected call of Write

type MockParser

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

MockParser is a mock of Parser interface

func NewMockParser

func NewMockParser(ctrl *gomock.Controller) *MockParser

NewMockParser creates a new mock instance

func (*MockParser) EXPECT

func (m *MockParser) EXPECT() *MockParserMockRecorder

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

func (*MockParser) Parse

func (m *MockParser) Parse(arg0 io.Reader, arg1 konfig.Values) error

Parse mocks base method

type MockParserMockRecorder

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

MockParserMockRecorder is the mock recorder for MockParser

func (*MockParserMockRecorder) Parse

func (mr *MockParserMockRecorder) Parse(arg0, arg1 interface{}) *gomock.Call

Parse indicates an expected call of Parse

type MockWatcher

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

MockWatcher is a mock of Watcher interface

func NewMockWatcher

func NewMockWatcher(ctrl *gomock.Controller) *MockWatcher

NewMockWatcher creates a new mock instance

func (*MockWatcher) Close

func (m *MockWatcher) Close() error

Close mocks base method

func (*MockWatcher) Done

func (m *MockWatcher) Done() <-chan struct{}

Done mocks base method

func (*MockWatcher) EXPECT

func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder

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

func (*MockWatcher) Err

func (m *MockWatcher) Err() error

Err mocks base method

func (*MockWatcher) Start

func (m *MockWatcher) Start() error

Start mocks base method

func (*MockWatcher) Watch

func (m *MockWatcher) Watch() <-chan struct{}

Watch mocks base method

type MockWatcherMockRecorder

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

MockWatcherMockRecorder is the mock recorder for MockWatcher

func (*MockWatcherMockRecorder) Close

func (mr *MockWatcherMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockWatcherMockRecorder) Done

func (mr *MockWatcherMockRecorder) Done() *gomock.Call

Done indicates an expected call of Done

func (*MockWatcherMockRecorder) Err

func (mr *MockWatcherMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err

func (*MockWatcherMockRecorder) Start

func (mr *MockWatcherMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start

func (*MockWatcherMockRecorder) Watch

func (mr *MockWatcherMockRecorder) Watch() *gomock.Call

Watch indicates an expected call of Watch

Jump to

Keyboard shortcuts

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