Help us shape the future of Go! Take the 2026 Go Developer Survey

features

package
v2.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FeatureImmutableRootfs       = "immutable-rootfs"
	FeatureElementalRootfs       = "elemental-rootfs"
	FeatureElementalSysroot      = "elemental-sysroot"
	FeatureGrubConfig            = "grub-config"
	FeatureGrubDefaultBootargs   = "grub-default-bootargs"
	FeatureElementalSetup        = "elemental-setup"
	FeatureDracutConfig          = "dracut-config"
	FeatureCloudConfigDefaults   = "cloud-config-defaults"
	FeatureCloudConfigEssentials = "cloud-config-essentials"
	FeatureBootAssessment        = "boot-assessment"
	FeatureAutologin             = "autologin"
	FeatureArmFirmware           = "arm-firmware"
)

Variables

Functions

This section is empty.

Types

type Feature

type Feature struct {
	Name  string
	Units []*systemd.Unit
}

func Get

func Get(names []string) ([]*Feature, error)

func New

func New(name string, units []*systemd.Unit) *Feature

func (*Feature) Install

func (f *Feature) Install(log types.Logger, destFs types.FS, runner types.Runner) error

Jump to

Keyboard shortcuts

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