@testcontainers/gcloud
Version:
GCloud module for Testcontainers
22 lines (21 loc) • 691 B
TypeScript
export declare class EmulatorFlagsManager {
private flags;
/**
* Adds flag as argument to emulator start command.
* Adding same flag name twice replaces existing flag value.
* @param name flag name. Must be set to non-empty string. May optionally contain -- prefix.
* @param value flag value. May be empty string.
* @returns this instance for chaining.
*/
withFlag(name: string, value: string): this;
private flagToString;
/**
*
* @returns string with all flag names and values, concatenated in same order they were added.
*/
expandFlags(): string;
/**
* Clears all added flags.
*/
clearFlags(): void;
}