/** * What `nylorun local sandbox enable` installs into a cluster. The agent-sandbox controller is * pinned (D32, Experiment 2): v1.0.10, API agents.x-k8s.io/v1beta1, its release manifest * verified by sha256 before it is applied. It is never upgraded or uninstalled here. */ export declare const CONTROLLER_VERSION = "v1.0.10"; export declare const CONTROLLER_URL = "https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v1.0.10/sandbox.yaml"; export declare const CONTROLLER_SHA256 = "ea8de87e7d71cf3df40bb71a71f3c4d095e7ae88dc43fe5f4050a717abd46066"; export declare const CONTROLLER_NAMESPACE = "agent-sandbox-system"; export declare const CONTROLLER_DEPLOYMENT = "agent-sandbox-controller"; export declare const SANDBOX_CRD = "sandboxes.agents.x-k8s.io"; export declare const SANDBOX_API_VERSION = "v1beta1"; export declare const SERVICE_ACCOUNT = "nylorun-sandboxes"; export declare const TOKEN_SECRET = "nylorun-sandboxes-token"; export declare const NETWORK_POLICY = "nylorun-sandboxes"; /** * The Tenant's namespace, `nylorun-sbx-`: a DNS label, so `_` becomes `-`; a name * that had to change (or is too long) gets a short hash so two Tenants never share one. */ export declare function tenantNamespace(tenant: string): string; /** The `dev.nylorun.tenant` label value: a Tenant name, cut to a label's 63 characters. */ export declare function tenantLabel(tenant: string): string; /** Namespace, ServiceAccount, Role, RoleBinding and the ServiceAccount's token Secret. */ export declare function tenantManifests(namespace: string, tenant: string): object[]; /** * Every pod in the namespace: no ingress, and egress only to the Docker host on the * Harness API, gates and egress ports. No DNS: pods address the host by IP (D42). */ export declare function networkPolicy(namespace: string, hostAddress: string, ports: readonly number[], options?: { name?: string; podSelector?: Record; }): object; export declare const PROBE_IMAGE = "busybox:1.37.0"; /** A small busybox pod; `nodeName` pins it (pre-pull), `serve` runs httpd on 8080. */ export declare function probePod(namespace: string, name: string, options: { role: string; serve?: boolean; image?: string; nodeName?: string; command?: string[]; }): object;