@pulumi/github 4.7.0 → 4.8.1
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/README.md +1 -1
- package/actionsEnvironmentSecret.js +17 -16
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationPermissions.js +11 -10
- package/actionsOrganizationPermissions.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +12 -0
- package/actionsOrganizationSecret.js +17 -16
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsOrganizationSecretRepositories.js +7 -6
- package/actionsOrganizationSecretRepositories.js.map +1 -1
- package/actionsRunnerGroup.js +21 -20
- package/actionsRunnerGroup.js.map +1 -1
- package/actionsSecret.js +15 -14
- package/actionsSecret.js.map +1 -1
- package/appInstallationRepository.js +9 -8
- package/appInstallationRepository.js.map +1 -1
- package/branch.js +17 -16
- package/branch.js.map +1 -1
- package/branchDefault.js +7 -6
- package/branchDefault.js.map +1 -1
- package/branchProtection.js +23 -22
- package/branchProtection.js.map +1 -1
- package/branchProtectionV3.js +19 -18
- package/branchProtectionV3.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +7 -7
- package/config/vars.js +44 -30
- package/config/vars.js.map +1 -1
- package/getActionsPublicKey.d.ts +10 -0
- package/getActionsPublicKey.js +5 -0
- package/getActionsPublicKey.js.map +1 -1
- package/getBranch.d.ts +14 -0
- package/getBranch.js +5 -0
- package/getBranch.js.map +1 -1
- package/getCollaborators.d.ts +18 -0
- package/getCollaborators.js +5 -0
- package/getCollaborators.js.map +1 -1
- package/getIpRanges.js +1 -0
- package/getIpRanges.js.map +1 -1
- package/getMembership.d.ts +14 -0
- package/getMembership.js +5 -0
- package/getMembership.js.map +1 -1
- package/getOrganization.d.ts +10 -0
- package/getOrganization.js +5 -0
- package/getOrganization.js.map +1 -1
- package/getOrganizationTeamSyncGroups.js +1 -0
- package/getOrganizationTeamSyncGroups.js.map +1 -1
- package/getOrganizationTeams.d.ts +10 -0
- package/getOrganizationTeams.js +5 -0
- package/getOrganizationTeams.js.map +1 -1
- package/getRelease.d.ts +26 -0
- package/getRelease.js +5 -0
- package/getRelease.js.map +1 -1
- package/getRepositories.d.ts +14 -0
- package/getRepositories.js +5 -0
- package/getRepositories.js.map +1 -1
- package/getRepository.d.ts +22 -0
- package/getRepository.js +5 -0
- package/getRepository.js.map +1 -1
- package/getRepositoryFile.d.ts +19 -0
- package/getRepositoryFile.js +5 -0
- package/getRepositoryFile.js.map +1 -1
- package/getRepositoryMilestone.d.ts +18 -0
- package/getRepositoryMilestone.js +5 -0
- package/getRepositoryMilestone.js.map +1 -1
- package/getRepositoryPullRequest.d.ts +18 -0
- package/getRepositoryPullRequest.js +5 -0
- package/getRepositoryPullRequest.js.map +1 -1
- package/getRepositoryPullRequests.d.ts +34 -0
- package/getRepositoryPullRequests.js +5 -0
- package/getRepositoryPullRequests.js.map +1 -1
- package/getTeam.d.ts +10 -0
- package/getTeam.js +5 -0
- package/getTeam.js.map +1 -1
- package/getUser.d.ts +10 -0
- package/getUser.js +5 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +10 -0
- package/getUsers.js +5 -0
- package/getUsers.js.map +1 -1
- package/index.js +65 -57
- package/index.js.map +1 -1
- package/issueLabel.js +15 -14
- package/issueLabel.js.map +1 -1
- package/membership.js +9 -8
- package/membership.js.map +1 -1
- package/organizationBlock.js +7 -6
- package/organizationBlock.js.map +1 -1
- package/organizationProject.js +11 -10
- package/organizationProject.js.map +1 -1
- package/organizationWebhook.js +13 -12
- package/organizationWebhook.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/projectCard.js +11 -10
- package/projectCard.js.map +1 -1
- package/projectColumn.js +11 -10
- package/projectColumn.js.map +1 -1
- package/provider.js +10 -9
- package/provider.js.map +1 -1
- package/repository.js +71 -70
- package/repository.js.map +1 -1
- package/repositoryAutolinkReference.js +11 -10
- package/repositoryAutolinkReference.js.map +1 -1
- package/repositoryCollaborator.js +13 -12
- package/repositoryCollaborator.js.map +1 -1
- package/repositoryDeployKey.js +13 -12
- package/repositoryDeployKey.js.map +1 -1
- package/repositoryEnvironment.js +13 -12
- package/repositoryEnvironment.js.map +1 -1
- package/repositoryFile.js +23 -22
- package/repositoryFile.js.map +1 -1
- package/repositoryMilestone.js +17 -16
- package/repositoryMilestone.js.map +1 -1
- package/repositoryProject.js +13 -12
- package/repositoryProject.js.map +1 -1
- package/repositoryPullRequest.js +35 -34
- package/repositoryPullRequest.js.map +1 -1
- package/repositoryWebhook.js +15 -14
- package/repositoryWebhook.js.map +1 -1
- package/team.d.ts +3 -3
- package/team.js +23 -22
- package/team.js.map +1 -1
- package/teamMembership.js +11 -10
- package/teamMembership.js.map +1 -1
- package/teamRepository.js +11 -10
- package/teamRepository.js.map +1 -1
- package/teamSyncGroupMapping.d.ts +0 -20
- package/teamSyncGroupMapping.js +9 -28
- package/teamSyncGroupMapping.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/output.d.ts +0 -5
- package/userGpgKey.js +9 -8
- package/userGpgKey.js.map +1 -1
- package/userInvitationAccepter.js +5 -4
- package/userInvitationAccepter.js.map +1 -1
- package/userSshKey.js +11 -10
- package/userSshKey.js.map +1 -1
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
package/branchDefault.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BranchDefault = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -41,12 +42,12 @@ const utilities = require("./utilities");
|
|
|
41
42
|
*/
|
|
42
43
|
class BranchDefault extends pulumi.CustomResource {
|
|
43
44
|
constructor(name, argsOrState, opts) {
|
|
44
|
-
let
|
|
45
|
+
let resourceInputs = {};
|
|
45
46
|
opts = opts || {};
|
|
46
47
|
if (opts.id) {
|
|
47
48
|
const state = argsOrState;
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
resourceInputs["branch"] = state ? state.branch : undefined;
|
|
50
|
+
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
50
51
|
}
|
|
51
52
|
else {
|
|
52
53
|
const args = argsOrState;
|
|
@@ -56,13 +57,13 @@ class BranchDefault extends pulumi.CustomResource {
|
|
|
56
57
|
if ((!args || args.repository === undefined) && !opts.urn) {
|
|
57
58
|
throw new Error("Missing required property 'repository'");
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
-
|
|
60
|
+
resourceInputs["branch"] = args ? args.branch : undefined;
|
|
61
|
+
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
61
62
|
}
|
|
62
63
|
if (!opts.version) {
|
|
63
64
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
64
65
|
}
|
|
65
|
-
super(BranchDefault.__pulumiType, name,
|
|
66
|
+
super(BranchDefault.__pulumiType, name, resourceInputs, opts);
|
|
66
67
|
}
|
|
67
68
|
/**
|
|
68
69
|
* Get an existing BranchDefault resource's state with the given name, ID, and optional extra
|
package/branchDefault.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchDefault.js","sourceRoot":"","sources":["../branchDefault.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"branchDefault.js","sourceRoot":"","sources":["../branchDefault.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA6CpD,YAAY,IA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,IAAI,CAAC,CAAC;IAClE,CAAC;IAlED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAoEC;AAtDG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/branchProtection.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BranchProtection = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -59,20 +60,20 @@ const utilities = require("./utilities");
|
|
|
59
60
|
*/
|
|
60
61
|
class BranchProtection extends pulumi.CustomResource {
|
|
61
62
|
constructor(name, argsOrState, opts) {
|
|
62
|
-
let
|
|
63
|
+
let resourceInputs = {};
|
|
63
64
|
opts = opts || {};
|
|
64
65
|
if (opts.id) {
|
|
65
66
|
const state = argsOrState;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
67
|
+
resourceInputs["allowsDeletions"] = state ? state.allowsDeletions : undefined;
|
|
68
|
+
resourceInputs["allowsForcePushes"] = state ? state.allowsForcePushes : undefined;
|
|
69
|
+
resourceInputs["enforceAdmins"] = state ? state.enforceAdmins : undefined;
|
|
70
|
+
resourceInputs["pattern"] = state ? state.pattern : undefined;
|
|
71
|
+
resourceInputs["pushRestrictions"] = state ? state.pushRestrictions : undefined;
|
|
72
|
+
resourceInputs["repositoryId"] = state ? state.repositoryId : undefined;
|
|
73
|
+
resourceInputs["requireSignedCommits"] = state ? state.requireSignedCommits : undefined;
|
|
74
|
+
resourceInputs["requiredLinearHistory"] = state ? state.requiredLinearHistory : undefined;
|
|
75
|
+
resourceInputs["requiredPullRequestReviews"] = state ? state.requiredPullRequestReviews : undefined;
|
|
76
|
+
resourceInputs["requiredStatusChecks"] = state ? state.requiredStatusChecks : undefined;
|
|
76
77
|
}
|
|
77
78
|
else {
|
|
78
79
|
const args = argsOrState;
|
|
@@ -82,21 +83,21 @@ class BranchProtection extends pulumi.CustomResource {
|
|
|
82
83
|
if ((!args || args.repositoryId === undefined) && !opts.urn) {
|
|
83
84
|
throw new Error("Missing required property 'repositoryId'");
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
resourceInputs["allowsDeletions"] = args ? args.allowsDeletions : undefined;
|
|
87
|
+
resourceInputs["allowsForcePushes"] = args ? args.allowsForcePushes : undefined;
|
|
88
|
+
resourceInputs["enforceAdmins"] = args ? args.enforceAdmins : undefined;
|
|
89
|
+
resourceInputs["pattern"] = args ? args.pattern : undefined;
|
|
90
|
+
resourceInputs["pushRestrictions"] = args ? args.pushRestrictions : undefined;
|
|
91
|
+
resourceInputs["repositoryId"] = args ? args.repositoryId : undefined;
|
|
92
|
+
resourceInputs["requireSignedCommits"] = args ? args.requireSignedCommits : undefined;
|
|
93
|
+
resourceInputs["requiredLinearHistory"] = args ? args.requiredLinearHistory : undefined;
|
|
94
|
+
resourceInputs["requiredPullRequestReviews"] = args ? args.requiredPullRequestReviews : undefined;
|
|
95
|
+
resourceInputs["requiredStatusChecks"] = args ? args.requiredStatusChecks : undefined;
|
|
95
96
|
}
|
|
96
97
|
if (!opts.version) {
|
|
97
98
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
98
99
|
}
|
|
99
|
-
super(BranchProtection.__pulumiType, name,
|
|
100
|
+
super(BranchProtection.__pulumiType, name, resourceInputs, opts);
|
|
100
101
|
}
|
|
101
102
|
/**
|
|
102
103
|
* Get an existing BranchProtection resource's state with the given name, ID, and optional extra
|
package/branchProtection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchProtection.js","sourceRoot":"","sources":["../branchProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"branchProtection.js","sourceRoot":"","sources":["../branchProtection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA6EvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAA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G,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;IAlHD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;;AA1BL,4CAoHC;AAtGG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
|
package/branchProtectionV3.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.BranchProtectionV3 = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -72,18 +73,18 @@ const utilities = require("./utilities");
|
|
|
72
73
|
*/
|
|
73
74
|
class BranchProtectionV3 extends pulumi.CustomResource {
|
|
74
75
|
constructor(name, argsOrState, opts) {
|
|
75
|
-
let
|
|
76
|
+
let resourceInputs = {};
|
|
76
77
|
opts = opts || {};
|
|
77
78
|
if (opts.id) {
|
|
78
79
|
const state = argsOrState;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
resourceInputs["branch"] = state ? state.branch : undefined;
|
|
81
|
+
resourceInputs["enforceAdmins"] = state ? state.enforceAdmins : undefined;
|
|
82
|
+
resourceInputs["etag"] = state ? state.etag : undefined;
|
|
83
|
+
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
84
|
+
resourceInputs["requireSignedCommits"] = state ? state.requireSignedCommits : undefined;
|
|
85
|
+
resourceInputs["requiredPullRequestReviews"] = state ? state.requiredPullRequestReviews : undefined;
|
|
86
|
+
resourceInputs["requiredStatusChecks"] = state ? state.requiredStatusChecks : undefined;
|
|
87
|
+
resourceInputs["restrictions"] = state ? state.restrictions : undefined;
|
|
87
88
|
}
|
|
88
89
|
else {
|
|
89
90
|
const args = argsOrState;
|
|
@@ -93,19 +94,19 @@ class BranchProtectionV3 extends pulumi.CustomResource {
|
|
|
93
94
|
if ((!args || args.repository === undefined) && !opts.urn) {
|
|
94
95
|
throw new Error("Missing required property 'repository'");
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
resourceInputs["branch"] = args ? args.branch : undefined;
|
|
98
|
+
resourceInputs["enforceAdmins"] = args ? args.enforceAdmins : undefined;
|
|
99
|
+
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
100
|
+
resourceInputs["requireSignedCommits"] = args ? args.requireSignedCommits : undefined;
|
|
101
|
+
resourceInputs["requiredPullRequestReviews"] = args ? args.requiredPullRequestReviews : undefined;
|
|
102
|
+
resourceInputs["requiredStatusChecks"] = args ? args.requiredStatusChecks : undefined;
|
|
103
|
+
resourceInputs["restrictions"] = args ? args.restrictions : undefined;
|
|
104
|
+
resourceInputs["etag"] = undefined /*out*/;
|
|
104
105
|
}
|
|
105
106
|
if (!opts.version) {
|
|
106
107
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
107
108
|
}
|
|
108
|
-
super(BranchProtectionV3.__pulumiType, name,
|
|
109
|
+
super(BranchProtectionV3.__pulumiType, name, resourceInputs, opts);
|
|
109
110
|
}
|
|
110
111
|
/**
|
|
111
112
|
* Get an existing BranchProtectionV3 resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"branchProtectionV3.js","sourceRoot":"","sources":["../branchProtectionV3.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"branchProtectionV3.js","sourceRoot":"","sources":["../branchProtectionV3.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAkEzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,YAA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AvFG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
|
package/config/index.js
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
}
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
7
|
+
}) : (function(o, m, k, k2) {
|
|
8
|
+
if (k2 === undefined) k2 = k;
|
|
9
|
+
o[k2] = m[k];
|
|
10
|
+
}));
|
|
11
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
13
|
+
};
|
|
7
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
15
|
// Export members:
|
|
9
|
-
|
|
16
|
+
__exportStar(require("./vars"), exports);
|
|
10
17
|
//# sourceMappingURL=index.js.map
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.d.ts
CHANGED
|
@@ -3,28 +3,28 @@ import { output as outputs } from "../types";
|
|
|
3
3
|
* The GitHub App credentials used to connect to GitHub. Conflicts with `token`. Anonymous mode is enabled if both `token`
|
|
4
4
|
* and `app_auth` are not set.
|
|
5
5
|
*/
|
|
6
|
-
export declare
|
|
6
|
+
export declare const appAuth: outputs.config.AppAuth | undefined;
|
|
7
7
|
/**
|
|
8
8
|
* The GitHub Base API URL
|
|
9
9
|
*/
|
|
10
|
-
export declare
|
|
10
|
+
export declare const baseUrl: string;
|
|
11
11
|
/**
|
|
12
12
|
* Enable `insecure` mode for testing purposes
|
|
13
13
|
*/
|
|
14
|
-
export declare
|
|
14
|
+
export declare const insecure: boolean | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* The GitHub organization name to manage. Use this field instead of `owner` when managing organization accounts.
|
|
17
17
|
*/
|
|
18
|
-
export declare
|
|
18
|
+
export declare const organization: string | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* The GitHub owner name to manage. Use this field instead of `organization` when managing individual accounts.
|
|
21
21
|
*/
|
|
22
|
-
export declare
|
|
22
|
+
export declare const owner: string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.
|
|
25
25
|
*/
|
|
26
|
-
export declare
|
|
26
|
+
export declare const token: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Amount of time in milliseconds to sleep in between writes to GitHub API. Defaults to 1000ms or 1s if not set.
|
|
29
29
|
*/
|
|
30
|
-
export declare
|
|
30
|
+
export declare const writeDelayMs: number | undefined;
|
package/config/vars.js
CHANGED
|
@@ -4,34 +4,48 @@
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
const pulumi = require("@pulumi/pulumi");
|
|
6
6
|
const utilities = require("../utilities");
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
7
|
+
const __config = new pulumi.Config("github");
|
|
8
|
+
Object.defineProperty(exports, "appAuth", {
|
|
9
|
+
get() {
|
|
10
|
+
return __config.getObject("appAuth");
|
|
11
|
+
},
|
|
12
|
+
enumerable: true,
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "baseUrl", {
|
|
15
|
+
get() {
|
|
16
|
+
var _a;
|
|
17
|
+
return (_a = __config.get("baseUrl")) !== null && _a !== void 0 ? _a : (utilities.getEnv("GITHUB_BASE_URL") || "https://api.github.com/");
|
|
18
|
+
},
|
|
19
|
+
enumerable: true,
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "insecure", {
|
|
22
|
+
get() {
|
|
23
|
+
return __config.getObject("insecure");
|
|
24
|
+
},
|
|
25
|
+
enumerable: true,
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "organization", {
|
|
28
|
+
get() {
|
|
29
|
+
return __config.get("organization");
|
|
30
|
+
},
|
|
31
|
+
enumerable: true,
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "owner", {
|
|
34
|
+
get() {
|
|
35
|
+
return __config.get("owner");
|
|
36
|
+
},
|
|
37
|
+
enumerable: true,
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "token", {
|
|
40
|
+
get() {
|
|
41
|
+
return __config.get("token");
|
|
42
|
+
},
|
|
43
|
+
enumerable: true,
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "writeDelayMs", {
|
|
46
|
+
get() {
|
|
47
|
+
return __config.getObject("writeDelayMs");
|
|
48
|
+
},
|
|
49
|
+
enumerable: true,
|
|
50
|
+
});
|
|
37
51
|
//# sourceMappingURL=vars.js.map
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;AAO7C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAyB,SAAS,CAAC,CAAC;IACjE,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;;QACC,OAAO,MAAA,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,CAAC,SAAS,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,yBAAyB,CAAC,CAAC;IACzG,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,UAAU,CAAC,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,cAAc,EAAE;IAC3C,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAS,cAAc,CAAC,CAAC;IACtD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/getActionsPublicKey.d.ts
CHANGED
|
@@ -42,3 +42,13 @@ export interface GetActionsPublicKeyResult {
|
|
|
42
42
|
readonly keyId: string;
|
|
43
43
|
readonly repository: string;
|
|
44
44
|
}
|
|
45
|
+
export declare function getActionsPublicKeyOutput(args: GetActionsPublicKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetActionsPublicKeyResult>;
|
|
46
|
+
/**
|
|
47
|
+
* A collection of arguments for invoking getActionsPublicKey.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetActionsPublicKeyOutputArgs {
|
|
50
|
+
/**
|
|
51
|
+
* Name of the repository to get public key from.
|
|
52
|
+
*/
|
|
53
|
+
repository: pulumi.Input<string>;
|
|
54
|
+
}
|
package/getActionsPublicKey.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getActionsPublicKeyOutput = exports.getActionsPublicKey = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -31,4 +32,8 @@ function getActionsPublicKey(args, opts) {
|
|
|
31
32
|
}, opts);
|
|
32
33
|
}
|
|
33
34
|
exports.getActionsPublicKey = getActionsPublicKey;
|
|
35
|
+
function getActionsPublicKeyOutput(args, opts) {
|
|
36
|
+
return pulumi.output(args).apply(a => getActionsPublicKey(a, opts));
|
|
37
|
+
}
|
|
38
|
+
exports.getActionsPublicKeyOutput = getActionsPublicKeyOutput;
|
|
34
39
|
//# sourceMappingURL=getActionsPublicKey.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActionsPublicKey.js","sourceRoot":"","sources":["../getActionsPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getActionsPublicKey.js","sourceRoot":"","sources":["../getActionsPublicKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kDAWC;AA+BD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|
package/getBranch.d.ts
CHANGED
|
@@ -51,3 +51,17 @@ export interface GetBranchResult {
|
|
|
51
51
|
*/
|
|
52
52
|
readonly sha: string;
|
|
53
53
|
}
|
|
54
|
+
export declare function getBranchOutput(args: GetBranchOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBranchResult>;
|
|
55
|
+
/**
|
|
56
|
+
* A collection of arguments for invoking getBranch.
|
|
57
|
+
*/
|
|
58
|
+
export interface GetBranchOutputArgs {
|
|
59
|
+
/**
|
|
60
|
+
* The repository branch to create.
|
|
61
|
+
*/
|
|
62
|
+
branch: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The GitHub repository name.
|
|
65
|
+
*/
|
|
66
|
+
repository: pulumi.Input<string>;
|
|
67
|
+
}
|
package/getBranch.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getBranchOutput = exports.getBranch = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -32,4 +33,8 @@ function getBranch(args, opts) {
|
|
|
32
33
|
}, opts);
|
|
33
34
|
}
|
|
34
35
|
exports.getBranch = getBranch;
|
|
36
|
+
function getBranchOutput(args, opts) {
|
|
37
|
+
return pulumi.output(args).apply(a => getBranch(a, opts));
|
|
38
|
+
}
|
|
39
|
+
exports.getBranchOutput = getBranchOutput;
|
|
35
40
|
//# 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
|
|
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;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAZD,8BAYC;AAwCD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
package/getCollaborators.d.ts
CHANGED
|
@@ -49,3 +49,21 @@ export interface GetCollaboratorsResult {
|
|
|
49
49
|
readonly owner: string;
|
|
50
50
|
readonly repository: string;
|
|
51
51
|
}
|
|
52
|
+
export declare function getCollaboratorsOutput(args: GetCollaboratorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCollaboratorsResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getCollaborators.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetCollaboratorsOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Filter collaborators returned by their affiliation. Can be one of: `outside`, `direct`, `all`. Defaults to `all`.
|
|
59
|
+
*/
|
|
60
|
+
affiliation?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The organization that owns the repository.
|
|
63
|
+
*/
|
|
64
|
+
owner: pulumi.Input<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the repository.
|
|
67
|
+
*/
|
|
68
|
+
repository: pulumi.Input<string>;
|
|
69
|
+
}
|
package/getCollaborators.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getCollaboratorsOutput = exports.getCollaborators = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -33,4 +34,8 @@ function getCollaborators(args, opts) {
|
|
|
33
34
|
}, opts);
|
|
34
35
|
}
|
|
35
36
|
exports.getCollaborators = getCollaborators;
|
|
37
|
+
function getCollaboratorsOutput(args, opts) {
|
|
38
|
+
return pulumi.output(args).apply(a => getCollaborators(a, opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getCollaboratorsOutput = getCollaboratorsOutput;
|
|
36
41
|
//# 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
|
|
1
|
+
{"version":3,"file":"getCollaborators.js","sourceRoot":"","sources":["../getCollaborators.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,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;AAbD,4CAaC;AAqCD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,wDAEC"}
|
package/getIpRanges.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getIpRanges = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
package/getIpRanges.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,kCAUC"}
|
package/getMembership.d.ts
CHANGED
|
@@ -52,3 +52,17 @@ export interface GetMembershipResult {
|
|
|
52
52
|
*/
|
|
53
53
|
readonly username: string;
|
|
54
54
|
}
|
|
55
|
+
export declare function getMembershipOutput(args: GetMembershipOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMembershipResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getMembership.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetMembershipOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* The organization to check for the above username.
|
|
62
|
+
*/
|
|
63
|
+
organization?: pulumi.Input<string>;
|
|
64
|
+
/**
|
|
65
|
+
* The username to lookup in the organization.
|
|
66
|
+
*/
|
|
67
|
+
username: pulumi.Input<string>;
|
|
68
|
+
}
|
package/getMembership.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getMembershipOutput = exports.getMembership = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -34,4 +35,8 @@ function getMembership(args, opts) {
|
|
|
34
35
|
}, opts);
|
|
35
36
|
}
|
|
36
37
|
exports.getMembership = getMembership;
|
|
38
|
+
function getMembershipOutput(args, opts) {
|
|
39
|
+
return pulumi.output(args).apply(a => getMembership(a, opts));
|
|
40
|
+
}
|
|
41
|
+
exports.getMembershipOutput = getMembershipOutput;
|
|
37
42
|
//# sourceMappingURL=getMembership.js.map
|
package/getMembership.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMembership.js","sourceRoot":"","sources":["../getMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getMembership.js","sourceRoot":"","sources":["../getMembership.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,sCAYC;AAuCD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
package/getOrganization.d.ts
CHANGED
|
@@ -57,3 +57,13 @@ export interface GetOrganizationResult {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly repositories: string[];
|
|
59
59
|
}
|
|
60
|
+
export declare function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
|
|
61
|
+
/**
|
|
62
|
+
* A collection of arguments for invoking getOrganization.
|
|
63
|
+
*/
|
|
64
|
+
export interface GetOrganizationOutputArgs {
|
|
65
|
+
/**
|
|
66
|
+
* The name of the organization account
|
|
67
|
+
*/
|
|
68
|
+
name: pulumi.Input<string>;
|
|
69
|
+
}
|
package/getOrganization.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationOutput = exports.getOrganization = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -30,4 +31,8 @@ function getOrganization(args, opts) {
|
|
|
30
31
|
}, opts);
|
|
31
32
|
}
|
|
32
33
|
exports.getOrganization = getOrganization;
|
|
34
|
+
function getOrganizationOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => getOrganization(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.getOrganizationOutput = getOrganizationOutput;
|
|
33
38
|
//# sourceMappingURL=getOrganization.js.map
|
package/getOrganization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AA+CD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationTeamSyncGroups = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|