testcontainers
Version:
Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container
13 lines (12 loc) • 423 B
TypeScript
export declare class ImageName {
readonly registry: string | undefined;
readonly image: string;
readonly tag: string;
readonly string: string;
private static readonly hexRE;
constructor(registry: string | undefined, image: string, tag: string);
equals(other: ImageName): boolean;
static fromString(string: string): ImageName;
private static getRegistry;
private static isRegistry;
}