Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockSecrets
- func (m *MockSecrets) Decrypt(arg0, arg1 string, arg2 map[string]string) (string, error)
- func (m *MockSecrets) DeleteSecret(arg0 string, arg1 map[string]string) error
- func (m *MockSecrets) EXPECT() *MockSecretsMockRecorder
- func (m *MockSecrets) Encrypt(arg0, arg1 string, arg2 map[string]string) (string, error)
- func (m *MockSecrets) GetSecret(arg0 string, arg1 map[string]string) (map[string]interface{}, secrets.Version, error)
- func (m *MockSecrets) ListSecrets() ([]string, error)
- func (m *MockSecrets) PutSecret(arg0 string, arg1 map[string]interface{}, arg2 map[string]string) (secrets.Version, error)
- func (m *MockSecrets) Rencrypt(arg0, arg1 string, arg2, arg3 map[string]string, arg4 string) (string, error)
- func (m *MockSecrets) String() string
- type MockSecretsMockRecorder
- func (mr *MockSecretsMockRecorder) Decrypt(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSecretsMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretsMockRecorder) Encrypt(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSecretsMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecretsMockRecorder) ListSecrets() *gomock.Call
- func (mr *MockSecretsMockRecorder) PutSecret(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockSecretsMockRecorder) Rencrypt(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockSecretsMockRecorder) String() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSecrets ¶
type MockSecrets struct {
// contains filtered or unexported fields
}
MockSecrets is a mock of Secrets interface.
func NewMockSecrets ¶
func NewMockSecrets(ctrl *gomock.Controller) *MockSecrets
NewMockSecrets creates a new mock instance.
func (*MockSecrets) DeleteSecret ¶
func (m *MockSecrets) DeleteSecret(arg0 string, arg1 map[string]string) error
DeleteSecret mocks base method.
func (*MockSecrets) EXPECT ¶
func (m *MockSecrets) EXPECT() *MockSecretsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSecrets) GetSecret ¶
func (m *MockSecrets) GetSecret(arg0 string, arg1 map[string]string) (map[string]interface{}, secrets.Version, error)
GetSecret mocks base method.
func (*MockSecrets) ListSecrets ¶
func (m *MockSecrets) ListSecrets() ([]string, error)
ListSecrets mocks base method.
func (*MockSecrets) PutSecret ¶
func (m *MockSecrets) PutSecret(arg0 string, arg1 map[string]interface{}, arg2 map[string]string) (secrets.Version, error)
PutSecret mocks base method.
type MockSecretsMockRecorder ¶
type MockSecretsMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretsMockRecorder is the mock recorder for MockSecrets.
func (*MockSecretsMockRecorder) Decrypt ¶
func (mr *MockSecretsMockRecorder) Decrypt(arg0, arg1, arg2 interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
func (*MockSecretsMockRecorder) DeleteSecret ¶
func (mr *MockSecretsMockRecorder) DeleteSecret(arg0, arg1 interface{}) *gomock.Call
DeleteSecret indicates an expected call of DeleteSecret.
func (*MockSecretsMockRecorder) Encrypt ¶
func (mr *MockSecretsMockRecorder) Encrypt(arg0, arg1, arg2 interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
func (*MockSecretsMockRecorder) GetSecret ¶
func (mr *MockSecretsMockRecorder) GetSecret(arg0, arg1 interface{}) *gomock.Call
GetSecret indicates an expected call of GetSecret.
func (*MockSecretsMockRecorder) ListSecrets ¶
func (mr *MockSecretsMockRecorder) ListSecrets() *gomock.Call
ListSecrets indicates an expected call of ListSecrets.
func (*MockSecretsMockRecorder) PutSecret ¶
func (mr *MockSecretsMockRecorder) PutSecret(arg0, arg1, arg2 interface{}) *gomock.Call
PutSecret indicates an expected call of PutSecret.
func (*MockSecretsMockRecorder) Rencrypt ¶
func (mr *MockSecretsMockRecorder) Rencrypt(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Rencrypt indicates an expected call of Rencrypt.
func (*MockSecretsMockRecorder) String ¶
func (mr *MockSecretsMockRecorder) String() *gomock.Call
String indicates an expected call of String.