commands

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlowCommandLineValues

func FlowCommandLineValues() string

FlowCommandLineValues returns a human readable array of all supported pcr attestation flows

func TPMTypeCommandLineValues

func TPMTypeCommandLineValues() string

TPMTypeCommandLineValues returns a human readable array of all supported tpm devices

Types

type Command

type Command interface {
	// Description explains what this verb commands to do
	Description() string

	// Usage prints the syntax of arguments for this command
	Usage() string

	// SetupFlagSet is called to allow the command implementation
	// to setup which option flags it has.
	SetupFlagSet(flagSet *flag.FlagSet)

	// Execute is the main function here. It is responsible to
	// start the execution of the command.
	//
	// `args` are the arguments left unused by verb itself and options.
	Execute(args []string)
}

Command is an interface of implementations of command verbs (like "diff", "sum" etc of "pcr0tool diff"/"pcr0tool sum")

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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