Documentation ¶
Overview ¶
Package logical is a generated GoMock package.
Index ¶
- type Logical
- type MockLogical
- func (m *MockLogical) Delete(arg0 string) (*api.Secret, error)
- func (m *MockLogical) DeleteWithData(arg0 string, arg1 map[string][]string) (*api.Secret, error)
- 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)
- func (m *MockLogical) WriteBytes(arg0 string, arg1 []byte) (*api.Secret, error)
- type MockLogicalMockRecorder
- func (mr *MockLogicalMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockLogicalMockRecorder) DeleteWithData(arg0, arg1 interface{}) *gomock.Call
- 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
- func (mr *MockLogicalMockRecorder) WriteBytes(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) WriteBytes(path string, data []byte) (*api.Secret, error) List(path string) (*api.Secret, error) Unwrap(token string) (*api.Secret, error) Delete(path string) (*api.Secret, error) DeleteWithData(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) Delete ¶
func (m *MockLogical) Delete(arg0 string) (*api.Secret, error)
Delete mocks base method.
func (*MockLogical) DeleteWithData ¶
DeleteWithData 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) List ¶
func (m *MockLogical) List(arg0 string) (*api.Secret, error)
List mocks base method.
func (*MockLogical) Read ¶
func (m *MockLogical) Read(arg0 string) (*api.Secret, error)
Read mocks base method.
func (*MockLogical) ReadWithData ¶
ReadWithData mocks base method.
func (*MockLogical) Unwrap ¶
func (m *MockLogical) Unwrap(arg0 string) (*api.Secret, error)
Unwrap mocks base method.
func (*MockLogical) WriteBytes ¶
WriteBytes mocks base method.
type MockLogicalMockRecorder ¶
type MockLogicalMockRecorder struct {
// contains filtered or unexported fields
}
MockLogicalMockRecorder is the mock recorder for MockLogical.
func (*MockLogicalMockRecorder) Delete ¶
func (mr *MockLogicalMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLogicalMockRecorder) DeleteWithData ¶
func (mr *MockLogicalMockRecorder) DeleteWithData(arg0, arg1 interface{}) *gomock.Call
DeleteWithData indicates an expected call of DeleteWithData.
func (*MockLogicalMockRecorder) List ¶
func (mr *MockLogicalMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockLogicalMockRecorder) Read ¶
func (mr *MockLogicalMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockLogicalMockRecorder) ReadWithData ¶
func (mr *MockLogicalMockRecorder) ReadWithData(arg0, arg1 interface{}) *gomock.Call
ReadWithData indicates an expected call of ReadWithData.
func (*MockLogicalMockRecorder) Unwrap ¶
func (mr *MockLogicalMockRecorder) Unwrap(arg0 interface{}) *gomock.Call
Unwrap indicates an expected call of Unwrap.
func (*MockLogicalMockRecorder) Write ¶
func (mr *MockLogicalMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Write indicates an expected call of Write.
func (*MockLogicalMockRecorder) WriteBytes ¶
func (mr *MockLogicalMockRecorder) WriteBytes(arg0, arg1 interface{}) *gomock.Call
WriteBytes indicates an expected call of WriteBytes.