@veecode-platform/safira-cli
Version:
Generate a microservice project from your spec.
43 lines (42 loc) • 1.85 kB
TypeScript
export interface KubectlCommand {
command(filePaths: string[]): Promise<string | any>;
}
export declare class KubernetesApply implements KubectlCommand {
private static _instance;
private constructor();
command(filePaths: string[]): Promise<string[]>;
static get instance(): KubernetesApply;
}
export declare class KubernetesApplyString implements KubectlCommand {
private static _instance;
private constructor();
command(commands: string[]): Promise<string[]>;
static get instance(): KubernetesApplyString;
}
export declare class KubernetesDelete implements KubectlCommand {
private static _instance;
private constructor();
command(commands: string[], ignoreNotfound?: boolean): Promise<string[]>;
deleteResourceLabeled(kinds: string[], labelKeyValue: string, namespace?: string, ignoreNotfound?: boolean): Promise<void>;
static get instance(): KubernetesDelete;
}
export declare class KubernetesDeleteString implements KubectlCommand {
private static _instance;
private constructor();
command(commands: string[], ignoreNotfound?: boolean): Promise<string[]>;
static get instance(): KubernetesDeleteString;
}
export declare class KubernetesListAllPods implements KubectlCommand {
private static _instance;
private constructor();
command(): Promise<any>;
static get instance(): KubernetesListAllPods;
}
export declare class KubernetesCreateMockServerSecret {
private static _instance;
private constructor();
createSecret(ignoreNotfound?: boolean): Promise<void>;
static get instance(): KubernetesCreateMockServerSecret;
}
export declare function kubernetesGetJsonPathAsString(kind: string, name: string, namespace?: string, configToFind?: string): Promise<string>;
export declare function kubernetesSetIngressHostFromVKPR(): Promise<string>;