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 ¶
- type MockAuthProvider
- type MockAuthProviderMockRecorder
- type MockClient
- type MockClientMockRecorder
- type MockConsulKV
- type MockConsulKVMockRecorder
- type MockContexter
- func (m *MockContexter) EXPECT() *MockContexterMockRecorder
- func (m *MockContexter) WithCancel(arg0 context.Context) (context.Context, context.CancelFunc)
- func (m *MockContexter) WithDeadline(arg0 context.Context, arg1 time.Time) (context.Context, context.CancelFunc)
- func (m *MockContexter) WithTimeout(arg0 context.Context, arg1 time.Duration) (context.Context, context.CancelFunc)
- type MockContexterMockRecorder
- type MockKV
- func (m *MockKV) Compact(arg0 context.Context, arg1 int64, arg2 ...clientv3.CompactOption) (*clientv3.CompactResponse, error)
- func (m *MockKV) Delete(arg0 context.Context, arg1 string, arg2 ...clientv3.OpOption) (*clientv3.DeleteResponse, error)
- func (m *MockKV) Do(arg0 context.Context, arg1 clientv3.Op) (clientv3.OpResponse, error)
- func (m *MockKV) EXPECT() *MockKVMockRecorder
- func (m *MockKV) Get(arg0 context.Context, arg1 string, arg2 ...clientv3.OpOption) (*clientv3.GetResponse, error)
- func (m *MockKV) Put(arg0 context.Context, arg1, arg2 string, arg3 ...clientv3.OpOption) (*clientv3.PutResponse, error)
- func (m *MockKV) Txn(arg0 context.Context) clientv3.Txn
- type MockKVMockRecorder
- func (mr *MockKVMockRecorder) Compact(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockKVMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockKVMockRecorder) Do(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKVMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockKVMockRecorder) Put(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockKVMockRecorder) Txn(arg0 interface{}) *gomock.Call
- type MockLoader
- type MockLoaderMockRecorder
- func (mr *MockLoaderMockRecorder) Load(arg0 interface{}) *gomock.Call
- func (mr *MockLoaderMockRecorder) MaxRetry() *gomock.Call
- func (mr *MockLoaderMockRecorder) Name() *gomock.Call
- func (mr *MockLoaderMockRecorder) RetryDelay() *gomock.Call
- func (mr *MockLoaderMockRecorder) StopOnFailure() *gomock.Call
- type MockLogicalClient
- func (m *MockLogicalClient) EXPECT() *MockLogicalClientMockRecorder
- func (m *MockLogicalClient) Read(key string) (*api.Secret, error)
- func (m *MockLogicalClient) ReadWithData(key string, data map[string][]string) (*api.Secret, error)
- func (m *MockLogicalClient) Write(key string, data map[string]interface{}) (*api.Secret, error)
- type MockLogicalClientMockRecorder
- type MockParser
- type MockParserMockRecorder
- type MockWatcher
- type MockWatcherMockRecorder
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 ¶
func (m *MockAuthProvider) EXPECT() *MockAuthProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAuthProviderMockRecorder ¶
type MockAuthProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthProviderMockRecorder is the mock recorder for MockAuthProvider
func (*MockAuthProviderMockRecorder) Token ¶
func (mr *MockAuthProviderMockRecorder) Token() *gomock.Call
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) 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
func (m *MockConsulKV) EXPECT() *MockConsulKVMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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 ¶
func (m *MockContexter) EXPECT() *MockContexterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContexter) WithCancel ¶
func (m *MockContexter) WithCancel(arg0 context.Context) (context.Context, context.CancelFunc)
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) 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
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) 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 ¶
func (m *MockLogicalClient) EXPECT() *MockLogicalClientMockRecorder
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 ¶
ReadWithData 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
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) EXPECT ¶
func (m *MockWatcher) EXPECT() *MockWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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