@cto.ai/ops
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
20 lines (19 loc) • 799 B
TypeScript
import Docker from 'dockerode';
import Command from '../base';
import { OpsFindResponse } from '../types';
import { FeathersClient } from '../services/Feathers';
export declare const getOps: (opName: string, teamId: string, accessToken: string, api: FeathersClient) => Promise<OpsFindResponse>;
export declare const formImageName: (nameOrId: string, teamName: string, registryHost: string) => string;
export declare const removeImage: (docker: any, imageName: string) => Promise<void>;
export declare class Cleanup extends Command {
static description: string;
static flags: {
help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
};
static args: {
name: string;
description: string;
}[];
docker: Docker | undefined;
run(): Promise<void>;
}