mocks

package
v0.6.18-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CiBuildConfigService

type CiBuildConfigService struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL