@pulumi/github 5.0.0 → 5.2.0-alpha.1673638210
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 +99 -0
- package/actionsEnvironmentSecret.js +68 -24
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.d.ts +74 -1
- package/actionsOrganizationPermissions.js +58 -22
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +110 -0
- package/actionsOrganizationSecret.js +76 -24
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.d.ts +47 -0
- package/actionsOrganizationSecretRepositories.js +51 -22
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRepositoryPermissions.d.ts +119 -0
- package/actionsRepositoryPermissions.js +91 -0
- package/actionsRepositoryPermissions.js.map +1 -0
- package/actionsRunnerGroup.d.ts +88 -0
- package/actionsRunnerGroup.js +47 -22
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.d.ts +70 -0
- package/actionsSecret.js +48 -24
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepositories.d.ts +81 -0
- package/appInstallationRepositories.js +78 -0
- package/appInstallationRepositories.js.map +1 -0
- package/appInstallationRepository.d.ts +53 -0
- package/appInstallationRepository.js +57 -22
- package/appInstallationRepository.js.map +1 -1
- package/branch.d.ts +92 -0
- package/branch.js +60 -22
- package/branch.js.map +1 -1
- package/branchDefault.d.ts +53 -0
- package/branchDefault.js +57 -22
- package/branchDefault.js.map +1 -1
- package/branchProtection.d.ts +175 -4
- package/branchProtection.js +83 -22
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.d.ts +140 -1
- package/branchProtectionV3.js +88 -22
- package/branchProtectionV3.js.map +1 -1
- package/config/vars.d.ts +1 -1
- package/config/vars.js.map +1 -1
- package/dependabotOrganizationSecret.js +26 -24
- package/dependabotOrganizationSecret.js.map +1 -1
- package/dependabotOrganizationSecretRepositories.js +22 -22
- package/dependabotOrganizationSecretRepositories.js.map +1 -1
- package/dependabotSecret.js +26 -24
- package/dependabotSecret.js.map +1 -1
- package/emuGroupMapping.d.ts +42 -0
- package/emuGroupMapping.js +46 -22
- package/emuGroupMapping.js.map +1 -1
- package/getActionsOrganizationRegistrationToken.d.ts +31 -0
- package/getActionsOrganizationRegistrationToken.js +25 -0
- package/getActionsOrganizationRegistrationToken.js.map +1 -0
- package/getActionsOrganizationSecrets.d.ts +16 -1
- package/getActionsOrganizationSecrets.js +13 -4
- package/getActionsOrganizationSecrets.js.map +1 -1
- package/getActionsPublicKey.d.ts +42 -0
- package/getActionsPublicKey.js +32 -5
- package/getActionsPublicKey.js.map +1 -1
- package/getActionsRegistrationToken.d.ts +67 -0
- package/getActionsRegistrationToken.js +47 -0
- package/getActionsRegistrationToken.js.map +1 -0
- package/getActionsSecrets.d.ts +47 -1
- package/getActionsSecrets.js +30 -5
- package/getActionsSecrets.js.map +1 -1
- package/getBranch.d.ts +51 -0
- package/getBranch.js +32 -5
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +52 -1
- package/getCollaborators.js +32 -5
- package/getCollaborators.js.map +1 -1
- package/getDependabotOrganizationSecrets.d.ts +28 -0
- package/getDependabotOrganizationSecrets.js +25 -0
- package/getDependabotOrganizationSecrets.js.map +1 -0
- package/getDependabotPublicKey.js +2 -5
- package/getDependabotPublicKey.js.map +1 -1
- package/getDependabotSecrets.d.ts +76 -0
- package/getDependabotSecrets.js +49 -0
- package/getDependabotSecrets.js.map +1 -0
- package/getExternalGroups.d.ts +18 -1
- package/getExternalGroups.js +15 -4
- package/getExternalGroups.js.map +1 -1
- package/getGithubApp.d.ts +71 -0
- package/getGithubApp.js +47 -0
- package/getGithubApp.js.map +1 -0
- package/getIpRanges.d.ts +84 -0
- package/getIpRanges.js +13 -4
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +59 -0
- package/getMembership.js +36 -5
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +58 -0
- package/getOrganization.js +30 -5
- package/getOrganization.js.map +1 -1
- package/getOrganizationIpAllowList.d.ts +31 -0
- package/getOrganizationIpAllowList.js +27 -0
- package/getOrganizationIpAllowList.js.map +1 -0
- package/getOrganizationTeamSyncGroups.d.ts +16 -1
- package/getOrganizationTeamSyncGroups.js +13 -4
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +87 -1
- package/getOrganizationTeams.js +54 -5
- package/getOrganizationTeams.js.map +1 -1
- package/getOrganizationWebhooks.d.ts +31 -0
- package/getOrganizationWebhooks.js +27 -0
- package/getOrganizationWebhooks.js.map +1 -0
- package/getRef.d.ts +48 -0
- package/getRef.js +32 -5
- package/getRef.js.map +1 -1
- package/getRelease.d.ts +92 -0
- package/getRelease.js +8 -5
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +70 -0
- package/getRepositories.js +40 -5
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +142 -4
- package/getRepository.js +30 -6
- package/getRepository.js.map +1 -1
- package/getRepositoryBranches.d.ts +82 -0
- package/getRepositoryBranches.js +49 -0
- package/getRepositoryBranches.js.map +1 -0
- package/getRepositoryDeployKeys.d.ts +64 -0
- package/getRepositoryDeployKeys.js +47 -0
- package/getRepositoryDeployKeys.js.map +1 -0
- package/getRepositoryFile.d.ts +72 -0
- package/getRepositoryFile.js +36 -5
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +62 -0
- package/getRepositoryMilestone.js +34 -5
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +90 -0
- package/getRepositoryPullRequest.js +32 -5
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +91 -1
- package/getRepositoryPullRequests.js +38 -5
- package/getRepositoryPullRequests.js.map +1 -1
- package/getRepositoryTeams.d.ts +47 -1
- package/getRepositoryTeams.js +30 -5
- package/getRepositoryTeams.js.map +1 -1
- package/getRepositoryWebhooks.d.ts +63 -0
- package/getRepositoryWebhooks.js +51 -0
- package/getRepositoryWebhooks.js.map +1 -0
- package/getTeam.d.ts +79 -0
- package/getTeam.js +32 -5
- package/getTeam.js.map +1 -1
- package/getTree.d.ts +70 -1
- package/getTree.js +50 -5
- package/getTree.js.map +1 -1
- package/getUser.d.ts +102 -0
- package/getUser.js +38 -5
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +55 -0
- package/getUsers.js +42 -5
- package/getUsers.js.map +1 -1
- package/index.d.ts +244 -68
- package/index.js +259 -171
- package/index.js.map +1 -1
- package/issue.d.ts +117 -6
- package/issue.js +85 -22
- package/issue.js.map +1 -1
- package/issueLabel.d.ts +64 -0
- package/issueLabel.js +44 -22
- package/issueLabel.js.map +1 -1
- package/membership.d.ts +49 -0
- package/membership.js +49 -21
- package/membership.js.map +1 -1
- package/organizationBlock.d.ts +21 -0
- package/organizationBlock.js +31 -19
- package/organizationBlock.js.map +1 -1
- package/organizationProject.d.ts +36 -0
- package/organizationProject.js +32 -20
- package/organizationProject.js.map +1 -1
- package/organizationSecurityManager.d.ts +67 -0
- package/organizationSecurityManager.js +71 -0
- package/organizationSecurityManager.js.map +1 -0
- package/organizationSettings.d.ts +394 -0
- package/organizationSettings.js +148 -0
- package/organizationSettings.js.map +1 -0
- package/organizationWebhook.d.ts +65 -1
- package/organizationWebhook.js +52 -22
- package/organizationWebhook.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +87 -0
- package/projectCard.js +73 -22
- package/projectCard.js.map +1 -1
- package/projectColumn.d.ts +31 -0
- package/projectColumn.js +35 -22
- package/projectColumn.js.map +1 -1
- package/provider.d.ts +1 -1
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/release.d.ts +194 -0
- package/release.js +121 -0
- package/release.js.map +1 -0
- package/repository.d.ts +396 -4
- package/repository.js +72 -22
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.d.ts +54 -6
- package/repositoryAutolinkReference.js +54 -22
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.d.ts +90 -0
- package/repositoryCollaborator.js +64 -22
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.d.ts +71 -0
- package/repositoryDeployKey.js +57 -22
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.d.ts +63 -1
- package/repositoryEnvironment.js +56 -22
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.d.ts +70 -30
- package/repositoryFile.js +59 -22
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.d.ts +81 -3
- package/repositoryMilestone.js +49 -22
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.d.ts +52 -0
- package/repositoryProject.js +41 -22
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.d.ts +127 -4
- package/repositoryPullRequest.js +40 -22
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryTagProtection.d.ts +41 -0
- package/repositoryTagProtection.js +45 -22
- package/repositoryTagProtection.js.map +1 -1
- package/repositoryWebhook.d.ts +81 -1
- package/repositoryWebhook.js +59 -22
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +100 -0
- package/team.js +49 -22
- package/team.js.map +1 -1
- package/teamMembers.d.ts +60 -1
- package/teamMembers.js +62 -22
- package/teamMembers.js.map +1 -1
- package/teamMembership.d.ts +67 -0
- package/teamMembership.js +59 -22
- package/teamMembership.js.map +1 -1
- package/teamRepository.d.ts +59 -3
- package/teamRepository.js +57 -22
- package/teamRepository.js.map +1 -1
- package/teamSettings.d.ts +119 -0
- package/teamSettings.js +99 -0
- package/teamSettings.js.map +1 -0
- package/teamSyncGroupMapping.d.ts +38 -1
- package/teamSyncGroupMapping.js +36 -21
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +208 -1
- package/types/output.d.ts +555 -1
- package/userGpgKey.d.ts +39 -0
- package/userGpgKey.js +42 -21
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.d.ts +30 -0
- package/userInvitationAccepter.js +38 -17
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.d.ts +50 -0
- package/userSshKey.js +48 -22
- package/userSshKey.js.map +1 -1
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
package/getActionsSecrets.d.ts
CHANGED
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve the list of secrets for a GitHub repository.
|
|
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.getActionsSecrets({
|
|
13
|
+
* name: "example",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
3
17
|
export declare function getActionsSecrets(args?: GetActionsSecretsArgs, opts?: pulumi.InvokeOptions): Promise<GetActionsSecretsResult>;
|
|
4
18
|
/**
|
|
5
19
|
* A collection of arguments for invoking getActionsSecrets.
|
|
6
20
|
*/
|
|
7
21
|
export interface GetActionsSecretsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* Full name of the repository (in `org/name` format).
|
|
24
|
+
*/
|
|
8
25
|
fullName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the repository.
|
|
28
|
+
*/
|
|
9
29
|
name?: string;
|
|
10
30
|
}
|
|
11
31
|
/**
|
|
@@ -17,14 +37,40 @@ export interface GetActionsSecretsResult {
|
|
|
17
37
|
* The provider-assigned unique ID for this managed resource.
|
|
18
38
|
*/
|
|
19
39
|
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* Secret name
|
|
42
|
+
*/
|
|
20
43
|
readonly name: string;
|
|
44
|
+
/**
|
|
45
|
+
* list of secrets for the repository
|
|
46
|
+
*/
|
|
21
47
|
readonly secrets: outputs.GetActionsSecretsSecret[];
|
|
22
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Use this data source to retrieve the list of secrets for a GitHub repository.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as github from "@pulumi/github";
|
|
57
|
+
*
|
|
58
|
+
* const example = github.getActionsSecrets({
|
|
59
|
+
* name: "example",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
23
63
|
export declare function getActionsSecretsOutput(args?: GetActionsSecretsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetActionsSecretsResult>;
|
|
24
64
|
/**
|
|
25
65
|
* A collection of arguments for invoking getActionsSecrets.
|
|
26
66
|
*/
|
|
27
67
|
export interface GetActionsSecretsOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* Full name of the repository (in `org/name` format).
|
|
70
|
+
*/
|
|
28
71
|
fullName?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the repository.
|
|
74
|
+
*/
|
|
29
75
|
name?: pulumi.Input<string>;
|
|
30
76
|
}
|
package/getActionsSecrets.js
CHANGED
|
@@ -5,20 +5,45 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getActionsSecretsOutput = exports.getActionsSecrets = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve the list of secrets for 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.getActionsSecrets({
|
|
18
|
+
* name: "example",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
8
22
|
function getActionsSecrets(args, opts) {
|
|
9
23
|
args = args || {};
|
|
10
|
-
|
|
11
|
-
opts = {};
|
|
12
|
-
}
|
|
13
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
25
|
return pulumi.runtime.invoke("github:index/getActionsSecrets:getActionsSecrets", {
|
|
15
26
|
"fullName": args.fullName,
|
|
16
27
|
"name": args.name,
|
|
17
28
|
}, opts);
|
|
18
29
|
}
|
|
19
30
|
exports.getActionsSecrets = getActionsSecrets;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to retrieve the list of secrets for 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.getActionsSecrets({
|
|
41
|
+
* name: "example",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
20
45
|
function getActionsSecretsOutput(args, opts) {
|
|
21
|
-
return pulumi.output(args).apply(a => getActionsSecrets(a, opts));
|
|
46
|
+
return pulumi.output(args).apply((a) => getActionsSecrets(a, opts));
|
|
22
47
|
}
|
|
23
48
|
exports.getActionsSecretsOutput = getActionsSecretsOutput;
|
|
24
49
|
//# sourceMappingURL=getActionsSecrets.js.map
|
package/getActionsSecrets.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActionsSecrets.js","sourceRoot":"","sources":["../getActionsSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getActionsSecrets.js","sourceRoot":"","sources":["../getActionsSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8CAQC;AAkCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/getBranch.d.ts
CHANGED
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about a repository branch.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as github from "@pulumi/github";
|
|
10
|
+
*
|
|
11
|
+
* const development = github.getBranch({
|
|
12
|
+
* branch: "development",
|
|
13
|
+
* repository: "example",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
2
17
|
export declare function getBranch(args: GetBranchArgs, opts?: pulumi.InvokeOptions): Promise<GetBranchResult>;
|
|
3
18
|
/**
|
|
4
19
|
* A collection of arguments for invoking getBranch.
|
|
5
20
|
*/
|
|
6
21
|
export interface GetBranchArgs {
|
|
22
|
+
/**
|
|
23
|
+
* The repository branch to create.
|
|
24
|
+
*/
|
|
7
25
|
branch: string;
|
|
26
|
+
/**
|
|
27
|
+
* The GitHub repository name.
|
|
28
|
+
*/
|
|
8
29
|
repository: string;
|
|
9
30
|
}
|
|
10
31
|
/**
|
|
@@ -12,20 +33,50 @@ export interface GetBranchArgs {
|
|
|
12
33
|
*/
|
|
13
34
|
export interface GetBranchResult {
|
|
14
35
|
readonly branch: string;
|
|
36
|
+
/**
|
|
37
|
+
* An etag representing the Branch object.
|
|
38
|
+
*/
|
|
15
39
|
readonly etag: string;
|
|
16
40
|
/**
|
|
17
41
|
* The provider-assigned unique ID for this managed resource.
|
|
18
42
|
*/
|
|
19
43
|
readonly id: string;
|
|
44
|
+
/**
|
|
45
|
+
* A string representing a branch reference, in the form of `refs/heads/<branch>`.
|
|
46
|
+
*/
|
|
20
47
|
readonly ref: string;
|
|
21
48
|
readonly repository: string;
|
|
49
|
+
/**
|
|
50
|
+
* A string storing the reference's `HEAD` commit's SHA1.
|
|
51
|
+
*/
|
|
22
52
|
readonly sha: string;
|
|
23
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Use this data source to retrieve information about a repository branch.
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as github from "@pulumi/github";
|
|
62
|
+
*
|
|
63
|
+
* const development = github.getBranch({
|
|
64
|
+
* branch: "development",
|
|
65
|
+
* repository: "example",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
24
69
|
export declare function getBranchOutput(args: GetBranchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBranchResult>;
|
|
25
70
|
/**
|
|
26
71
|
* A collection of arguments for invoking getBranch.
|
|
27
72
|
*/
|
|
28
73
|
export interface GetBranchOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The repository branch to create.
|
|
76
|
+
*/
|
|
29
77
|
branch: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The GitHub repository name.
|
|
80
|
+
*/
|
|
30
81
|
repository: pulumi.Input<string>;
|
|
31
82
|
}
|
package/getBranch.js
CHANGED
|
@@ -5,19 +5,46 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getBranchOutput = exports.getBranch = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about a repository branch.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as github from "@pulumi/github";
|
|
16
|
+
*
|
|
17
|
+
* const development = github.getBranch({
|
|
18
|
+
* branch: "development",
|
|
19
|
+
* repository: "example",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
8
23
|
function getBranch(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
25
|
return pulumi.runtime.invoke("github:index/getBranch:getBranch", {
|
|
14
26
|
"branch": args.branch,
|
|
15
27
|
"repository": args.repository,
|
|
16
28
|
}, opts);
|
|
17
29
|
}
|
|
18
30
|
exports.getBranch = getBranch;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to retrieve information about a repository branch.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as github from "@pulumi/github";
|
|
39
|
+
*
|
|
40
|
+
* const development = github.getBranch({
|
|
41
|
+
* branch: "development",
|
|
42
|
+
* repository: "example",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
19
46
|
function getBranchOutput(args, opts) {
|
|
20
|
-
return pulumi.output(args).apply(a => getBranch(a, opts));
|
|
47
|
+
return pulumi.output(args).apply((a) => getBranch(a, opts));
|
|
21
48
|
}
|
|
22
49
|
exports.getBranchOutput = getBranchOutput;
|
|
23
50
|
//# sourceMappingURL=getBranch.js.map
|
package/getBranch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getBranch.js","sourceRoot":"","sources":["../getBranch.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAuCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|
package/getCollaborators.d.ts
CHANGED
|
@@ -1,12 +1,36 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve the collaborators for a given repository.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as github from "@pulumi/github";
|
|
11
|
+
*
|
|
12
|
+
* const test = github.getCollaborators({
|
|
13
|
+
* owner: "example_owner",
|
|
14
|
+
* repository: "example_repository",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
3
18
|
export declare function getCollaborators(args: GetCollaboratorsArgs, opts?: pulumi.InvokeOptions): Promise<GetCollaboratorsResult>;
|
|
4
19
|
/**
|
|
5
20
|
* A collection of arguments for invoking getCollaborators.
|
|
6
21
|
*/
|
|
7
22
|
export interface GetCollaboratorsArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`.
|
|
25
|
+
*/
|
|
8
26
|
affiliation?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The organization that owns the repository.
|
|
29
|
+
*/
|
|
9
30
|
owner: string;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the repository.
|
|
33
|
+
*/
|
|
10
34
|
repository: string;
|
|
11
35
|
}
|
|
12
36
|
/**
|
|
@@ -14,6 +38,9 @@ export interface GetCollaboratorsArgs {
|
|
|
14
38
|
*/
|
|
15
39
|
export interface GetCollaboratorsResult {
|
|
16
40
|
readonly affiliation?: string;
|
|
41
|
+
/**
|
|
42
|
+
* An Array of GitHub collaborators. Each `collaborator` block consists of the fields documented below.
|
|
43
|
+
*/
|
|
17
44
|
readonly collaborators: outputs.GetCollaboratorsCollaborator[];
|
|
18
45
|
/**
|
|
19
46
|
* The provider-assigned unique ID for this managed resource.
|
|
@@ -22,12 +49,36 @@ export interface GetCollaboratorsResult {
|
|
|
22
49
|
readonly owner: string;
|
|
23
50
|
readonly repository: string;
|
|
24
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Use this data source to retrieve the collaborators for a given repository.
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* ```typescript
|
|
58
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
59
|
+
* import * as github from "@pulumi/github";
|
|
60
|
+
*
|
|
61
|
+
* const test = github.getCollaborators({
|
|
62
|
+
* owner: "example_owner",
|
|
63
|
+
* repository: "example_repository",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
25
67
|
export declare function getCollaboratorsOutput(args: GetCollaboratorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCollaboratorsResult>;
|
|
26
68
|
/**
|
|
27
69
|
* A collection of arguments for invoking getCollaborators.
|
|
28
70
|
*/
|
|
29
71
|
export interface GetCollaboratorsOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`.
|
|
74
|
+
*/
|
|
30
75
|
affiliation?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* The organization that owns the repository.
|
|
78
|
+
*/
|
|
31
79
|
owner: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the repository.
|
|
82
|
+
*/
|
|
32
83
|
repository: pulumi.Input<string>;
|
|
33
84
|
}
|
package/getCollaborators.js
CHANGED
|
@@ -5,11 +5,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getCollaboratorsOutput = exports.getCollaborators = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve the collaborators for a given 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 test = github.getCollaborators({
|
|
18
|
+
* owner: "example_owner",
|
|
19
|
+
* repository: "example_repository",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
8
23
|
function getCollaborators(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
25
|
return pulumi.runtime.invoke("github:index/getCollaborators:getCollaborators", {
|
|
14
26
|
"affiliation": args.affiliation,
|
|
15
27
|
"owner": args.owner,
|
|
@@ -17,8 +29,23 @@ function getCollaborators(args, opts) {
|
|
|
17
29
|
}, opts);
|
|
18
30
|
}
|
|
19
31
|
exports.getCollaborators = getCollaborators;
|
|
32
|
+
/**
|
|
33
|
+
* Use this data source to retrieve the collaborators for a given repository.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as github from "@pulumi/github";
|
|
40
|
+
*
|
|
41
|
+
* const test = github.getCollaborators({
|
|
42
|
+
* owner: "example_owner",
|
|
43
|
+
* repository: "example_repository",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
20
47
|
function getCollaboratorsOutput(args, opts) {
|
|
21
|
-
return pulumi.output(args).apply(a => getCollaborators(a, opts));
|
|
48
|
+
return pulumi.output(args).apply((a) => getCollaborators(a, opts));
|
|
22
49
|
}
|
|
23
50
|
exports.getCollaboratorsOutput = getCollaboratorsOutput;
|
|
24
51
|
//# sourceMappingURL=getCollaborators.js.map
|
package/getCollaborators.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCollaborators.js","sourceRoot":"","sources":["../getCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"getCollaborators.js","sourceRoot":"","sources":["../getCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC;AAoCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve the list of dependabot secrets of the organization.
|
|
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.getDependabotOrganizationSecrets({});
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getDependabotOrganizationSecrets(opts?: pulumi.InvokeOptions): Promise<GetDependabotOrganizationSecretsResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getDependabotOrganizationSecrets.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetDependabotOrganizationSecretsResult {
|
|
20
|
+
/**
|
|
21
|
+
* The provider-assigned unique ID for this managed resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly id: string;
|
|
24
|
+
/**
|
|
25
|
+
* list of secrets for the repository
|
|
26
|
+
*/
|
|
27
|
+
readonly secrets: outputs.GetDependabotOrganizationSecretsSecret[];
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDependabotOrganizationSecrets = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve the list of dependabot secrets of the organization.
|
|
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.getDependabotOrganizationSecrets({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getDependabotOrganizationSecrets(opts) {
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("github:index/getDependabotOrganizationSecrets:getDependabotOrganizationSecrets", {}, opts);
|
|
23
|
+
}
|
|
24
|
+
exports.getDependabotOrganizationSecrets = getDependabotOrganizationSecrets;
|
|
25
|
+
//# sourceMappingURL=getDependabotOrganizationSecrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDependabotOrganizationSecrets.js","sourceRoot":"","sources":["../getDependabotOrganizationSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,gCAAgC,CAAC,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,gFAAgF,EAAE,EAC9G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4EAKC"}
|
|
@@ -6,17 +6,14 @@ exports.getDependabotPublicKeyOutput = exports.getDependabotPublicKey = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
function getDependabotPublicKey(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
10
|
return pulumi.runtime.invoke("github:index/getDependabotPublicKey:getDependabotPublicKey", {
|
|
14
11
|
"repository": args.repository,
|
|
15
12
|
}, opts);
|
|
16
13
|
}
|
|
17
14
|
exports.getDependabotPublicKey = getDependabotPublicKey;
|
|
18
15
|
function getDependabotPublicKeyOutput(args, opts) {
|
|
19
|
-
return pulumi.output(args).apply(a => getDependabotPublicKey(a, opts));
|
|
16
|
+
return pulumi.output(args).apply((a) => getDependabotPublicKey(a, opts));
|
|
20
17
|
}
|
|
21
18
|
exports.getDependabotPublicKeyOutput = getDependabotPublicKeyOutput;
|
|
22
19
|
//# sourceMappingURL=getDependabotPublicKey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDependabotPublicKey.js","sourceRoot":"","sources":["../getDependabotPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getDependabotPublicKey.js","sourceRoot":"","sources":["../getDependabotPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAqBD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve the list of dependabot secrets for a GitHub repository.
|
|
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.getDependabotSecrets({
|
|
13
|
+
* name: "example",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getDependabotSecrets(args?: GetDependabotSecretsArgs, opts?: pulumi.InvokeOptions): Promise<GetDependabotSecretsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getDependabotSecrets.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetDependabotSecretsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* Full name of the repository (in `org/name` format).
|
|
24
|
+
*/
|
|
25
|
+
fullName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The name of the repository.
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* A collection of values returned by getDependabotSecrets.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetDependabotSecretsResult {
|
|
35
|
+
readonly fullName: string;
|
|
36
|
+
/**
|
|
37
|
+
* The provider-assigned unique ID for this managed resource.
|
|
38
|
+
*/
|
|
39
|
+
readonly id: string;
|
|
40
|
+
/**
|
|
41
|
+
* Secret name
|
|
42
|
+
*/
|
|
43
|
+
readonly name: string;
|
|
44
|
+
/**
|
|
45
|
+
* list of dependabot secrets for the repository
|
|
46
|
+
*/
|
|
47
|
+
readonly secrets: outputs.GetDependabotSecretsSecret[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Use this data source to retrieve the list of dependabot secrets for a GitHub repository.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ```typescript
|
|
55
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
56
|
+
* import * as github from "@pulumi/github";
|
|
57
|
+
*
|
|
58
|
+
* const example = github.getDependabotSecrets({
|
|
59
|
+
* name: "example",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function getDependabotSecretsOutput(args?: GetDependabotSecretsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDependabotSecretsResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking getDependabotSecrets.
|
|
66
|
+
*/
|
|
67
|
+
export interface GetDependabotSecretsOutputArgs {
|
|
68
|
+
/**
|
|
69
|
+
* Full name of the repository (in `org/name` format).
|
|
70
|
+
*/
|
|
71
|
+
fullName?: pulumi.Input<string>;
|
|
72
|
+
/**
|
|
73
|
+
* The name of the repository.
|
|
74
|
+
*/
|
|
75
|
+
name?: pulumi.Input<string>;
|
|
76
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDependabotSecretsOutput = exports.getDependabotSecrets = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve the list of dependabot secrets for 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.getDependabotSecrets({
|
|
18
|
+
* name: "example",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getDependabotSecrets(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("github:index/getDependabotSecrets:getDependabotSecrets", {
|
|
26
|
+
"fullName": args.fullName,
|
|
27
|
+
"name": args.name,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getDependabotSecrets = getDependabotSecrets;
|
|
31
|
+
/**
|
|
32
|
+
* Use this data source to retrieve the list of dependabot secrets for 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.getDependabotSecrets({
|
|
41
|
+
* name: "example",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
function getDependabotSecretsOutput(args, opts) {
|
|
46
|
+
return pulumi.output(args).apply((a) => getDependabotSecrets(a, opts));
|
|
47
|
+
}
|
|
48
|
+
exports.getDependabotSecretsOutput = getDependabotSecretsOutput;
|
|
49
|
+
//# sourceMappingURL=getDependabotSecrets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDependabotSecrets.js","sourceRoot":"","sources":["../getDependabotSecrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,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,wDAAwD,EAAE;QACnF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AAkCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
package/getExternalGroups.d.ts
CHANGED
|
@@ -1,10 +1,27 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Use this data source to retrieve external groups belonging to an organization.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as github from "@pulumi/github";
|
|
11
|
+
*
|
|
12
|
+
* const exampleExternalGroups = github.getExternalGroups({});
|
|
13
|
+
* const localGroups = exampleExternalGroups;
|
|
14
|
+
* export const groups = localGroups;
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
3
17
|
export declare function getExternalGroups(opts?: pulumi.InvokeOptions): Promise<GetExternalGroupsResult>;
|
|
4
18
|
/**
|
|
5
19
|
* A collection of values returned by getExternalGroups.
|
|
6
20
|
*/
|
|
7
21
|
export interface GetExternalGroupsResult {
|
|
22
|
+
/**
|
|
23
|
+
* an array of external groups belonging to the organization. Each group consists of the fields documented below.
|
|
24
|
+
*/
|
|
8
25
|
readonly externalGroups: outputs.GetExternalGroupsExternalGroup[];
|
|
9
26
|
/**
|
|
10
27
|
* The provider-assigned unique ID for this managed resource.
|