Documentation ¶
Index ¶
- type MockDAO
- func (_m *MockDAO) EXPECT() *_MockDAORecorder
- func (_m *MockDAO) GetLatestVersion(_param0 string) (*dao.SecretRecord, error)
- func (_m *MockDAO) GetSecretRecord(_param0 string, _param1 int64) (*dao.SecretRecord, error)
- func (_m *MockDAO) PutSecretRecord(_param0 *dao.SecretRecord) error
- func (_m *MockDAO) RevokeSecretRecord(_param0 string, _param1 int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDAO ¶
type MockDAO struct {
// contains filtered or unexported fields
}
Mock of DAO interface
func NewMockDAO ¶
func NewMockDAO(ctrl *gomock.Controller) *MockDAO
func (*MockDAO) GetLatestVersion ¶
func (_m *MockDAO) GetLatestVersion(_param0 string) (*dao.SecretRecord, error)
func (*MockDAO) GetSecretRecord ¶
func (*MockDAO) PutSecretRecord ¶
func (_m *MockDAO) PutSecretRecord(_param0 *dao.SecretRecord) error
Click to show internal directories.
Click to hide internal directories.