UNPKG

@adpt/cloud

Version:
34 lines 1.04 kB
import Adapt, { SFCDeclProps } from "@adpt/core"; declare const testMongoDefaultProps: { image: string; imagePullPolicy: string; port: number; }; /** * Props for {@link mongodb.TestMongoDB} * * @public */ export interface TestMongoDBProps { /** Image used for TestMongoDB container, defaults to mongo:latest */ image: string; /** Specifies when to pull image, defaults to `"Always"` */ imagePullPolicy: "Always" | "IfNotPresent" | "Never" | undefined; /** Port on which the Mongo DB service is exposed */ port: number; } /** * Test {@link https://www.mongodb.com | MongoDB} Service * * @remarks * * Uses an abstract {@link Service}, {@link NetworkService}, and {@link Container} * component that must be substituted in a style sheet. * * See {@link mongodb.TestMongoDBProps}. * * @public */ export declare function TestMongoDB(props: SFCDeclProps<TestMongoDBProps, typeof testMongoDefaultProps>): Adapt.AdaptElement<Adapt.AnyProps>; export {}; //# sourceMappingURL=TestMongoDB.d.ts.map