package
0.0.0-20240401075343-3de72e395564
Repository: https://github.com/distbuild/reclient.git
Documentation: pkg.go.dev
# Packages
Package event provides constant names for time metrics.
# Functions
AddCompletionStatus adds the correct CommandResultStatus that summarizes the given LogRecord and ExecutionStrategy.
CommandRemoteMetadataFromProto parses a RemoteMetadata proto into an sdk Metadata.
CommandRemoteMetadataToProto converts the sdk Metadata to RemoteMetadata proto.
New instantiates a new Logger.
NewFromFormatFile instantiates a new Logger.
NewLogRecord creates a new LogRecord without logging the start of an action.
ParseFilepath parses the given formatfile path and returns the format and filename of the given log file.
ParseFormat parses a string log file format into the enum.
ParseFromFile reads Records from a log file created by a Logger.
ParseFromFormatFile reads Records from a log file created by a Logger.
ParseFromLogDirs reads Records from log files created by a Logger.
# Constants
BinaryFormat means records marshalled as binary delimited by record size.
JSONFormat means records marshalled as JSON.
ReducedTextFormat means records are marshalled as proto-ASCII without the command inputs and args.
TextFormat means records marshalled as proto-ASCII.
# Type aliases
ExportActionMetricsFunc is the type of "github.com/bazelbuild/reclient/internal/pkg/monitoring".Exporter.ExportActionMetrics.
Format specifies how the Logger serializes its records.