@pulumi/docker
Version:
A Pulumi package for interacting with Docker in Pulumi programs
48 lines • 1.79 kB
JavaScript
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getLogsOutput = exports.getLogs = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* `docker.getLogs` provides logs from specific container
*/
function getLogs(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("docker:index/getLogs:getLogs", {
"details": args.details,
"discardHeaders": args.discardHeaders,
"follow": args.follow,
"logsListStringEnabled": args.logsListStringEnabled,
"name": args.name,
"showStderr": args.showStderr,
"showStdout": args.showStdout,
"since": args.since,
"tail": args.tail,
"timestamps": args.timestamps,
"until": args.until,
}, opts);
}
exports.getLogs = getLogs;
/**
* `docker.getLogs` provides logs from specific container
*/
function getLogsOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("docker:index/getLogs:getLogs", {
"details": args.details,
"discardHeaders": args.discardHeaders,
"follow": args.follow,
"logsListStringEnabled": args.logsListStringEnabled,
"name": args.name,
"showStderr": args.showStderr,
"showStdout": args.showStdout,
"since": args.since,
"tail": args.tail,
"timestamps": args.timestamps,
"until": args.until,
}, opts);
}
exports.getLogsOutput = getLogsOutput;
//# sourceMappingURL=getLogs.js.map
;