Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
RandomString generates a string with the given length using crypt/rand
Types ¶
type CustomError ¶
type CustomError struct {
Message string
}
func (*CustomError) Error ¶
func (e *CustomError) Error() string
type ListPackage ¶
type ListPackage struct { Name string Source string Version string Upgradeable bool UpgradeableTo string Architecture string PackageManager string }
ListPackage is a single package and the information about it
type OSInfo ¶
type OSInfo struct { OS string Distribution string DistributionLike []string Version string KernelRelease string Architecture string PackageManager string }
OSInfo gives some basic information about the system.
type PackageList ¶
type PackageList struct { HostID uuid.UUID Time *time.Time List []ListPackage }
PackageList holds a list of ListPackages and some additional metadata
Click to show internal directories.
Click to hide internal directories.