caprover-lib
Version:
A library to communicate with CapRover instances
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;
}