bparser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	FileAccessDir = outputDir + "file_access_logs/"
)

Functions

func ParseFileAccesses

func ParseFileAccesses(imageName string) error

Types

type BaseOperation

type BaseOperation struct {
	Level     string    `json:"level"`
	Msg       string    `json:"msg"`
	Operation string    `json:"operation"`
	Path      string    `json:"path"`
	Time      time.Time `json:"time"`
}

type FileAccessPatterns

type FileAccessPatterns struct {
	ImageName           string         `json:"ImageName"`
	ContainerStartTime  time.Time      `json:"containerStartTime"`
	TotalOperationCount map[string]int `json:"TotalOperationCounts"`
	Operations          []Operation    `json:"operations"`
}

type Operation

type Operation struct {
	Operation                 string `json:"operation"`
	Path                      string `json:"path"`
	FirstAccessTimeAfterStart string `json:"firstAccessTimeAfterStart"`
	Count                     int    `json:"count"`
}

type SociLog

type SociLog struct {
	Msg string `json:"msg"`
}

Jump to

Keyboard shortcuts

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