Documentation ¶
Index ¶
- type QualifierMappingService
- func (_m *QualifierMappingService) CreateQualifierMappings(qualifierMappings []*resourceQualifiers.QualifierMapping, tx *pg.Tx) ([]*resourceQualifiers.QualifierMapping, error)
- func (_m *QualifierMappingService) DeleteAllQualifierMappings(resourceType resourceQualifiers.ResourceType, auditLog sql.AuditLog, tx *pg.Tx) error
- func (_m *QualifierMappingService) GetQualifierMappings(resourceType resourceQualifiers.ResourceType, scope resourceQualifiers.Scope, ...) ([]*resourceQualifiers.QualifierMapping, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QualifierMappingService ¶
QualifierMappingService is an autogenerated mock type for the QualifierMappingService type
func NewQualifierMappingService ¶
func NewQualifierMappingService(t interface { mock.TestingT Cleanup(func()) }) *QualifierMappingService
NewQualifierMappingService creates a new instance of QualifierMappingService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*QualifierMappingService) CreateQualifierMappings ¶
func (_m *QualifierMappingService) CreateQualifierMappings(qualifierMappings []*resourceQualifiers.QualifierMapping, tx *pg.Tx) ([]*resourceQualifiers.QualifierMapping, error)
CreateQualifierMappings provides a mock function with given fields: qualifierMappings, tx
func (*QualifierMappingService) DeleteAllQualifierMappings ¶
func (_m *QualifierMappingService) DeleteAllQualifierMappings(resourceType resourceQualifiers.ResourceType, auditLog sql.AuditLog, tx *pg.Tx) error
DeleteAllQualifierMappings provides a mock function with given fields: resourceType, auditLog, tx
func (*QualifierMappingService) GetQualifierMappings ¶
func (_m *QualifierMappingService) GetQualifierMappings(resourceType resourceQualifiers.ResourceType, scope resourceQualifiers.Scope, searchableIdMap map[bean.DevtronResourceSearchableKeyName]int, resourceIds []int) ([]*resourceQualifiers.QualifierMapping, error)
GetQualifierMappings provides a mock function with given fields: resourceType, scope, searchableIdMap, resourceIds