@pulumi/github 5.22.0-alpha.1697867134 → 5.22.0-alpha.1698198281
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionsEnvironmentSecret.d.ts +0 -37
- package/actionsEnvironmentSecret.js +0 -37
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsEnvironmentVariable.d.ts +0 -32
- package/actionsEnvironmentVariable.js +0 -32
- package/actionsEnvironmentVariable.js.map +1 -1
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -13
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -13
- package/actionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +0 -24
- package/actionsOrganizationPermissions.js +0 -24
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +0 -39
- package/actionsOrganizationSecret.js +0 -39
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +0 -15
- package/actionsOrganizationSecretRepositories.js +0 -15
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsOrganizationVariable.d.ts +0 -28
- package/actionsOrganizationVariable.js +0 -28
- package/actionsOrganizationVariable.js.map +1 -1
- package/actionsRepositoryAccessLevel.d.ts +0 -13
- package/actionsRepositoryAccessLevel.js +0 -13
- package/actionsRepositoryAccessLevel.js.map +1 -1
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -18
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -18
- package/actionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +0 -21
- package/actionsRepositoryPermissions.js +0 -21
- package/actionsRepositoryPermissions.js.map +1 -1
- package/actionsRunnerGroup.d.ts +0 -13
- package/actionsRunnerGroup.js +0 -13
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +0 -21
- package/actionsSecret.js +0 -21
- package/actionsSecret.js.map +1 -1
- package/actionsVariable.d.ts +0 -13
- package/actionsVariable.js +0 -13
- package/actionsVariable.js.map +1 -1
- package/appInstallationRepository.d.ts +0 -14
- package/appInstallationRepository.js +0 -14
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +0 -12
- package/branch.js +0 -12
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +0 -39
- package/branchDefault.js +0 -39
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +0 -51
- package/branchProtection.js +0 -51
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +0 -56
- package/branchProtectionV3.js +0 -56
- package/branchProtectionV3.js.map +1 -1
- package/codespacesOrganizationSecret.d.ts +0 -39
- package/codespacesOrganizationSecret.js +0 -39
- package/codespacesOrganizationSecret.js.map +1 -1
- package/codespacesOrganizationSecretRepositories.d.ts +0 -15
- package/codespacesOrganizationSecretRepositories.js +0 -15
- package/codespacesOrganizationSecretRepositories.js.map +1 -1
- package/codespacesSecret.d.ts +0 -21
- package/codespacesSecret.js +0 -21
- package/codespacesSecret.js.map +1 -1
- package/codespacesUserSecret.d.ts +0 -21
- package/codespacesUserSecret.js +0 -21
- package/codespacesUserSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +0 -13
- package/emuGroupMapping.js +0 -13
- package/emuGroupMapping.js.map +1 -1
- package/enterpriseOrganization.d.ts +0 -15
- package/enterpriseOrganization.js +0 -15
- package/enterpriseOrganization.js.map +1 -1
- package/getActionsEnvironmentSecrets.d.ts +0 -24
- package/getActionsEnvironmentSecrets.js +0 -24
- package/getActionsEnvironmentSecrets.js.map +1 -1
- package/getActionsEnvironmentVariables.d.ts +0 -24
- package/getActionsEnvironmentVariables.js +0 -24
- package/getActionsEnvironmentVariables.js.map +1 -1
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.d.ts +0 -18
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js +0 -18
- package/getActionsOrganizationOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsOrganizationPublicKey.d.ts +0 -18
- package/getActionsOrganizationPublicKey.js +0 -18
- package/getActionsOrganizationPublicKey.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +0 -18
- package/getActionsOrganizationRegistrationToken.js +0 -18
- package/getActionsOrganizationRegistrationToken.js.map +1 -1
- package/getActionsOrganizationSecrets.d.ts +0 -18
- package/getActionsOrganizationSecrets.js +0 -18
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsOrganizationVariables.d.ts +0 -18
- package/getActionsOrganizationVariables.js +0 -18
- package/getActionsOrganizationVariables.js.map +1 -1
- package/getActionsPublicKey.d.ts +0 -22
- package/getActionsPublicKey.js +0 -22
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +0 -22
- package/getActionsRegistrationToken.js +0 -22
- package/getActionsRegistrationToken.js.map +1 -1
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.d.ts +0 -22
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js +0 -22
- package/getActionsRepositoryOidcSubjectClaimCustomizationTemplate.js.map +1 -1
- package/getActionsSecrets.d.ts +0 -22
- package/getActionsSecrets.js +0 -22
- package/getActionsSecrets.js.map +1 -1
- package/getActionsVariables.d.ts +0 -22
- package/getActionsVariables.js +0 -22
- package/getActionsVariables.js.map +1 -1
- package/getAppToken.d.ts +0 -28
- package/getAppToken.js +0 -28
- package/getAppToken.js.map +1 -1
- package/getBranch.d.ts +0 -24
- package/getBranch.js +0 -24
- package/getBranch.js.map +1 -1
- package/getBranchProtectionRules.d.ts +0 -22
- package/getBranchProtectionRules.js +0 -22
- package/getBranchProtectionRules.js.map +1 -1
- package/getCodespacesOrganizationPublicKey.d.ts +0 -18
- package/getCodespacesOrganizationPublicKey.js +0 -18
- package/getCodespacesOrganizationPublicKey.js.map +1 -1
- package/getCodespacesOrganizationSecrets.d.ts +0 -18
- package/getCodespacesOrganizationSecrets.js +0 -18
- package/getCodespacesOrganizationSecrets.js.map +1 -1
- package/getCodespacesPublicKey.d.ts +0 -22
- package/getCodespacesPublicKey.js +0 -22
- package/getCodespacesPublicKey.js.map +1 -1
- package/getCodespacesSecrets.d.ts +0 -28
- package/getCodespacesSecrets.js +0 -28
- package/getCodespacesSecrets.js.map +1 -1
- package/getCodespacesUserPublicKey.d.ts +0 -18
- package/getCodespacesUserPublicKey.js +0 -18
- package/getCodespacesUserPublicKey.js.map +1 -1
- package/getCodespacesUserSecrets.d.ts +0 -18
- package/getCodespacesUserSecrets.js +0 -18
- package/getCodespacesUserSecrets.js.map +1 -1
- package/getCollaborators.d.ts +0 -24
- package/getCollaborators.js +0 -24
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationPublicKey.d.ts +0 -18
- package/getDependabotOrganizationPublicKey.js +0 -18
- package/getDependabotOrganizationPublicKey.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +0 -18
- package/getDependabotOrganizationSecrets.js +0 -18
- package/getDependabotOrganizationSecrets.js.map +1 -1
- package/getDependabotSecrets.d.ts +0 -22
- package/getDependabotSecrets.js +0 -22
- package/getDependabotSecrets.js.map +1 -1
- package/getEnterprise.d.ts +0 -22
- package/getEnterprise.js +0 -22
- package/getEnterprise.js.map +1 -1
- package/getExternalGroups.d.ts +0 -22
- package/getExternalGroups.js +0 -22
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +0 -22
- package/getGithubApp.js +0 -22
- package/getGithubApp.js.map +1 -1
- package/getIpRanges.d.ts +0 -18
- package/getIpRanges.js +0 -18
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +0 -22
- package/getMembership.js +0 -22
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +0 -22
- package/getOrganization.js +0 -22
- package/getOrganization.js.map +1 -1
- package/getOrganizationCustomRole.d.ts +0 -22
- package/getOrganizationCustomRole.js +0 -22
- package/getOrganizationCustomRole.js.map +1 -1
- package/getOrganizationExternalIdentities.d.ts +0 -18
- package/getOrganizationExternalIdentities.js +0 -18
- package/getOrganizationExternalIdentities.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +0 -18
- package/getOrganizationIpAllowList.js +0 -18
- package/getOrganizationIpAllowList.js.map +1 -1
- package/getOrganizationTeamSyncGroups.d.ts +0 -18
- package/getOrganizationTeamSyncGroups.js +0 -18
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +0 -44
- package/getOrganizationTeams.js +0 -44
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +0 -22
- package/getOrganizationWebhooks.js +0 -22
- package/getOrganizationWebhooks.js.map +1 -1
- package/getRef.d.ts +0 -26
- package/getRef.js +0 -26
- package/getRef.js.map +1 -1
- package/getRepositories.d.ts +0 -24
- package/getRepositories.js +0 -24
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +0 -22
- package/getRepository.js +0 -22
- package/getRepository.js.map +1 -1
- package/getRepositoryAutolinkReferences.d.ts +0 -22
- package/getRepositoryAutolinkReferences.js +0 -22
- package/getRepositoryAutolinkReferences.js.map +1 -1
- package/getRepositoryBranches.d.ts +0 -22
- package/getRepositoryBranches.js +0 -22
- package/getRepositoryBranches.js.map +1 -1
- package/getRepositoryDeployKeys.d.ts +0 -22
- package/getRepositoryDeployKeys.js +0 -22
- package/getRepositoryDeployKeys.js.map +1 -1
- package/getRepositoryDeploymentBranchPolicies.d.ts +0 -24
- package/getRepositoryDeploymentBranchPolicies.js +0 -24
- package/getRepositoryDeploymentBranchPolicies.js.map +1 -1
- package/getRepositoryEnvironments.d.ts +0 -22
- package/getRepositoryEnvironments.js +0 -22
- package/getRepositoryEnvironments.js.map +1 -1
- package/getRepositoryFile.d.ts +0 -26
- package/getRepositoryFile.js +0 -26
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +0 -26
- package/getRepositoryMilestone.js +0 -26
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +0 -24
- package/getRepositoryPullRequest.js +0 -24
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +0 -30
- package/getRepositoryPullRequests.js +0 -30
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +0 -22
- package/getRepositoryTeams.js +0 -22
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +0 -26
- package/getRepositoryWebhooks.js +0 -26
- package/getRepositoryWebhooks.js.map +1 -1
- package/getRestApi.d.ts +0 -22
- package/getRestApi.js +0 -22
- package/getRestApi.js.map +1 -1
- package/getSshKeys.d.ts +0 -18
- package/getSshKeys.js +0 -18
- package/getSshKeys.js.map +1 -1
- package/getTeam.d.ts +0 -22
- package/getTeam.js +0 -22
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +0 -42
- package/getTree.js +0 -42
- package/getTree.js.map +1 -1
- package/getUser.d.ts +0 -30
- package/getUser.js +0 -30
- package/getUser.js.map +1 -1
- package/getUserExternalIdentity.d.ts +0 -22
- package/getUserExternalIdentity.js +0 -22
- package/getUserExternalIdentity.js.map +1 -1
- package/getUsers.d.ts +0 -34
- package/getUsers.js +0 -34
- package/getUsers.js.map +1 -1
- package/issue.d.ts +0 -49
- package/issue.js +0 -49
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +0 -13
- package/issueLabel.js +0 -13
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +0 -13
- package/membership.js +0 -13
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +0 -9
- package/organizationBlock.js +0 -9
- package/organizationBlock.js.map +1 -1
- package/organizationCustomRole.d.ts +0 -33
- package/organizationCustomRole.js +0 -33
- package/organizationCustomRole.js.map +1 -1
- package/organizationProject.d.ts +0 -9
- package/organizationProject.js +0 -9
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +0 -10
- package/organizationSecurityManager.js +0 -10
- package/organizationSecurityManager.js.map +1 -1
- package/organizationSettings.d.ts +0 -35
- package/organizationSettings.js +0 -35
- package/organizationSettings.js.map +1 -1
- package/organizationWebhook.d.ts +0 -17
- package/organizationWebhook.js +0 -17
- package/organizationWebhook.js.map +1 -1
- package/package.json +1 -1
- package/projectCard.d.ts +0 -40
- package/projectCard.js +0 -40
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +0 -10
- package/projectColumn.js +0 -10
- package/projectColumn.js.map +1 -1
- package/release.d.ts +0 -36
- package/release.js +0 -36
- package/release.js.map +1 -1
- package/repository.d.ts +0 -34
- package/repository.js +0 -34
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +0 -17
- package/repositoryAutolinkReference.js +0 -17
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +0 -14
- package/repositoryCollaborator.js +0 -14
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryCollaborators.d.ts +0 -22
- package/repositoryCollaborators.js +0 -22
- package/repositoryCollaborators.js.map +1 -1
- package/repositoryDeployKey.d.ts +0 -15
- package/repositoryDeployKey.js +0 -15
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryDeploymentBranchPolicy.d.ts +0 -22
- package/repositoryDeploymentBranchPolicy.js +0 -22
- package/repositoryDeploymentBranchPolicy.js.map +1 -1
- package/repositoryEnvironment.d.ts +0 -23
- package/repositoryEnvironment.js +0 -23
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryEnvironmentDeploymentPolicy.d.ts +0 -29
- package/repositoryEnvironmentDeploymentPolicy.js +0 -29
- package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
- package/repositoryFile.d.ts +0 -19
- package/repositoryFile.js +0 -19
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +0 -14
- package/repositoryMilestone.js +0 -14
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +0 -16
- package/repositoryProject.js +0 -16
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +0 -15
- package/repositoryPullRequest.js +0 -15
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryRuleset.d.ts +0 -35
- package/repositoryRuleset.js +0 -35
- package/repositoryRuleset.js.map +1 -1
- package/repositoryTagProtection.d.ts +0 -12
- package/repositoryTagProtection.js +0 -12
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryTopics.d.ts +0 -18
- package/repositoryTopics.js +0 -18
- package/repositoryTopics.js.map +1 -1
- package/repositoryWebhook.d.ts +0 -23
- package/repositoryWebhook.js +0 -23
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +0 -13
- package/team.js +0 -13
- package/team.js.map +1 -1
- package/teamMembers.d.ts +0 -31
- package/teamMembers.js +0 -31
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +0 -19
- package/teamMembership.js +0 -19
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +0 -16
- package/teamRepository.js +0 -16
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +0 -18
- package/teamSettings.js +0 -18
- package/teamSettings.js.map +1 -1
- package/userGpgKey.d.ts +0 -12
- package/userGpgKey.js +0 -12
- package/userGpgKey.js.map +1 -1
- package/userSshKey.d.ts +0 -13
- package/userSshKey.js +0 -13
- package/userSshKey.js.map +1 -1
package/getRepositoryTeams.js
CHANGED
|
@@ -7,17 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve the list of teams which have access to a GitHub repository.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = github.getRepositoryTeams({
|
|
18
|
-
* name: "example",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
10
|
*/
|
|
22
11
|
function getRepositoryTeams(args, opts) {
|
|
23
12
|
args = args || {};
|
|
@@ -30,17 +19,6 @@ function getRepositoryTeams(args, opts) {
|
|
|
30
19
|
exports.getRepositoryTeams = getRepositoryTeams;
|
|
31
20
|
/**
|
|
32
21
|
* Use this data source to retrieve the list of teams which have access to a GitHub repository.
|
|
33
|
-
*
|
|
34
|
-
* ## Example Usage
|
|
35
|
-
*
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
-
* import * as github from "@pulumi/github";
|
|
39
|
-
*
|
|
40
|
-
* const example = github.getRepositoryTeams({
|
|
41
|
-
* name: "example",
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
22
|
*/
|
|
45
23
|
function getRepositoryTeamsOutput(args, opts) {
|
|
46
24
|
return pulumi.output(args).apply((a) => getRepositoryTeams(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryTeams.js","sourceRoot":"","sources":["../getRepositoryTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRepositoryTeams.js","sourceRoot":"","sources":["../getRepositoryTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAkCD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
|
@@ -2,19 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Use this data source to retrieve webhooks for a given repository.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* To retrieve webhooks of a repository:
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as github from "@pulumi/github";
|
|
13
|
-
*
|
|
14
|
-
* const repo = github.getRepositoryWebhooks({
|
|
15
|
-
* repository: "foo",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
5
|
*/
|
|
19
6
|
export declare function getRepositoryWebhooks(args: GetRepositoryWebhooksArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryWebhooksResult>;
|
|
20
7
|
/**
|
|
@@ -40,19 +27,6 @@ export interface GetRepositoryWebhooksResult {
|
|
|
40
27
|
}
|
|
41
28
|
/**
|
|
42
29
|
* Use this data source to retrieve webhooks for a given repository.
|
|
43
|
-
*
|
|
44
|
-
* ## Example Usage
|
|
45
|
-
*
|
|
46
|
-
* To retrieve webhooks of a repository:
|
|
47
|
-
*
|
|
48
|
-
* ```typescript
|
|
49
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
-
* import * as github from "@pulumi/github";
|
|
51
|
-
*
|
|
52
|
-
* const repo = github.getRepositoryWebhooks({
|
|
53
|
-
* repository: "foo",
|
|
54
|
-
* });
|
|
55
|
-
* ```
|
|
56
30
|
*/
|
|
57
31
|
export declare function getRepositoryWebhooksOutput(args: GetRepositoryWebhooksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryWebhooksResult>;
|
|
58
32
|
/**
|
package/getRepositoryWebhooks.js
CHANGED
|
@@ -7,19 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve webhooks for a given repository.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* To retrieve webhooks of a repository:
|
|
14
|
-
*
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as github from "@pulumi/github";
|
|
18
|
-
*
|
|
19
|
-
* const repo = github.getRepositoryWebhooks({
|
|
20
|
-
* repository: "foo",
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
10
|
*/
|
|
24
11
|
function getRepositoryWebhooks(args, opts) {
|
|
25
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -30,19 +17,6 @@ function getRepositoryWebhooks(args, opts) {
|
|
|
30
17
|
exports.getRepositoryWebhooks = getRepositoryWebhooks;
|
|
31
18
|
/**
|
|
32
19
|
* Use this data source to retrieve webhooks for a given repository.
|
|
33
|
-
*
|
|
34
|
-
* ## Example Usage
|
|
35
|
-
*
|
|
36
|
-
* To retrieve webhooks of a repository:
|
|
37
|
-
*
|
|
38
|
-
* ```typescript
|
|
39
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
-
* import * as github from "@pulumi/github";
|
|
41
|
-
*
|
|
42
|
-
* const repo = github.getRepositoryWebhooks({
|
|
43
|
-
* repository: "foo",
|
|
44
|
-
* });
|
|
45
|
-
* ```
|
|
46
20
|
*/
|
|
47
21
|
function getRepositoryWebhooksOutput(args, opts) {
|
|
48
22
|
return pulumi.output(args).apply((a) => getRepositoryWebhooks(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRepositoryWebhooks.js","sourceRoot":"","sources":["../getRepositoryWebhooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRepositoryWebhooks.js","sourceRoot":"","sources":["../getRepositoryWebhooks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAwBD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
package/getRestApi.d.ts
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to retrieve information about a GitHub resource through REST API.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const example = github.getRestApi({
|
|
12
|
-
* endpoint: "repos/example_repo/git/refs/heads/main",
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
4
|
*/
|
|
16
5
|
export declare function getRestApi(args: GetRestApiArgs, opts?: pulumi.InvokeOptions): Promise<GetRestApiResult>;
|
|
17
6
|
/**
|
|
@@ -55,17 +44,6 @@ export interface GetRestApiResult {
|
|
|
55
44
|
}
|
|
56
45
|
/**
|
|
57
46
|
* Use this data source to retrieve information about a GitHub resource through REST API.
|
|
58
|
-
*
|
|
59
|
-
* ## Example Usage
|
|
60
|
-
*
|
|
61
|
-
* ```typescript
|
|
62
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
-
* import * as github from "@pulumi/github";
|
|
64
|
-
*
|
|
65
|
-
* const example = github.getRestApi({
|
|
66
|
-
* endpoint: "repos/example_repo/git/refs/heads/main",
|
|
67
|
-
* });
|
|
68
|
-
* ```
|
|
69
47
|
*/
|
|
70
48
|
export declare function getRestApiOutput(args: GetRestApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRestApiResult>;
|
|
71
49
|
/**
|
package/getRestApi.js
CHANGED
|
@@ -7,17 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve information about a GitHub resource through REST API.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = github.getRestApi({
|
|
18
|
-
* endpoint: "repos/example_repo/git/refs/heads/main",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
10
|
*/
|
|
22
11
|
function getRestApi(args, opts) {
|
|
23
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -28,17 +17,6 @@ function getRestApi(args, opts) {
|
|
|
28
17
|
exports.getRestApi = getRestApi;
|
|
29
18
|
/**
|
|
30
19
|
* Use this data source to retrieve information about a GitHub resource through REST API.
|
|
31
|
-
*
|
|
32
|
-
* ## Example Usage
|
|
33
|
-
*
|
|
34
|
-
* ```typescript
|
|
35
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
-
* import * as github from "@pulumi/github";
|
|
37
|
-
*
|
|
38
|
-
* const example = github.getRestApi({
|
|
39
|
-
* endpoint: "repos/example_repo/git/refs/heads/main",
|
|
40
|
-
* });
|
|
41
|
-
* ```
|
|
42
20
|
*/
|
|
43
21
|
function getRestApiOutput(args, opts) {
|
|
44
22
|
return pulumi.output(args).apply((a) => getRestApi(a, opts));
|
package/getRestApi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRestApi.js","sourceRoot":"","sources":["../getRestApi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getRestApi.js","sourceRoot":"","sources":["../getRestApi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAsCD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/getSshKeys.d.ts
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to retrieve information about GitHub's SSH keys.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const test = github.getSshKeys({});
|
|
12
|
-
* ```
|
|
13
4
|
*/
|
|
14
5
|
export declare function getSshKeys(opts?: pulumi.InvokeOptions): Promise<GetSshKeysResult>;
|
|
15
6
|
/**
|
|
@@ -27,14 +18,5 @@ export interface GetSshKeysResult {
|
|
|
27
18
|
}
|
|
28
19
|
/**
|
|
29
20
|
* Use this data source to retrieve information about GitHub's SSH keys.
|
|
30
|
-
*
|
|
31
|
-
* ## Example Usage
|
|
32
|
-
*
|
|
33
|
-
* ```typescript
|
|
34
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as github from "@pulumi/github";
|
|
36
|
-
*
|
|
37
|
-
* const test = github.getSshKeys({});
|
|
38
|
-
* ```
|
|
39
21
|
*/
|
|
40
22
|
export declare function getSshKeysOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetSshKeysResult>;
|
package/getSshKeys.js
CHANGED
|
@@ -7,15 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve information about GitHub's SSH keys.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const test = github.getSshKeys({});
|
|
18
|
-
* ```
|
|
19
10
|
*/
|
|
20
11
|
function getSshKeys(opts) {
|
|
21
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -24,15 +15,6 @@ function getSshKeys(opts) {
|
|
|
24
15
|
exports.getSshKeys = getSshKeys;
|
|
25
16
|
/**
|
|
26
17
|
* Use this data source to retrieve information about GitHub's SSH keys.
|
|
27
|
-
*
|
|
28
|
-
* ## Example Usage
|
|
29
|
-
*
|
|
30
|
-
* ```typescript
|
|
31
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
-
* import * as github from "@pulumi/github";
|
|
33
|
-
*
|
|
34
|
-
* const test = github.getSshKeys({});
|
|
35
|
-
* ```
|
|
36
18
|
*/
|
|
37
19
|
function getSshKeysOutput(opts) {
|
|
38
20
|
return pulumi.output(getSshKeys(opts));
|
package/getSshKeys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSshKeys.js","sourceRoot":"","sources":["../getSshKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getSshKeys.js","sourceRoot":"","sources":["../getSshKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAA2B;IAElD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gCAKC;AAeD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC1C,CAAC;AAFD,4CAEC"}
|
package/getTeam.d.ts
CHANGED
|
@@ -2,17 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Use this data source to retrieve information about a GitHub team.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const example = github.getTeam({
|
|
13
|
-
* slug: "example",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
5
|
*/
|
|
17
6
|
export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamResult>;
|
|
18
7
|
/**
|
|
@@ -83,17 +72,6 @@ export interface GetTeamResult {
|
|
|
83
72
|
}
|
|
84
73
|
/**
|
|
85
74
|
* Use this data source to retrieve information about a GitHub team.
|
|
86
|
-
*
|
|
87
|
-
* ## Example Usage
|
|
88
|
-
*
|
|
89
|
-
* ```typescript
|
|
90
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
91
|
-
* import * as github from "@pulumi/github";
|
|
92
|
-
*
|
|
93
|
-
* const example = github.getTeam({
|
|
94
|
-
* slug: "example",
|
|
95
|
-
* });
|
|
96
|
-
* ```
|
|
97
75
|
*/
|
|
98
76
|
export declare function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTeamResult>;
|
|
99
77
|
/**
|
package/getTeam.js
CHANGED
|
@@ -7,17 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve information about a GitHub team.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = github.getTeam({
|
|
18
|
-
* slug: "example",
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
10
|
*/
|
|
22
11
|
function getTeam(args, opts) {
|
|
23
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -31,17 +20,6 @@ function getTeam(args, opts) {
|
|
|
31
20
|
exports.getTeam = getTeam;
|
|
32
21
|
/**
|
|
33
22
|
* Use this data source to retrieve information about a GitHub team.
|
|
34
|
-
*
|
|
35
|
-
* ## Example Usage
|
|
36
|
-
*
|
|
37
|
-
* ```typescript
|
|
38
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
-
* import * as github from "@pulumi/github";
|
|
40
|
-
*
|
|
41
|
-
* const example = github.getTeam({
|
|
42
|
-
* slug: "example",
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
23
|
*/
|
|
46
24
|
function getTeamOutput(args, opts) {
|
|
47
25
|
return pulumi.output(args).apply((a) => getTeam(a, opts));
|
package/getTeam.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;AAqED;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/getTree.d.ts
CHANGED
|
@@ -2,27 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* Use this data source to retrieve information about a single tree.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const thisRepository = github.getRepository({
|
|
13
|
-
* name: "example",
|
|
14
|
-
* });
|
|
15
|
-
* const thisBranch = Promise.all([thisRepository, thisRepository]).then(([thisRepository, thisRepository1]) => github.getBranch({
|
|
16
|
-
* branch: thisRepository.defaultBranch,
|
|
17
|
-
* repository: thisRepository1.name,
|
|
18
|
-
* }));
|
|
19
|
-
* const thisTree = Promise.all([thisRepository, thisBranch]).then(([thisRepository, thisBranch]) => github.getTree({
|
|
20
|
-
* recursive: false,
|
|
21
|
-
* repository: thisRepository.name,
|
|
22
|
-
* treeSha: thisBranch.sha,
|
|
23
|
-
* }));
|
|
24
|
-
* export const entries = thisTree.then(thisTree => thisTree.entries);
|
|
25
|
-
* ```
|
|
26
5
|
*/
|
|
27
6
|
export declare function getTree(args: GetTreeArgs, opts?: pulumi.InvokeOptions): Promise<GetTreeResult>;
|
|
28
7
|
/**
|
|
@@ -60,27 +39,6 @@ export interface GetTreeResult {
|
|
|
60
39
|
}
|
|
61
40
|
/**
|
|
62
41
|
* Use this data source to retrieve information about a single tree.
|
|
63
|
-
*
|
|
64
|
-
* ## Example Usage
|
|
65
|
-
*
|
|
66
|
-
* ```typescript
|
|
67
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
-
* import * as github from "@pulumi/github";
|
|
69
|
-
*
|
|
70
|
-
* const thisRepository = github.getRepository({
|
|
71
|
-
* name: "example",
|
|
72
|
-
* });
|
|
73
|
-
* const thisBranch = Promise.all([thisRepository, thisRepository]).then(([thisRepository, thisRepository1]) => github.getBranch({
|
|
74
|
-
* branch: thisRepository.defaultBranch,
|
|
75
|
-
* repository: thisRepository1.name,
|
|
76
|
-
* }));
|
|
77
|
-
* const thisTree = Promise.all([thisRepository, thisBranch]).then(([thisRepository, thisBranch]) => github.getTree({
|
|
78
|
-
* recursive: false,
|
|
79
|
-
* repository: thisRepository.name,
|
|
80
|
-
* treeSha: thisBranch.sha,
|
|
81
|
-
* }));
|
|
82
|
-
* export const entries = thisTree.then(thisTree => thisTree.entries);
|
|
83
|
-
* ```
|
|
84
42
|
*/
|
|
85
43
|
export declare function getTreeOutput(args: GetTreeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTreeResult>;
|
|
86
44
|
/**
|
package/getTree.js
CHANGED
|
@@ -7,27 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve information about a single tree.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const thisRepository = github.getRepository({
|
|
18
|
-
* name: "example",
|
|
19
|
-
* });
|
|
20
|
-
* const thisBranch = Promise.all([thisRepository, thisRepository]).then(([thisRepository, thisRepository1]) => github.getBranch({
|
|
21
|
-
* branch: thisRepository.defaultBranch,
|
|
22
|
-
* repository: thisRepository1.name,
|
|
23
|
-
* }));
|
|
24
|
-
* const thisTree = Promise.all([thisRepository, thisBranch]).then(([thisRepository, thisBranch]) => github.getTree({
|
|
25
|
-
* recursive: false,
|
|
26
|
-
* repository: thisRepository.name,
|
|
27
|
-
* treeSha: thisBranch.sha,
|
|
28
|
-
* }));
|
|
29
|
-
* export const entries = thisTree.then(thisTree => thisTree.entries);
|
|
30
|
-
* ```
|
|
31
10
|
*/
|
|
32
11
|
function getTree(args, opts) {
|
|
33
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -40,27 +19,6 @@ function getTree(args, opts) {
|
|
|
40
19
|
exports.getTree = getTree;
|
|
41
20
|
/**
|
|
42
21
|
* Use this data source to retrieve information about a single tree.
|
|
43
|
-
*
|
|
44
|
-
* ## Example Usage
|
|
45
|
-
*
|
|
46
|
-
* ```typescript
|
|
47
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
-
* import * as github from "@pulumi/github";
|
|
49
|
-
*
|
|
50
|
-
* const thisRepository = github.getRepository({
|
|
51
|
-
* name: "example",
|
|
52
|
-
* });
|
|
53
|
-
* const thisBranch = Promise.all([thisRepository, thisRepository]).then(([thisRepository, thisRepository1]) => github.getBranch({
|
|
54
|
-
* branch: thisRepository.defaultBranch,
|
|
55
|
-
* repository: thisRepository1.name,
|
|
56
|
-
* }));
|
|
57
|
-
* const thisTree = Promise.all([thisRepository, thisBranch]).then(([thisRepository, thisBranch]) => github.getTree({
|
|
58
|
-
* recursive: false,
|
|
59
|
-
* repository: thisRepository.name,
|
|
60
|
-
* treeSha: thisBranch.sha,
|
|
61
|
-
* }));
|
|
62
|
-
* export const entries = thisTree.then(thisTree => thisTree.entries);
|
|
63
|
-
* ```
|
|
64
22
|
*/
|
|
65
23
|
function getTreeOutput(args, opts) {
|
|
66
24
|
return pulumi.output(args).apply((a) => getTree(a, opts));
|
package/getTree.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTree.js","sourceRoot":"","sources":["../getTree.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getTree.js","sourceRoot":"","sources":["../getTree.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0BAQC;AAoCD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/getUser.d.ts
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to retrieve information about a GitHub user.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as github from "@pulumi/github";
|
|
10
|
-
*
|
|
11
|
-
* const example = github.getUser({
|
|
12
|
-
* username: "example",
|
|
13
|
-
* });
|
|
14
|
-
* const current = github.getUser({
|
|
15
|
-
* username: "",
|
|
16
|
-
* });
|
|
17
|
-
* export const currentGithubLogin = current.then(current => current.login);
|
|
18
|
-
* ```
|
|
19
4
|
*/
|
|
20
5
|
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
21
6
|
/**
|
|
@@ -119,21 +104,6 @@ export interface GetUserResult {
|
|
|
119
104
|
}
|
|
120
105
|
/**
|
|
121
106
|
* Use this data source to retrieve information about a GitHub user.
|
|
122
|
-
*
|
|
123
|
-
* ## Example Usage
|
|
124
|
-
*
|
|
125
|
-
* ```typescript
|
|
126
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
127
|
-
* import * as github from "@pulumi/github";
|
|
128
|
-
*
|
|
129
|
-
* const example = github.getUser({
|
|
130
|
-
* username: "example",
|
|
131
|
-
* });
|
|
132
|
-
* const current = github.getUser({
|
|
133
|
-
* username: "",
|
|
134
|
-
* });
|
|
135
|
-
* export const currentGithubLogin = current.then(current => current.login);
|
|
136
|
-
* ```
|
|
137
107
|
*/
|
|
138
108
|
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
|
|
139
109
|
/**
|
package/getUser.js
CHANGED
|
@@ -7,21 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve information about a GitHub user.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as github from "@pulumi/github";
|
|
16
|
-
*
|
|
17
|
-
* const example = github.getUser({
|
|
18
|
-
* username: "example",
|
|
19
|
-
* });
|
|
20
|
-
* const current = github.getUser({
|
|
21
|
-
* username: "",
|
|
22
|
-
* });
|
|
23
|
-
* export const currentGithubLogin = current.then(current => current.login);
|
|
24
|
-
* ```
|
|
25
10
|
*/
|
|
26
11
|
function getUser(args, opts) {
|
|
27
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -32,21 +17,6 @@ function getUser(args, opts) {
|
|
|
32
17
|
exports.getUser = getUser;
|
|
33
18
|
/**
|
|
34
19
|
* Use this data source to retrieve information about a GitHub user.
|
|
35
|
-
*
|
|
36
|
-
* ## Example Usage
|
|
37
|
-
*
|
|
38
|
-
* ```typescript
|
|
39
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
-
* import * as github from "@pulumi/github";
|
|
41
|
-
*
|
|
42
|
-
* const example = github.getUser({
|
|
43
|
-
* username: "example",
|
|
44
|
-
* });
|
|
45
|
-
* const current = github.getUser({
|
|
46
|
-
* username: "",
|
|
47
|
-
* });
|
|
48
|
-
* export const currentGithubLogin = current.then(current => current.login);
|
|
49
|
-
* ```
|
|
50
20
|
*/
|
|
51
21
|
function getUserOutput(args, opts) {
|
|
52
22
|
return pulumi.output(args).apply((a) => getUser(a, opts));
|
package/getUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAsGD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
|
@@ -2,17 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Use this data source to retrieve a specific organization member's SAML or SCIM user
|
|
4
4
|
* attributes.
|
|
5
|
-
*
|
|
6
|
-
* ## Example Usage
|
|
7
|
-
*
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
-
* import * as github from "@pulumi/github";
|
|
11
|
-
*
|
|
12
|
-
* const exampleUser = github.getUserExternalIdentity({
|
|
13
|
-
* username: "example-user",
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
5
|
*/
|
|
17
6
|
export declare function getUserExternalIdentity(args: GetUserExternalIdentityArgs, opts?: pulumi.InvokeOptions): Promise<GetUserExternalIdentityResult>;
|
|
18
7
|
/**
|
|
@@ -58,17 +47,6 @@ export interface GetUserExternalIdentityResult {
|
|
|
58
47
|
/**
|
|
59
48
|
* Use this data source to retrieve a specific organization member's SAML or SCIM user
|
|
60
49
|
* attributes.
|
|
61
|
-
*
|
|
62
|
-
* ## Example Usage
|
|
63
|
-
*
|
|
64
|
-
* ```typescript
|
|
65
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
-
* import * as github from "@pulumi/github";
|
|
67
|
-
*
|
|
68
|
-
* const exampleUser = github.getUserExternalIdentity({
|
|
69
|
-
* username: "example-user",
|
|
70
|
-
* });
|
|
71
|
-
* ```
|
|
72
50
|
*/
|
|
73
51
|
export declare function getUserExternalIdentityOutput(args: GetUserExternalIdentityOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserExternalIdentityResult>;
|
|
74
52
|
/**
|
|
@@ -8,17 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Use this data source to retrieve a specific organization member's SAML or SCIM user
|
|
10
10
|
* attributes.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as github from "@pulumi/github";
|
|
17
|
-
*
|
|
18
|
-
* const exampleUser = github.getUserExternalIdentity({
|
|
19
|
-
* username: "example-user",
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
11
|
*/
|
|
23
12
|
function getUserExternalIdentity(args, opts) {
|
|
24
13
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -30,17 +19,6 @@ exports.getUserExternalIdentity = getUserExternalIdentity;
|
|
|
30
19
|
/**
|
|
31
20
|
* Use this data source to retrieve a specific organization member's SAML or SCIM user
|
|
32
21
|
* attributes.
|
|
33
|
-
*
|
|
34
|
-
* ## Example Usage
|
|
35
|
-
*
|
|
36
|
-
* ```typescript
|
|
37
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
-
* import * as github from "@pulumi/github";
|
|
39
|
-
*
|
|
40
|
-
* const exampleUser = github.getUserExternalIdentity({
|
|
41
|
-
* username: "example-user",
|
|
42
|
-
* });
|
|
43
|
-
* ```
|
|
44
22
|
*/
|
|
45
23
|
function getUserExternalIdentityOutput(args, opts) {
|
|
46
24
|
return pulumi.output(args).apply((a) => getUserExternalIdentity(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUserExternalIdentity.js","sourceRoot":"","sources":["../getUserExternalIdentity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getUserExternalIdentity.js","sourceRoot":"","sources":["../getUserExternalIdentity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAElG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAuCD;;;GAGG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,uBAAuB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,sEAEC"}
|