UNPKG

@pulumi/github

Version:

A Pulumi package for creating and managing github cloud resources.

54 lines 1.78 kB
"use strict"; // *** 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.getActionsSecretsOutput = exports.getActionsSecrets = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Use this data source to retrieve the list of secrets for a GitHub repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getActionsSecrets({ * name: "example", * }); * ``` */ function getActionsSecrets(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("github:index/getActionsSecrets:getActionsSecrets", { "fullName": args.fullName, "name": args.name, }, opts); } exports.getActionsSecrets = getActionsSecrets; /** * Use this data source to retrieve the list of secrets for a GitHub repository. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const example = github.getActionsSecrets({ * name: "example", * }); * ``` */ function getActionsSecretsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("github:index/getActionsSecrets:getActionsSecrets", { "fullName": args.fullName, "name": args.name, }, opts); } exports.getActionsSecretsOutput = getActionsSecretsOutput; //# sourceMappingURL=getActionsSecrets.js.map