Documentation ¶
Overview ¶
Package logical is a generated GoMock package.
Index ¶
- type Logical
- type MockLogical
- func (m *MockLogical) EXPECT() *MockLogicalMockRecorder
- func (m *MockLogical) List(arg0 string) (*api.Secret, error)
- func (m *MockLogical) Read(arg0 string) (*api.Secret, error)
- func (m *MockLogical) ReadWithData(arg0 string, arg1 map[string][]string) (*api.Secret, error)
- func (m *MockLogical) Unwrap(arg0 string) (*api.Secret, error)
- func (m *MockLogical) Write(arg0 string, arg1 map[string]interface{}) (*api.Secret, error)
- type MockLogicalMockRecorder
- func (mr *MockLogicalMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) ReadWithData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) Unwrap(arg0 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logical ¶
type Logical interface { Read(path string) (*api.Secret, error) ReadWithData(path string, data map[string][]string) (*api.Secret, error) Write(path string, data map[string]interface{}) (*api.Secret, error) List(path string) (*api.Secret, error) Unwrap(token string) (*api.Secret, error) }
Logical backend interface
type MockLogical ¶ added in v0.1.12
type MockLogical struct {
// contains filtered or unexported fields
}
MockLogical is a mock of Logical interface.
func NewMockLogical ¶ added in v0.1.12
func NewMockLogical(ctrl *gomock.Controller) *MockLogical
NewMockLogical creates a new mock instance.
func (*MockLogical) EXPECT ¶ added in v0.1.12
func (m *MockLogical) EXPECT() *MockLogicalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogical) List ¶ added in v0.1.12
func (m *MockLogical) List(arg0 string) (*api.Secret, error)
List mocks base method.
func (*MockLogical) Read ¶ added in v0.1.12
func (m *MockLogical) Read(arg0 string) (*api.Secret, error)
Read mocks base method.
func (*MockLogical) ReadWithData ¶ added in v0.1.12
ReadWithData mocks base method.
type MockLogicalMockRecorder ¶ added in v0.1.12
type MockLogicalMockRecorder struct {
// contains filtered or unexported fields
}
MockLogicalMockRecorder is the mock recorder for MockLogical.
func (*MockLogicalMockRecorder) List ¶ added in v0.1.12
func (mr *MockLogicalMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLogicalMockRecorder) Read ¶ added in v0.1.12
func (mr *MockLogicalMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockLogicalMockRecorder) ReadWithData ¶ added in v0.1.12
func (mr *MockLogicalMockRecorder) ReadWithData(arg0, arg1 interface{}) *gomock.Call
ReadWithData indicates an expected call of ReadWithData.
func (*MockLogicalMockRecorder) Unwrap ¶ added in v0.1.15
func (mr *MockLogicalMockRecorder) Unwrap(arg0 interface{}) *gomock.Call
Unwrap indicates an expected call of Unwrap.
func (*MockLogicalMockRecorder) Write ¶ added in v0.1.12
func (mr *MockLogicalMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Write indicates an expected call of Write.
Click to show internal directories.
Click to hide internal directories.