Documentation ¶
Index ¶
- type CiBuildConfigService
- func (_m *CiBuildConfigService) Delete(ciBuildConfigId int) error
- func (_m *CiBuildConfigService) GetCountByBuildType() map[bean.CiBuildType]int
- func (_m *CiBuildConfigService) Save(templateId int, overrideTemplateId int, ...) error
- func (_m *CiBuildConfigService) UpdateOrSave(templateId int, overrideTemplateId int, ciBuildConfig *bean.CiBuildConfigBean, ...) (*bean.CiBuildConfigBean, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CiBuildConfigService ¶
CiBuildConfigService is an autogenerated mock type for the CiBuildConfigService type
func NewCiBuildConfigService ¶
func NewCiBuildConfigService(t mockConstructorTestingTNewCiBuildConfigService) *CiBuildConfigService
NewCiBuildConfigService creates a new instance of CiBuildConfigService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CiBuildConfigService) Delete ¶
func (_m *CiBuildConfigService) Delete(ciBuildConfigId int) error
Delete provides a mock function with given fields: ciBuildConfigId
func (*CiBuildConfigService) GetCountByBuildType ¶
func (_m *CiBuildConfigService) GetCountByBuildType() map[bean.CiBuildType]int
GetCountByBuildType provides a mock function with given fields:
func (*CiBuildConfigService) Save ¶
func (_m *CiBuildConfigService) Save(templateId int, overrideTemplateId int, ciBuildConfigBean *bean.CiBuildConfigBean, userId int32) error
Save provides a mock function with given fields: templateId, overrideTemplateId, ciBuildConfigBean, userId
func (*CiBuildConfigService) UpdateOrSave ¶
func (_m *CiBuildConfigService) UpdateOrSave(templateId int, overrideTemplateId int, ciBuildConfig *bean.CiBuildConfigBean, userId int32) (*bean.CiBuildConfigBean, error)
UpdateOrSave provides a mock function with given fields: templateId, overrideTemplateId, ciBuildConfig, userId
Click to show internal directories.
Click to hide internal directories.