Documentation ¶
Overview ¶
Package logical is a generated GoMock package.
Index ¶
- type Logical
- type MockLogical
- func (m *MockLogical) DeleteWithContext(arg0 context.Context, arg1 string) (*api.Secret, error)
- func (m *MockLogical) DeleteWithDataWithContext(arg0 context.Context, arg1 string, arg2 map[string][]string) (*api.Secret, error)
- func (m *MockLogical) EXPECT() *MockLogicalMockRecorder
- func (m *MockLogical) ListWithContext(arg0 context.Context, arg1 string) (*api.Secret, error)
- func (m *MockLogical) ReadWithContext(arg0 context.Context, arg1 string) (*api.Secret, error)
- func (m *MockLogical) ReadWithDataWithContext(arg0 context.Context, arg1 string, arg2 map[string][]string) (*api.Secret, error)
- func (m *MockLogical) UnwrapWithContext(arg0 context.Context, arg1 string) (*api.Secret, error)
- func (m *MockLogical) WriteBytesWithContext(arg0 context.Context, arg1 string, arg2 []byte) (*api.Secret, error)
- func (m *MockLogical) WriteWithContext(arg0 context.Context, arg1 string, arg2 map[string]interface{}) (*api.Secret, error)
- type MockLogicalMockRecorder
- func (mr *MockLogicalMockRecorder) DeleteWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) DeleteWithDataWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) ListWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) ReadWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) ReadWithDataWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) UnwrapWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) WriteBytesWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) WriteWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logical ¶
type Logical interface { ReadWithContext(ctx context.Context, path string) (*api.Secret, error) ReadWithDataWithContext(ctx context.Context, path string, data map[string][]string) (*api.Secret, error) WriteWithContext(ctx context.Context, path string, data map[string]interface{}) (*api.Secret, error) WriteBytesWithContext(ctx context.Context, path string, data []byte) (*api.Secret, error) ListWithContext(ctx context.Context, path string) (*api.Secret, error) UnwrapWithContext(ctx context.Context, token string) (*api.Secret, error) DeleteWithContext(ctx context.Context, path string) (*api.Secret, error) DeleteWithDataWithContext(ctx context.Context, path string, data map[string][]string) (*api.Secret, error) }
Logical backend interface
type MockLogical ¶
type MockLogical struct {
// contains filtered or unexported fields
}
MockLogical is a mock of Logical interface.
func NewMockLogical ¶
func NewMockLogical(ctrl *gomock.Controller) *MockLogical
NewMockLogical creates a new mock instance.
func (*MockLogical) DeleteWithContext ¶
DeleteWithContext mocks base method.
func (*MockLogical) DeleteWithDataWithContext ¶
func (m *MockLogical) DeleteWithDataWithContext(arg0 context.Context, arg1 string, arg2 map[string][]string) (*api.Secret, error)
DeleteWithDataWithContext mocks base method.
func (*MockLogical) EXPECT ¶
func (m *MockLogical) EXPECT() *MockLogicalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogical) ListWithContext ¶
ListWithContext mocks base method.
func (*MockLogical) ReadWithContext ¶
ReadWithContext mocks base method.
func (*MockLogical) ReadWithDataWithContext ¶
func (m *MockLogical) ReadWithDataWithContext(arg0 context.Context, arg1 string, arg2 map[string][]string) (*api.Secret, error)
ReadWithDataWithContext mocks base method.
func (*MockLogical) UnwrapWithContext ¶
UnwrapWithContext mocks base method.
func (*MockLogical) WriteBytesWithContext ¶
func (m *MockLogical) WriteBytesWithContext(arg0 context.Context, arg1 string, arg2 []byte) (*api.Secret, error)
WriteBytesWithContext mocks base method.
func (*MockLogical) WriteWithContext ¶
func (m *MockLogical) WriteWithContext(arg0 context.Context, arg1 string, arg2 map[string]interface{}) (*api.Secret, error)
WriteWithContext mocks base method.
type MockLogicalMockRecorder ¶
type MockLogicalMockRecorder struct {
// contains filtered or unexported fields
}
MockLogicalMockRecorder is the mock recorder for MockLogical.
func (*MockLogicalMockRecorder) DeleteWithContext ¶
func (mr *MockLogicalMockRecorder) DeleteWithContext(arg0, arg1 interface{}) *gomock.Call
DeleteWithContext indicates an expected call of DeleteWithContext.
func (*MockLogicalMockRecorder) DeleteWithDataWithContext ¶
func (mr *MockLogicalMockRecorder) DeleteWithDataWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteWithDataWithContext indicates an expected call of DeleteWithDataWithContext.
func (*MockLogicalMockRecorder) ListWithContext ¶
func (mr *MockLogicalMockRecorder) ListWithContext(arg0, arg1 interface{}) *gomock.Call
ListWithContext indicates an expected call of ListWithContext.
func (*MockLogicalMockRecorder) ReadWithContext ¶
func (mr *MockLogicalMockRecorder) ReadWithContext(arg0, arg1 interface{}) *gomock.Call
ReadWithContext indicates an expected call of ReadWithContext.
func (*MockLogicalMockRecorder) ReadWithDataWithContext ¶
func (mr *MockLogicalMockRecorder) ReadWithDataWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
ReadWithDataWithContext indicates an expected call of ReadWithDataWithContext.
func (*MockLogicalMockRecorder) UnwrapWithContext ¶
func (mr *MockLogicalMockRecorder) UnwrapWithContext(arg0, arg1 interface{}) *gomock.Call
UnwrapWithContext indicates an expected call of UnwrapWithContext.
func (*MockLogicalMockRecorder) WriteBytesWithContext ¶
func (mr *MockLogicalMockRecorder) WriteBytesWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
WriteBytesWithContext indicates an expected call of WriteBytesWithContext.
func (*MockLogicalMockRecorder) WriteWithContext ¶
func (mr *MockLogicalMockRecorder) WriteWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
WriteWithContext indicates an expected call of WriteWithContext.