smartcert/dist/cert.classes.certrepo.d.ts

32 lines
811 B
TypeScript
Raw Permalink Normal View History

2016-10-23 22:35:00 +00:00
/// <reference types="q" />
import * as q from 'q';
import { Cert } from './cert.classes.cert';
export interface ICertRepoConstructorOptions {
sslDirPath: string;
2017-01-01 04:18:50 +00:00
remoteGitUrl: string;
2016-10-23 22:35:00 +00:00
certInstance: Cert;
}
export declare class CertRepo {
private _sslDirPath;
2017-01-01 04:18:50 +00:00
private _remoteGitUrl;
private gitRepo;
2016-10-23 22:35:00 +00:00
private _certInstance;
constructor(optionsArg: ICertRepoConstructorOptions);
2017-01-01 04:18:50 +00:00
/**
* setup the Cert instance
*/
setup(): q.Promise<{}>;
2016-10-23 22:35:00 +00:00
/**
* syncs an objectmap of Certificates with repo
*/
syncFs(): q.Promise<{}>;
/**
* Pulls already requested certificates from git origin
*/
sslGitOriginPull: () => void;
/**
* Pushes all new requested certificates to git origin
*/
sslGitOriginAddCommitPush: () => void;
}