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
IBUrlsFromDir Import Repo Urls from image builder's git repo The dirPath should point to GITDIR/distributions/ which contains the repo directories.
Introspect introspects a dao.Repository with the given Rpm inserting any needed RPMs and adding and removing associations to the repository Returns the number of new RPMs inserted system-wide and any error encountered.
IntrospectUrl Fetch the metadata of a url and insert RPM data Returns the number of new RPMs inserted system-wide, any introspection errors, and any fatal errors.
IsRedHat returns if the url is a 'cdn.redhat.com' url.
LoadCA Load the CA certificate from the embedded file at 'test_files/ca.pem' Return []byte with the content of the file and nil for error if the process finish with success, else it returns nil and the error is filled.
LoadFromFile Loads repo urls from the external file.
No description provided by the author
No description provided by the author
SaveToFile Saves a list of repo urls to the external file.
UpdateIntrospectionStatusMetadata updates introspection timestamps, error, and status on repo.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
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
No description provided by the author
No description provided by the author
No description provided by the author