profile

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultProfileName is the default hardware profile to use when
	// no other profile matches.
	DefaultProfileName string = "unknown"

	// EmptyProfileName is the hardware profile without configuration.
	EmptyProfileName string = "empty"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	// Name holds the profile name
	Name string

	// RootDeviceHints holds the suggestions for placing the storage
	// for the root filesystem.
	RootDeviceHints metal3api.RootDeviceHints
}

Profile holds the settings for a class of hardware.

func GetProfile

func GetProfile(name string) (Profile, error)

GetProfile returns the named profile.

Jump to

Keyboard shortcuts

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