# Functions
AdjustOOMScore sets the OOM score for the process to the parents OOM score +1 to ensure that they parent has a lower* score than the shim.
AnonDialer returns a dialer for an abstract socket.
No description provided by the author
BinaryName returns the shim binary name from the runtime name, empty string returns means runtime name is invalid.
Command returns the shim command with the provided args and configuration.
Connect to the provided address.
No description provided by the author
NewShimClient creates a new shim server client.
NewSocket returns a new socket.
ReadAddress returns the shim's abstract socket address from the path.
Run initializes and runs a shim server.
SetScore sets the oom score for a process.
SocketAddress returns an abstract socket address.
WriteAddress writes a address file atomically.
WritePidFile writes a pid file atomically.
# Variables
ErrNoAddress is returned when the address file has no content.
# Structs
Client for a shim server.
Config of shim binary options provided by shim implementations.
Opts are context options associated with the shim invocation.
OptsKey is the context key for the Opts value.
No description provided by the author
# Type aliases
BinaryOpts allows the configuration of a shims binary setup.
Init func for the creation of a shim server.