@veecode-platform/safira-cli
Version:
Generate a microservice project from your spec.
51 lines (50 loc) • 1.51 kB
TypeScript
export declare class OktetoClient {
private _oktetoDownloader;
constructor();
up({ build, context, file, namespace, pull, remote, reset, loglevel }: OktetoUpParams): Promise<void>;
down({ namespace, volumes, context, file }: OktetoDownParams): Promise<void>;
destroy({ namespace, volumes, context, file, dependencies, forceDestroy, name, noBash }: OktetoDestroyParams): Promise<void>;
contextDelete(): Promise<void>;
contextList(output: string): Promise<void>;
contextShow(output: string): Promise<void>;
contextUse({ builder, namespace, token }: OktetoUseParams): Promise<void>;
context({ builder, namespace, token }: OktetoContextParams): Promise<void>;
private _executeCommand;
private _execute;
}
export interface OktetoContextParams {
builder: string;
namespace: string;
token: string;
}
export interface OktetoUpParams {
build: boolean;
context?: string;
file?: string;
namespace?: string;
pull: boolean;
remote?: number;
reset: boolean;
loglevel?: string;
}
export interface OktetoDownParams {
namespace?: string;
volumes?: boolean;
context?: string;
file?: string;
}
export interface OktetoDestroyParams {
context?: string;
dependencies?: string;
file?: string;
forceDestroy?: boolean;
name?: string;
namespace?: string;
noBash?: boolean;
volumes?: boolean;
}
export interface OktetoUseParams {
builder: string;
namespace: string;
token: string;
}