@enspirit/emb
Version:
A replacement for our Makefile-for-monorepos
17 lines (16 loc) • 649 B
TypeScript
import { PruneContainersInfo } from 'dockerode';
import * as z from 'zod';
import { AbstractOperation } from '../../../operations/index.js';
/**
* https://docs.docker.com/reference/api/engine/version/v1.37/#tag/Container/operation/ContainerPrune
*/
declare const schema: z.ZodOptional<z.ZodObject<{
filters: z.ZodOptional<z.ZodObject<{
label: z.ZodArray<z.ZodString>;
}, z.core.$strip>>;
}, z.core.$strip>>;
export declare class PruneContainersOperation extends AbstractOperation<typeof schema, PruneContainersInfo> {
constructor();
protected _run(input: z.input<typeof schema>): Promise<PruneContainersInfo>;
}
export {};