captainduckduck
Version:
CLI tool for CaptainDuckDuck. See CaptainDuckDuck.com for more details.
21 lines (17 loc) • 471 B
text/typescript
export interface IRegistryApi {
registries: IRegistryInfo[];
defaultPushRegistryId: string | undefined;
}
export class IRegistryTypes {
static readonly LOCAL_REG = "LOCAL_REG";
static readonly REMOTE_REG = "REMOTE_REG";
}
type IRegistryType = "LOCAL_REG" | "REMOTE_REG";
export interface IRegistryInfo {
id: string;
registryUser: string;
registryPassword: string;
registryDomain: string;
registryImagePrefix: string;
registryType: IRegistryType;
}