Uses of Class
com.google.adk.codeexecutors.ContainerCodeExecutor
Packages that use ContainerCodeExecutor
-
Uses of ContainerCodeExecutor in com.google.adk.codeexecutors
Methods in com.google.adk.codeexecutors that return ContainerCodeExecutorModifier and TypeMethodDescriptionstatic ContainerCodeExecutorContainerCodeExecutor.fromDockerPath(String dockerPath) Creates a ContainerCodeExecutor from a Dockerfile path.static ContainerCodeExecutorContainerCodeExecutor.fromDockerPath(String baseUrl, String dockerPath) Creates a ContainerCodeExecutor from a Dockerfile path.static ContainerCodeExecutorCreates a ContainerCodeExecutor from an image.static ContainerCodeExecutorCreates a ContainerCodeExecutor from an image.ContainerCodeExecutor.setExecutionTimeoutSeconds(long executionTimeoutSeconds) Sets the maximum wall-clock time (in seconds) a single execution may run, in the strict sandbox, before its container is force-removed (killed).ContainerCodeExecutor.setMemoryLimitBytes(long memoryLimitBytes) Sets the per-execution container memory limit, in bytes, used by the strict sandbox.ContainerCodeExecutor.setNetworkEnabled(boolean networkEnabled) Enables or disables container networking when the strict sandbox is on.ContainerCodeExecutor.setStrictSandbox(boolean strictSandbox) Enables the strict sandbox.