@enspirit/emb
Version:
A replacement for our Makefile-for-monorepos
19 lines (18 loc) • 717 B
TypeScript
import { ContainerInfo } 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/ContainerList
*/
declare const schema: z.ZodOptional<z.ZodObject<{
all: z.ZodOptional<z.ZodBoolean>;
filters: z.ZodOptional<z.ZodObject<{
label: z.ZodArray<z.ZodString>;
}, z.core.$strip>>;
limit: z.ZodOptional<z.ZodInt>;
}, z.core.$strip>>;
export declare class ListContainersOperation extends AbstractOperation<typeof schema, Array<ContainerInfo>> {
constructor();
protected _run(input: z.input<typeof schema>): Promise<Array<ContainerInfo>>;
}
export {};