package
1.0.0-percom23
Repository: https://github.com/grussorusso/serverledge.git
Documentation: pkg.go.dev

# Functions

AcquireResources reserves the specified amount of cpu and memory if possible.
AcquireWarmContainer acquires a warm container for a given function (if any).
DeleteExpiredContainer is called by the container cleaner Deletes expired warm container.
GetJanitorInstance : singleton implementation to retrieve THE container janitor.
NewContainer creates and starts a new container for the given function.The container can be directly used to schedule a request, as it is alreadyin the busy pool.
NewContainerWithAcquiredResources spawns a new container for the given function, assuming that the required CPU and memory resources have been already been acquired.
ReleaseContainer puts a container in the ready pool for a function.
ShutdownAllContainers destroys all container (usually on termination).
ShutdownWarmContainersFor destroys warm containers of a given function Actual termination happens asynchronously.
No description provided by the author
WarmStatus foreach function returns the corresponding number of warm container available.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author