chore: refactor password code for StdIO (#139)

This commit is contained in:
Dane Strandboge
2021-06-22 15:34:38 -05:00
committed by GitHub
parent f80b91730d
commit a3408e031a
9 changed files with 52 additions and 45 deletions

View File

@ -75,6 +75,21 @@ func (mr *MockStdIOMockRecorder) GetConfirm(arg0 interface{}) *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetConfirm", reflect.TypeOf((*MockStdIO)(nil).GetConfirm), arg0)
}
// GetPassword mocks base method.
func (m *MockStdIO) GetPassword(arg0 string) (string, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "GetPassword", arg0)
ret0, _ := ret[0].(string)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// GetPassword indicates an expected call of GetPassword.
func (mr *MockStdIOMockRecorder) GetPassword(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPassword", reflect.TypeOf((*MockStdIO)(nil).GetPassword), arg0)
}
// GetSecret mocks base method.
func (m *MockStdIO) GetSecret(arg0 string, arg1 int) (string, error) {
m.ctrl.T.Helper()