seeder

package
v0.0.0-...-8c21ddd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	// contains filtered or unexported fields
}

Device seeder

func Devices

func Devices() *Device

func (*Device) Create

func (d *Device) Create() *models.Device

func (*Device) WithImageID

func (d *Device) WithImageID(imageID uint) *Device

type Image

type Image struct {
	// contains filtered or unexported fields
}

Image seeder

func Images

func Images() *Image

Seeder options

func (*Image) Create

func (i *Image) Create() (*models.Image, *models.ImageSet)

func (*Image) WithImageSetID

func (i *Image) WithImageSetID(imageSetID uint) *Image

func (*Image) WithInstalledPackages

func (i *Image) WithInstalledPackages(installedPackages []models.InstalledPackage) *Image

func (*Image) WithOstreeCommit

func (i *Image) WithOstreeCommit(ostreeHashCommit string) *Image

func (*Image) WithRepoURL

func (i *Image) WithRepoURL(repoURL string) *Image

func (*Image) WithVersion

func (i *Image) WithVersion(version int) *Image

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL