profile

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	Id               uuid.UUID
	Name             string
	Description      string
	Kernel           string
	Initrd           string
	KernelParameters kernelparameters.KernelParameters
}

func New

func New(id uuid.UUID, name string, description string, kernel string, initrd string, kernelParameters kernelparameters.KernelParameters) (Profile, error)

type Repository

type Repository interface {
	GetProfiles() ([]Profile, error)
	GetProfileById(id uuid.UUID) (Profile, error)
	SetProfile(p Profile) error
	DeleteProfileById(id uuid.UUID) error
}

Jump to

Keyboard shortcuts

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