2020-09-26 12:33:48 +00:00
|
|
|
export interface IHandlerSettings {
|
2020-10-19 16:52:37 +00:00
|
|
|
/**
|
|
|
|
* the slug is a globally unique slug that the package will be answer under
|
|
|
|
*/
|
2020-09-26 12:31:08 +00:00
|
|
|
slug: string;
|
2020-10-19 16:52:37 +00:00
|
|
|
/**
|
|
|
|
* the packagename points to the package to use in the supplied registry
|
|
|
|
*/
|
2020-09-26 11:57:26 +00:00
|
|
|
packageName: string;
|
2020-10-19 16:52:37 +00:00
|
|
|
/**
|
|
|
|
* environment variables are supplied to the service at runtime
|
|
|
|
*/
|
2020-09-26 12:31:08 +00:00
|
|
|
environmentVariables: { [key: string]: string };
|
2020-10-19 16:52:37 +00:00
|
|
|
/**
|
|
|
|
* this is needed to know where to get the package to run
|
|
|
|
*/
|
2020-09-26 12:31:08 +00:00
|
|
|
registryDescriptor: {
|
|
|
|
registryUrl: string;
|
|
|
|
registryToken: string;
|
|
|
|
};
|
|
|
|
}
|