# Functions
CheckedRetryingCommand launches a command, restarting it repeatedly if it quits, and killing and restarting it if it fails the given check.
GetFreePort asks the kernel for a free open port that is ready to use.
GetRunAsInfo returns an RAI for the current user context.
GuessRunAsInfo attempts to construct a RunAsInfo for the user logged in at the primary display.
MakeIntercept acquires an intercept and returns a Resource handle for it.
MaybeNotify displays a notification only if a value changes.
NewEmitter returns a new Emitter to write to conn.
NewTrafficManager returns a TrafficManager resource for the given cluster if it has a Traffic Manager service.
Notify displays a desktop banner notification to the user.
RunAsDaemon is the main function when executing as the daemon.
RunAsTeleproxyBridge is the main function when executing as teleproxy bridge.
RunAsTeleproxyIntercept is the main function when executing as teleproxy intercept.
SetUpLogging sets up standard Edge Control Daemon logging.
TrackKCluster tracks connectivity to a cluster.
WaitForSignal is a Worker that calls Shutdown if SIGINT or SIGTERM is received.
WordWrap returns a slice of strings with the original content wrapped at the terminal width or at 80 characters if no terminal is present.
WordWrapString returns a string with the original content wrapped at the terminal width or at 80 characters if no terminal is present.
# Constants
ExitPrefix is the token used by the daemon ot tell the client to exit with the specified status.
# Variables
Version is inserted at build using --ldflags -X.
# Structs
ClientMessage contains everything the daemon needs to process a user's command.
Daemon represents the state of the Edge Control Daemon.
DaemonFormatter formats log messages for the Edge Control Daemon.
Emitter provides a convenient way to send data to the client and handle errors in one spot.
Intercept is a Resource handle that represents a live intercept.
InterceptInfo tracks one intercept operation.
KCluster is a Kubernetes cluster reference.
ResourceBase has helpers to create a monitored resource.
RunAsInfo contains the information required to launch a subprocess as the user such that it is likely to function as if the user launched it themselves.
TrafficManager is a handle to access the Traffic Manager in a cluster.
# Interfaces
Resource represents one thing managed by edgectl daemon.