@topgroup/diginext
Version:
A BUILD SERVER & CLI to deploy apps to any Kubernetes clusters.
41 lines • 955 B
TypeScript
import type { IUser, IWorkspace } from "../../entities";
export interface GenerateDomainOptions {
/**
* User data
*/
user: IUser;
/**
* Workspace data
*/
workspace: IWorkspace;
/**
* Subdomain name
*/
recordName: string;
/**
* @default "diginext.site"
*/
primaryDomain?: string;
/**
* Value of A RECORD
*/
ipAddress?: string;
/**
* If cluster's short name is specify, IP address will be ignored and
* the primary IP address of the cluster will be used as the A RECORD value
*/
clusterSlug?: string;
/**
* Debugging mode
*/
isDebugging?: boolean;
}
interface GenerateDomainResult {
status: number;
domain: string;
ip?: string;
messages: string[];
}
export declare const generateDomains: (params: GenerateDomainOptions) => Promise<GenerateDomainResult>;
export {};
//# sourceMappingURL=generate-domain.d.ts.map