Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QualifierMappingService

type QualifierMappingService struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

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