UNPKG

@testcontainers/redpanda

Version:
17 lines (16 loc) 781 B
import { AbstractStartedContainer, GenericContainer, InspectResult, StartedTestContainer } from "testcontainers"; export declare class RedpandaContainer extends GenericContainer { private originalWaitinStrategy; constructor(image?: string); start(): Promise<StartedRedpandaContainer>; protected beforeContainerCreated(): Promise<void>; protected containerStarted(container: StartedTestContainer, inspectResult: InspectResult): Promise<void>; private renderRedpandaFile; } export declare class StartedRedpandaContainer extends AbstractStartedContainer { constructor(startedTestContainer: StartedTestContainer); getBootstrapServers(): string; getSchemaRegistryAddress(): string; getAdminAddress(): string; getRestProxyAddress(): string; }