UNPKG

@facets-cloud/facetsctlv3

Version:
19 lines (18 loc) 1.55 kB
export declare function fetchUserDetails(cpUrl: string, username: string, token: string): Promise<any>; export declare function refreshCredentials(cpUrl: string, username: string, accessToken: string, environmentId: string): Promise<any>; export declare function getAllClustersByStackName(cpUrl: string, username: string, accessToken: string, blueprintName: string): Promise<any>; export interface RegisterResponse { message: string; url: string; } export declare function registerImage(cpUrl: string, username: string, token: string, type: string, image: string, value: string, project: string, service: string | undefined, artifactory: string, runId: string, ciName: string | undefined): Promise<RegisterResponse>; export interface Credentials { username: string; password: string; artifactoryUri: string; repositoryUri: string; } export declare function getCredentials(cpUrl: string, username: string, token: string, project: string, service: string, artifactory: string): Promise<Credentials>; export declare function uploadArtifactsZip(cpUrl: string, username: string, accessToken: string, filePath: string, artifactRequest: any): Promise<import("axios").AxiosResponse<any, any>>; export declare function syncApps(cpUrl: string, username: string, accessToken: string, projectName: string, environmentName: string, resources: string[]): Promise<any>; export declare function checkAppStatus(cpUrl: string, username: string, accessToken: string, projectName: string, environmentName: string, resources: string[]): Promise<any>;