Documentation ¶
Index ¶
- type PackageRepo
- func (pr PackageRepo) AddAurPackage(model aur.Package) error
- func (pr PackageRepo) DeleteAurPackage(model aur.Package) error
- func (pr PackageRepo) GetAlreadyBuildPackageByAurIdAndVersion(id int64, version string) (*aur.Package, error)
- func (pr PackageRepo) GetAlreadyBuildPackages() (*[]aur.Package, error)
- func (pr PackageRepo) GetAurPackageInfoByName(name string) (*aur.Package, error)
- func (pr PackageRepo) GetPackageFromAur(name string) ([]aur.Package, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageRepo ¶
type PackageRepo struct {
// contains filtered or unexported fields
}
func NewPackageRepo ¶
func NewPackageRepo(config customMongo.MongoDbConfig) (*PackageRepo, error)
func (PackageRepo) AddAurPackage ¶
func (pr PackageRepo) AddAurPackage(model aur.Package) error
func (PackageRepo) DeleteAurPackage ¶
func (pr PackageRepo) DeleteAurPackage(model aur.Package) error
func (PackageRepo) GetAlreadyBuildPackageByAurIdAndVersion ¶
func (PackageRepo) GetAlreadyBuildPackages ¶
func (pr PackageRepo) GetAlreadyBuildPackages() (*[]aur.Package, error)
func (PackageRepo) GetAurPackageInfoByName ¶
func (pr PackageRepo) GetAurPackageInfoByName(name string) (*aur.Package, error)
func (PackageRepo) GetPackageFromAur ¶
func (pr PackageRepo) GetPackageFromAur(name string) ([]aur.Package, error)
Click to show internal directories.
Click to hide internal directories.