UNPKG

799 BTypeScriptView Raw
1import Docker from 'dockerode';
2import Command from '../base';
3import { OpsFindResponse } from '../types';
4import { FeathersClient } from '../services/Feathers';
5export declare const getOps: (opName: string, teamId: string, accessToken: string, api: FeathersClient) => Promise<OpsFindResponse>;
6export declare const formImageName: (nameOrId: string, teamName: string, registryHost: string) => string;
7export declare const removeImage: (docker: any, imageName: string) => Promise<void>;
8export declare class Cleanup extends Command {
9 static description: string;
10 static flags: {
11 help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
12 };
13 static args: {
14 name: string;
15 description: string;
16 }[];
17 docker: Docker | undefined;
18 run(): Promise<void>;
19}