cdk8s-image
Advanced tools
Comparing version 0.1.51 to 0.1.52
@@ -5,2 +5,4 @@ # Changelog | ||
### 0.1.52 (2020-11-25) | ||
### 0.1.51 (2020-11-24) | ||
@@ -7,0 +9,0 @@ |
import { Construct } from 'constructs'; | ||
/** | ||
* Props for `Image`. | ||
* | ||
* @stability stable | ||
*/ | ||
@@ -8,2 +10,4 @@ export interface ImageProps { | ||
* The docker build context directory (where `Dockerfile` is). | ||
* | ||
* @stability stable | ||
*/ | ||
@@ -19,2 +23,3 @@ readonly dir: string; | ||
* @default "docker.io/library" | ||
* @stability stable | ||
*/ | ||
@@ -31,2 +36,4 @@ readonly registry?: string; | ||
* URL through the `registry` option. | ||
* | ||
* @stability stable | ||
*/ | ||
@@ -36,8 +43,10 @@ export declare class Image extends Construct { | ||
* The image URL to use in order to pull this instance of the image. | ||
* | ||
* @stability stable | ||
*/ | ||
readonly url: string; | ||
/** | ||
* | ||
* @stability stable | ||
*/ | ||
constructor(scope: Construct, id: string, props: ImageProps); | ||
} |
@@ -16,6 +16,8 @@ "use strict"; | ||
* URL through the `registry` option. | ||
* | ||
* @stability stable | ||
*/ | ||
class Image extends constructs_1.Construct { | ||
/** | ||
* | ||
* @stability stable | ||
*/ | ||
@@ -39,2 +41,2 @@ constructor(scope, id, props) { | ||
exports.Image = Image; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW1hZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsaUNBQThCO0FBQzlCLDJDQUE2QztBQUM3QyxxQ0FBaUM7QUFFakMsTUFBTSxZQUFZLEdBQUcsNkJBQTZCLENBQUM7Ozs7Ozs7Ozs7QUFpQ25ELE1BQWEsS0FBTSxTQUFRLHNCQUFTOzs7O0lBTWxDLFlBQVksS0FBZ0IsRUFBRSxFQUFVLEVBQUUsS0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G9ydCB7IENvbnN0cnVjdCwgTm9kZSB9IGZyb20gJ2NvbnN0cnVjdHMnO1xuaW1wb3J0IHsgc2hlbGwgfSBmcm9tICcuL19zaGVsbCc7XG5cbmNvbnN0IFBBUlNFX0RJR0VTVCA9IC9kaWdlc3Q6XFwgKHNoYTI1NjpbMC05YS1mXSspLztcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbmV4cG9ydCBpbnRlcmZhY2UgSW1hZ2VQcm9wcyB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHJlYWRvbmx5IGRpcjogc3RyaW5nO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgcmVnaXN0cnk/OiBzdHJpbmc7XG59XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC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UFBTSxNQUFNLEdBQUcsWUFBWSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUN2QyxJQUFJLENBQUMsTUFBTSxFQUFFO1lBQ1gsTUFBTSxJQUFJLEtBQUssQ0FBQywyQ0FBMkMsSUFBSSxFQUFFLENBQUMsQ0FBQztTQUNwRTtRQUVELElBQUksQ0FBQyxHQUFHLEdBQUcsR0FBRyxHQUFHLElBQUksTUFBTSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7SUFDbkMsQ0FBQztDQUNGO0FBdEJELHNCQXNCQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5hbWVzIH0gZnJvbSAnY2RrOHMnO1xuaW1wb3J0IHsgQ29uc3RydWN0LCBOb2RlIH0gZnJvbSAnY29uc3RydWN0cyc7XG5pbXBvcnQgeyBzaGVsbCB9IGZyb20gJy4vX3NoZWxsJztcblxuY29uc3QgUEFSU0VfRElHRVNUID0gL2RpZ2VzdDpcXCAoc2hhMjU2OlswLTlhLWZdKykvO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuZXhwb3J0IGludGVyZmFjZSBJbWFnZVByb3BzIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgZGlyOiBzdHJpbmc7XG5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICByZWFkb25seSByZWdpc3RyeT86IHN0cmluZztcbn1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgSW1hZ2UgZXh0ZW5kcyBDb25zdHJ1Y3Qge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFxuICBwdWJsaWMgcmVhZG9ubHkgdXJsOiBzdHJpbmc7XG5cbiAgY29uc3RydWN0b3Ioc2NvcGU6IENvbnN0cnVjdCwgaWQ6IHN0cmluZywgcHJvcHM6IEltYWdlUHJvcHMpIHtcbiAgICBzdXBlcihzY29wZSwgaWQpO1xuICAgIGNvbnN0IHJlZ2lzdHJ5ID0gcHJvcHMucmVnaXN0cnkgPz8gJ2RvY2tlci5pby9saWJyYXJ5JztcbiAgICBjb25zdCB0YWcgPSBgJHtyZWdpc3RyeX0vJHtOYW1lcy50b0Ruc0xhYmVsKE5vZGUub2YodGhpcykucGF0aCl9YDtcbiAgICBjb25zb2xlLmVycm9yKGBidWlsZGluZyBkb2NrZXIgaW1hZ2UgXCIke3Byb3BzLmRpcn1cIi4uLmApO1xuICAgIHNoZWxsKCdkb2NrZXInLCAnYnVpbGQnLCAnLXQnLCB0YWcsIHByb3BzLmRpcik7XG4gICAgY29uc29sZS5lcnJvcihgcHVzaGluZyBkb2NrZXIgaW1hZ2UgXCIke3Byb3BzLmRpcn1cIi4uLmApO1xuICAgIGNvbnN0IHB1c2ggPSBzaGVsbCgnZG9ja2VyJywgJ3B1c2gnLCB0YWcpO1xuXG4gICAgY29uc3QgcmVzdWx0ID0gUEFSU0VfRElHRVNULmV4ZWMocHVzaCk7XG4gICAgaWYgKCFyZXN1bHQpIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgdW5hYmxlIHRvIHJlYWQgaW1hZ2UgZGlnZXN0IGFmdGVyIHB1c2g6ICR7cHVzaH1gKTtcbiAgICB9XG5cbiAgICB0aGlzLnVybCA9IGAke3RhZ31AJHtyZXN1bHRbMV19YDtcbiAgfVxufVxuIl19 |
@@ -144,3 +144,3 @@ { | ||
}, | ||
"version": "0.1.51", | ||
"version": "0.1.52", | ||
"jest": { | ||
@@ -147,0 +147,0 @@ "clearMocks": true, |
{ | ||
"version": "0.1.51" | ||
"version": "0.1.52" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37115
120