# Functions
Client returns the global WorkloadRuntime being used.
EnableEventListener watches for docker events.
EndpointCorrelationSleepTime returns the sleep time between correlation attempts.
GetDefaultEPOptsStringWithPrefix returns the defaults options for each runtime with the given prefix.
GetRuntimeDefaultOpt returns the default options for the given container runtime.
GetRuntimeOptions returns a string representation of the container runtimes stored and the list of options for each container runtime.
IgnoreRunningWorkloads checks for already running containers and checks their IP address, then adds the containers to the list of ignored containers and allocates the IPs they are using to prevent future collisions.
Init initializes the workloads package.
IsRunning returns false if the provided endpoint cannot be associated with a running workload.
Owner returns the owner instance of all workloads.
Setup sets up the workload runtime specified in workloadRuntime and configures it with the options provided in opts.
Status returns the status of the workload runtime.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
DatapathModeOpt is the option name for datapath mode.
No description provided by the author
EndpointCorrelationMaxRetries is the number of retries to correlate a workload start event with an existing endpoint before giving up.
EpOpt is the option name for path to endpoint.
EventTypeDelete represents when a workload was deleted.
EventTypeStart represents when a workload was started.
No description provided by the author
# Structs
EventMessage is the structure use for the different workload events.
# Interfaces
WorkloadOwner is the interface that the owner of workloads must implement.
WorkloadRuntime are the individual workload runtime operations that each workload must implement.
# Type aliases
WorkloadRuntimeType is the type of a container runtime.