display_eventlog

package
v0.0.0-...-f44e450 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultEventlogLocation = "/sys/kernel/security/tpm0/binary_bios_measurements"

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	// contains filtered or unexported fields
}

Command is the implementation of `commands.Command`.

func (Command) Description

func (cmd Command) Description() string

Description explains what this verb commands to do

func (Command) Execute

func (cmd Command) Execute(ctx context.Context, cfg commands.Config, args []string) error

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.

func (*Command) SetupFlagSet

func (cmd *Command) SetupFlagSet(flag *flag.FlagSet)

SetupFlagSet is called to allow the command implementation to setup which option flags it has.

func (Command) Usage

func (cmd Command) Usage() string

Usage prints the syntax of arguments for this command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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