@spheron/protocol-sdk
Version:
Spheron Protocol SDK
19 lines • 1.16 kB
TypeScript
import { ethers } from 'ethers';
export declare class SpheronProviderModule {
private providerHostUrl;
private proxyUrl;
constructor(providerHostUrl: string, proxyUrl: string);
closeDeployment(certificate: string, authToken: string): Promise<any>;
version(): Promise<any>;
submitManfiest(certificate: string, authToken: string, leaseId: string, sdlManifest: any): Promise<any>;
getLeaseStatus(certificate: string, authToken: string, leaseId: string): Promise<any>;
getKubeEvents(certificate: string, authToken: string, leaseId: string, service?: string, tail?: number): Promise<any>;
getLeaseLogs(certificate: string, authToken: string, leaseId: string, service?: string, tail?: number): Promise<any>;
getLeaseServiceStatus(certificate: string, authToken: string, leaseId: string, serviceName: string): Promise<any>;
leaseShell(certificate: string, authToken: string, leaseId: string): Promise<any>;
closeDeploymentAndLease(certificate: string, authToken: string, provider: ethers.Provider, leaseId: string): Promise<{
lease: any;
closeDeployment: any;
}>;
}
//# sourceMappingURL=index.d.ts.map