Documentation ¶
Index ¶
- func RandStringBytes(n int) string
- func RandStringWithChars(n int, lookup string) string
- func RandomAccountId() string
- func RandomOrgId() string
- func SeedRepository(db *gorm.DB, size int, options SeedOptions) error
- func SeedRepositoryConfigurations(db *gorm.DB, size int, options SeedOptions) ([]models.RepositoryConfiguration, error)
- func SeedRpms(db *gorm.DB, repo *models.Repository, size int) error
- func SeedSnapshots(db *gorm.DB, repoConfigUuid string, size int) ([]models.Snapshot, error)
- func SeedTasks(db *gorm.DB, size int, options TaskSeedOptions) ([]models.TaskInfo, error)
- func SeedTemplates(db *gorm.DB, size int, options TemplateSeedOptions) ([]models.Template, error)
- type IntrospectionStatusMetadata
- type SeedOptions
- type TaskSeedOptions
- type TemplateSeedOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandStringBytes ¶
func RandStringWithChars ¶
RandStringWithChars Return a random string of size n using the lookup table. n size of the string to be returned lookup A string representing the lookup table. Return the random string.
func RandomAccountId ¶
func RandomAccountId() string
func RandomOrgId ¶
func RandomOrgId() string
func SeedRepository ¶
func SeedRepository(db *gorm.DB, size int, options SeedOptions) error
func SeedRepositoryConfigurations ¶
func SeedRepositoryConfigurations(db *gorm.DB, size int, options SeedOptions) ([]models.RepositoryConfiguration, error)
func SeedRpms ¶
SeedRpms Populate database with random package information db The database descriptor. size The number of rpm packages per repository to be generated.
func SeedSnapshots ¶
func SeedTemplates ¶
Types ¶
type IntrospectionStatusMetadata ¶
type IntrospectionStatusMetadata struct { LastIntrospectionStatus *string // contains filtered or unexported fields }
type SeedOptions ¶
type TaskSeedOptions ¶
Click to show internal directories.
Click to hide internal directories.