Documentation ¶
Overview ¶
Package vault is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Address() string
- func (m *MockClient) Delete(path string) (*api.Secret, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Read(path string) (*api.Secret, error)
- func (m *MockClient) Write(path string, data map[string]interface{}) (*api.Secret, error)
- type MockClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Delete ¶
func (m *MockClient) Delete(path string) (*api.Secret, error)
Delete 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) Address ¶
func (mr *MockClientMockRecorder) Address() *gomock.Call
Address indicates an expected call of Address.
func (*MockClientMockRecorder) Delete ¶
func (mr *MockClientMockRecorder) Delete(path interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClientMockRecorder) Read ¶
func (mr *MockClientMockRecorder) Read(path interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*MockClientMockRecorder) Write ¶
func (mr *MockClientMockRecorder) Write(path, data interface{}) *gomock.Call
Write indicates an expected call of Write.
Click to show internal directories.
Click to hide internal directories.