audit

package
v1.33.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogCommandEnd added in v1.26.0

func LogCommandEnd(id string) error

func LogCommandStart added in v1.26.0

func LogCommandStart() (string, error)

Log details about the executed command.

Types

type RawReport added in v1.18.0

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

RawReport contains the information required to generate formatted reports.

func Report added in v1.18.0

func Report(lastNLines int) (*RawReport, error)

Report is created using the last n lines from the log file.

func (*RawReport) ASCIITable added in v1.18.0

func (rr *RawReport) ASCIITable() string

ASCIITable creates a formatted table using the headers and rows from the report.

Jump to

Keyboard shortcuts

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