UNPKG

@adpt/cloud

Version:
25 lines 967 B
import execa from "execa"; import { EnvSimple } from "../env"; import { Manifest } from "../k8s/manifest_support"; export interface GCloudGlobalOpts { configuration?: string; } export interface Config { name: string; env: EnvSimple; args: string[]; image: string; region: string; port: number; trafficPct: number; cpu: string | number; memory: string | number; allowUnauthenticated: boolean; globalOpts: GCloudGlobalOpts; } export declare function cloudRunDescribe(config: Config): Promise<Manifest | undefined>; export declare function cloudRunDeploy(config: Config): Promise<void>; export declare function cloudRunUpdateTraffic(config: Config): Promise<void>; export declare function cloudRunDelete(config: Config): Promise<void>; export declare function execGCloud(args: string[], globalOpts: GCloudGlobalOpts, options?: execa.Options): Promise<execa.ExecaReturnValue<string>>; //# sourceMappingURL=commands.d.ts.map