attrs

package
v0.106.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogFileName           = "log.file.name"
	LogFilePath           = "log.file.path"
	LogFileNameResolved   = "log.file.name_resolved"
	LogFilePathResolved   = "log.file.path_resolved"
	LogFileOwnerName      = "log.file.owner.name"
	LogFileOwnerGroupName = "log.file.owner.group.name"
	LogFileRecordNumber   = "log.file.record_number"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver struct {
	IncludeFileName           bool `mapstructure:"include_file_name,omitempty"`
	IncludeFilePath           bool `mapstructure:"include_file_path,omitempty"`
	IncludeFileNameResolved   bool `mapstructure:"include_file_name_resolved,omitempty"`
	IncludeFilePathResolved   bool `mapstructure:"include_file_path_resolved,omitempty"`
	IncludeFileOwnerName      bool `mapstructure:"include_file_owner_name,omitempty"`
	IncludeFileOwnerGroupName bool `mapstructure:"include_file_owner_group_name,omitempty"`
}

func (*Resolver) Resolve

func (r *Resolver) Resolve(file *os.File) (attributes map[string]any, err error)

Jump to

Keyboard shortcuts

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