Documentation ¶
Index ¶
- type Gitlab
- type Rulesheets
- func (_m *Rulesheets) Count(ctx context.Context, entity interface{}) (int64, error)
- func (_m *Rulesheets) Create(_a0 context.Context, _a1 *dtos.Rulesheet) error
- func (_m *Rulesheets) Delete(ctx context.Context, id string) (bool, error)
- func (_m *Rulesheets) Find(ctx context.Context, filter interface{}, options *services.FindOptions) ([]*dtos.Rulesheet, error)
- func (_m *Rulesheets) Get(ctx context.Context, id string) (*dtos.Rulesheet, error)
- func (_m *Rulesheets) Update(ctx context.Context, entity dtos.Rulesheet) (*dtos.Rulesheet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gitlab ¶
Gitlab is an autogenerated mock type for the Gitlab type
func NewGitlab ¶
func NewGitlab(t mockConstructorTestingTNewGitlab) *Gitlab
NewGitlab creates a new instance of Gitlab. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Rulesheets ¶
Rulesheets is an autogenerated mock type for the Rulesheets type
func NewRulesheets ¶
func NewRulesheets(t mockConstructorTestingTNewRulesheets) *Rulesheets
NewRulesheets creates a new instance of Rulesheets. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Rulesheets) Count ¶ added in v1.3.2
func (_m *Rulesheets) Count(ctx context.Context, entity interface{}) (int64, error)
Count provides a mock function with given fields: ctx, entity
func (*Rulesheets) Find ¶
func (_m *Rulesheets) Find(ctx context.Context, filter interface{}, options *services.FindOptions) ([]*dtos.Rulesheet, error)
Find provides a mock function with given fields: ctx, filter, options
Click to show internal directories.
Click to hide internal directories.