package
0.13.0-rc.2
Repository: https://github.com/microsoft/hcsshim.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
Format formats an object into a JSON string, without any indendtation or HTML escapes.
FormatIO formats net.Conn and other types that have an `Addr()` or `Name()`.
No description provided by the author
GetEntry returns a `logrus.Entry` stored in the context, if one exists.
IsScrubbingEnabled checks if scrubbing is enabled.
No description provided by the author
ScrubBridgeCreate scrubs requests sent over the bridge of type internal/gcs/protocol.containerCreate wrapping an internal/hcsoci.linuxHostedSystem.
ScrubBridgeExecProcess scrubs requests sent over the bridge of type internal/gcs/protocol.containerExecuteProcess.
ScrubProcessParameters scrubs HCS Create Process requests with config parameters of type internal/hcs/schema2.ScrubProcessParameters (aka hcsshema.ScrubProcessParameters).
SetEntry updates the log entry in the context with the provided fields, and returns both.
SetScrubbing enables scrubbing.
UpdateContext extracts the log entry from the context, and, if the entry's context points to a parent's of the current context, ands the entry to the most recent context.
WithContext returns a context that contains the provided log entry.

# Constants

TimeFormat is [time.RFC3339Nano] with nanoseconds padded using zeros to ensure the formatted time is always the same number of characters.

# Variables

No description provided by the author
G is an alias for GetEntry.
L is the default, blank logging entry.
S is an alias for SetEntry.
U is an alias for UpdateContext.

# Structs

Hook intercepts and formats a [logrus.Entry] before it logged.
No description provided by the author

# Type aliases

DurationFormat formats a [time.Duration] log entry.