audit

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(startTime time.Time)

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