feat: add JD01 YAML-first deployment support
This commit is contained in:
@@ -34,6 +34,10 @@ interface TrafficOptions {
|
||||
type EgressProxyOptions = BenchmarkOptions | TrafficOptions;
|
||||
|
||||
export async function runPlatformInfraEgressProxyCommand(_config: UniDeskConfig, args: string[]): Promise<Record<string, unknown> | RenderedCliResult> {
|
||||
if (args[0] === "host") {
|
||||
const { runPlatformInfraHostProxyCommand } = await import("./platform-infra-host-proxy");
|
||||
return await runPlatformInfraHostProxyCommand(_config, args.slice(1));
|
||||
}
|
||||
if (args[0] === "k3s-build-benchmark") return runK3sBuildBenchmarkCommand(args.slice(1));
|
||||
const options = parseEgressProxyOptions(args);
|
||||
if (options.action === "traffic") {
|
||||
|
||||
Reference in New Issue
Block a user