logline

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogProcessingResult

type LogProcessingResult struct {
	Findings  []scanner.Finding
	BytesRead int
	Error     error
}

func ProcessLogs

func ProcessLogs(logs []byte, opts ProcessOptions) (*LogProcessingResult, error)

func ProcessLogsFromZip

func ProcessLogsFromZip(zipBytes []byte, opts ProcessOptions) (*LogProcessingResult, error)

type ProcessOptions

type ProcessOptions struct {
	MaxGoRoutines     int
	VerifyCredentials bool
	BuildURL          string
	JobName           string
	HitTimeout        time.Duration
}

type ZipLogResult

type ZipLogResult struct {
	TotalBytes    int
	FileCount     int
	ExtractedLogs []byte
	Errors        []error
}

func ExtractLogsFromZip

func ExtractLogsFromZip(zipBytes []byte) (*ZipLogResult, error)

Jump to

Keyboard shortcuts

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