config

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package config manages configuratino settings for secure launch.

Index

Constants

This section is empty.

Variables

View Source
var Conf = New()

Conf holds the global configuration settings. It is initialized with the default settings but can be overridden by explicitly setting some options in the policy file or by leaving sections of the policy file out.

Functions

This section is empty.

Types

type Config

type Config struct {
	Collectors     bool `json:"collectors"`
	EventLog       bool `json:"eventlog"`
	Measurements   bool `json:"measurements"`
	MeasurementPCR int  `json:"measurement pcr"`
}

Config contains the configuration for secure launch u-root.

func New

func New() Config

New returns a new default config.

Jump to

Keyboard shortcuts

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