//===----------------------------------------------------------------------===// // Copyright © 2025 Apple Inc. and the container project authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. //===----------------------------------------------------------------------===// public enum SandboxRoutes: String { /// Bootstrap the sandbox instance and create the init process. case bootstrap = "com.apple.container.sandbox/bootstrap" /// Create a process in the sandbox. case createProcess = "com.apple.container.sandbox/createProcess" /// Start a process in the sandbox. case start = "com.apple.container.sandbox/start" /// Stop the sandbox. case stop = "com.apple.container.sandbox/stop" /// Return the current state of the sandbox. case state = "com.apple.container.sandbox/state" /// Kill a process in the sandbox. case kill = "com.apple.container.sandbox/kill" /// Resize the pty of a process in the sandbox. case resize = "com.apple.container.sandbox/resize" /// Wait on a process in the sandbox. case wait = "com.apple.container.sandbox/wait" /// Execute a new process in the sandbox. case exec = "com.apple.container.sandbox/exec" /// Dial a vsock port in the sandbox. case dial = "com.apple.container.sandbox/dial" }