package
0.0.0-20241014132920-6ca6759f5c73
Repository: https://github.com/content-services/content-sources-backend.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
FilteredConvert Given a list of yum.Package objects, it converts them to model.Rpm packages while filtering out any checksums that are in the excludedChecksums parameter.
FilteredConvertEnvironments, given a list of yum.Environment objects, converts them to model.Environment while filtering out any envs that are in the excludedEnvs parameter.
FilteredConvertPackageGroups Given a list of yum.PackageGroup objects, it converts them to model.PackageGroup while filtering out any groups with hashes in the excludedHashes parameter.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMockAdminTaskDao creates a new instance of MockAdminTaskDao.
NewMockDomainDao creates a new instance of MockDomainDao.
NewMockEnvironmentDao creates a new instance of MockEnvironmentDao.
NewMockMetricsDao creates a new instance of MockMetricsDao.
NewMockPackageGroupDao creates a new instance of MockPackageGroupDao.
NewMockRepositoryConfigDao creates a new instance of MockRepositoryConfigDao.
NewMockRepositoryDao creates a new instance of MockRepositoryDao.
NewMockRpmDao creates a new instance of MockRpmDao.
NewMockSnapshotDao creates a new instance of MockSnapshotDao.
NewMockTaskInfoDao creates a new instance of MockTaskInfoDao.
NewMockTemplateDao creates a new instance of MockTemplateDao.
SetupGormTableOrFail this is necessary to enable soft-delete on the deleted_at column of the template_repository_configurations table.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
MockAdminTaskDao is an autogenerated mock type for the AdminTaskDao type.
No description provided by the author
MockDomainDao is an autogenerated mock type for the DomainDao type.
MockEnvironmentDao is an autogenerated mock type for the EnvironmentDao type.
MockMetricsDao is an autogenerated mock type for the MetricsDao type.
MockPackageGroupDao is an autogenerated mock type for the PackageGroupDao type.
MockRepositoryConfigDao is an autogenerated mock type for the RepositoryConfigDao type.
MockRepositoryDao is an autogenerated mock type for the RepositoryDao type.
MockRpmDao is an autogenerated mock type for the RpmDao type.
MockSnapshotDao is an autogenerated mock type for the SnapshotDao type.
MockTaskInfoDao is an autogenerated mock type for the TaskInfoDao type.
MockTemplateDao is an autogenerated mock type for the TemplateDao type.
Repository internal (non-user facing) representation of a repository.
RepositoryUpdate internal representation of repository, nil field value means do not change.

# Interfaces

go:generate $GO_OUTPUT/mockery --name AdminTaskDao --filename admin_tasks_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name DomainDao --filename domain_dao_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name EnvironmentDao --filename environments_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name MetricsDao --filename metrics_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name PackageGroupDao --filename package_groups_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name RepositoryConfigDao --filename repository_configs_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name RepositoryDao --filename repositories_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name RpmDao --filename rpms_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name SnapshotDao --filename snapshots_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name TaskInfoDao --filename task_info_mock.go --inpackage.
go:generate $GO_OUTPUT/mockery --name TemplateDao --filename templates_mock.go --inpackage.