feat: invokable scripts (#387)
* basic list, create, and invoke working * all commands working * added support for create script body from file and invoke params from file * linter cleanup * update defaults to existing parameters if not provided * updated generated mock files, added mock files for scripts, added basic script create test * added mock script list * cleanup pass, fixed not using params in list call * added update mock test * fixed mock tests requiring go 1.18 * updated openapi, integrated overrides upstream, added new override to fix codegen bug * added nil check * fixed routes
This commit is contained in:
@ -80,31 +80,3 @@ func (mr *MockHealthApiMockRecorder) GetHealthExecuteWithHttpInfo(arg0 interface
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHealthExecuteWithHttpInfo", reflect.TypeOf((*MockHealthApi)(nil).GetHealthExecuteWithHttpInfo), arg0)
|
||||
}
|
||||
|
||||
// OnlyCloud mocks base method.
|
||||
func (m *MockHealthApi) OnlyCloud() api.HealthApi {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "OnlyCloud")
|
||||
ret0, _ := ret[0].(api.HealthApi)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// OnlyCloud indicates an expected call of OnlyCloud.
|
||||
func (mr *MockHealthApiMockRecorder) OnlyCloud() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnlyCloud", reflect.TypeOf((*MockHealthApi)(nil).OnlyCloud))
|
||||
}
|
||||
|
||||
// OnlyOSS mocks base method.
|
||||
func (m *MockHealthApi) OnlyOSS() api.HealthApi {
|
||||
m.ctrl.T.Helper()
|
||||
ret := m.ctrl.Call(m, "OnlyOSS")
|
||||
ret0, _ := ret[0].(api.HealthApi)
|
||||
return ret0
|
||||
}
|
||||
|
||||
// OnlyOSS indicates an expected call of OnlyOSS.
|
||||
func (mr *MockHealthApiMockRecorder) OnlyOSS() *gomock.Call {
|
||||
mr.mock.ctrl.T.Helper()
|
||||
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OnlyOSS", reflect.TypeOf((*MockHealthApi)(nil).OnlyOSS))
|
||||
}
|
||||
|
Reference in New Issue
Block a user