Documentation ¶
Index ¶
- type MockSecretStore
- type MockSecretStore_Expecter
- type MockSecretStore_GetSecret_Call
- func (_c *MockSecretStore_GetSecret_Call) Return(_a0 string, _a1 bool) *MockSecretStore_GetSecret_Call
- func (_c *MockSecretStore_GetSecret_Call) Run(run func(_a0 string)) *MockSecretStore_GetSecret_Call
- func (_c *MockSecretStore_GetSecret_Call) RunAndReturn(run func(string) (string, bool)) *MockSecretStore_GetSecret_Call
- type MockSecretStore_SetSecret_Call
- func (_c *MockSecretStore_SetSecret_Call) Return() *MockSecretStore_SetSecret_Call
- func (_c *MockSecretStore_SetSecret_Call) Run(run func(_a0 string, _a1 string)) *MockSecretStore_SetSecret_Call
- func (_c *MockSecretStore_SetSecret_Call) RunAndReturn(run func(string, string)) *MockSecretStore_SetSecret_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecretStore ¶
MockSecretStore is an autogenerated mock type for the SecretStore type
func NewMockSecretStore ¶
func NewMockSecretStore(t interface { mock.TestingT Cleanup(func()) }) *MockSecretStore
NewMockSecretStore creates a new instance of MockSecretStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockSecretStore) EXPECT ¶
func (_m *MockSecretStore) EXPECT() *MockSecretStore_Expecter
func (*MockSecretStore) GetSecret ¶
func (_m *MockSecretStore) GetSecret(_a0 string) (string, bool)
GetSecret provides a mock function with given fields: _a0
func (*MockSecretStore) SetSecret ¶
func (_m *MockSecretStore) SetSecret(_a0 string, _a1 string)
SetSecret provides a mock function with given fields: _a0, _a1
type MockSecretStore_Expecter ¶
type MockSecretStore_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSecretStore_Expecter) GetSecret ¶
func (_e *MockSecretStore_Expecter) GetSecret(_a0 interface{}) *MockSecretStore_GetSecret_Call
GetSecret is a helper method to define mock.On call
- _a0 string
func (*MockSecretStore_Expecter) SetSecret ¶
func (_e *MockSecretStore_Expecter) SetSecret(_a0 interface{}, _a1 interface{}) *MockSecretStore_SetSecret_Call
SetSecret is a helper method to define mock.On call
- _a0 string
- _a1 string
type MockSecretStore_GetSecret_Call ¶
MockSecretStore_GetSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSecret'
func (*MockSecretStore_GetSecret_Call) Return ¶
func (_c *MockSecretStore_GetSecret_Call) Return(_a0 string, _a1 bool) *MockSecretStore_GetSecret_Call
func (*MockSecretStore_GetSecret_Call) Run ¶
func (_c *MockSecretStore_GetSecret_Call) Run(run func(_a0 string)) *MockSecretStore_GetSecret_Call
func (*MockSecretStore_GetSecret_Call) RunAndReturn ¶
func (_c *MockSecretStore_GetSecret_Call) RunAndReturn(run func(string) (string, bool)) *MockSecretStore_GetSecret_Call
type MockSecretStore_SetSecret_Call ¶
MockSecretStore_SetSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSecret'
func (*MockSecretStore_SetSecret_Call) Return ¶
func (_c *MockSecretStore_SetSecret_Call) Return() *MockSecretStore_SetSecret_Call
func (*MockSecretStore_SetSecret_Call) Run ¶
func (_c *MockSecretStore_SetSecret_Call) Run(run func(_a0 string, _a1 string)) *MockSecretStore_SetSecret_Call
func (*MockSecretStore_SetSecret_Call) RunAndReturn ¶
func (_c *MockSecretStore_SetSecret_Call) RunAndReturn(run func(string, string)) *MockSecretStore_SetSecret_Call