@cto.ai/ops
Version:
💻 CTO.ai - The CLI built for Teams 🚀
18 lines (17 loc) • 759 B
TypeScript
import Docker from '@cto.ai/dockerode';
import Command, { flags } 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: flags.Input<any>;
static args: {
name: string;
description: string;
}[];
docker: Docker | undefined;
run(): Promise<void>;
}