@pulumi/github 4.11.0-alpha.1648237744 → 4.11.0-alpha.1649259219
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 +37 -0
- package/actionsEnvironmentSecret.js +37 -0
- package/actionsEnvironmentSecret.js.map +1 -1
- package/actionsOrganizationSecret.d.ts +39 -0
- package/actionsOrganizationSecret.js +39 -0
- package/actionsOrganizationSecret.js.map +1 -1
- package/actionsSecret.d.ts +22 -0
- package/actionsSecret.js +22 -0
- package/actionsSecret.js.map +1 -1
- package/branchProtectionV3.d.ts +1 -1
- package/branchProtectionV3.js +1 -1
- package/config/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/getOrganization.d.ts +1 -0
- package/getOrganization.js.map +1 -1
- package/getRef.d.ts +58 -0
- package/getRef.js +38 -0
- package/getRef.js.map +1 -0
- package/getTree.d.ts +78 -0
- package/getTree.js +48 -0
- package/getTree.js.map +1 -0
- package/getUser.d.ts +4 -0
- package/getUser.js.map +1 -1
- package/getUsers.d.ts +2 -2
- package/getUsers.js +2 -2
- package/index.d.ts +3 -0
- package/index.js +7 -0
- package/index.js.map +1 -1
- package/issue.d.ts +189 -0
- package/issue.js +134 -0
- package/issue.js.map +1 -0
- package/issueLabel.d.ts +13 -0
- package/issueLabel.js +13 -0
- package/issueLabel.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/projectCard.d.ts +52 -2
- package/projectCard.js +30 -3
- package/projectCard.js.map +1 -1
- package/provider.d.ts +4 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/repository.d.ts +12 -0
- package/repository.js +2 -0
- package/repository.js.map +1 -1
- package/teamMembers.d.ts +31 -0
- package/teamMembers.js +31 -0
- package/teamMembers.js.map +1 -1
- package/types/input.d.ts +1 -0
- package/types/output.d.ts +8 -0
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as github from "@pulumi/github";
|
|
8
|
+
*
|
|
9
|
+
* const exampleSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", {
|
|
10
|
+
* environment: "example_environment",
|
|
11
|
+
* secretName: "example_secret_name",
|
|
12
|
+
* plaintextValue: _var.some_secret_string,
|
|
13
|
+
* });
|
|
14
|
+
* const exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", {
|
|
15
|
+
* environment: "example_environment",
|
|
16
|
+
* secretName: "example_secret_name",
|
|
17
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as github from "@pulumi/github";
|
|
24
|
+
*
|
|
25
|
+
* const repo = github.getRepository({
|
|
26
|
+
* fullName: "my-org/repo",
|
|
27
|
+
* });
|
|
28
|
+
* const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
|
|
29
|
+
* repository: repo.then(repo => repo.name),
|
|
30
|
+
* environment: "example_environment",
|
|
31
|
+
* });
|
|
32
|
+
* const testSecret = new github.ActionsEnvironmentSecret("testSecret", {
|
|
33
|
+
* repository: repo.then(repo => repo.name),
|
|
34
|
+
* environment: repoEnvironment.environment,
|
|
35
|
+
* secretName: "test_secret_name",
|
|
36
|
+
* plaintextValue: `%s`,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
3
40
|
* ## Import
|
|
4
41
|
*
|
|
5
42
|
* This resource can be imported using an ID made up of the secret name
|
|
@@ -6,6 +6,43 @@ exports.ActionsEnvironmentSecret = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as github from "@pulumi/github";
|
|
14
|
+
*
|
|
15
|
+
* const exampleSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretActionsEnvironmentSecret", {
|
|
16
|
+
* environment: "example_environment",
|
|
17
|
+
* secretName: "example_secret_name",
|
|
18
|
+
* plaintextValue: _var.some_secret_string,
|
|
19
|
+
* });
|
|
20
|
+
* const exampleSecretIndex_actionsEnvironmentSecretActionsEnvironmentSecret = new github.ActionsEnvironmentSecret("exampleSecretIndex/actionsEnvironmentSecretActionsEnvironmentSecret", {
|
|
21
|
+
* environment: "example_environment",
|
|
22
|
+
* secretName: "example_secret_name",
|
|
23
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as github from "@pulumi/github";
|
|
30
|
+
*
|
|
31
|
+
* const repo = github.getRepository({
|
|
32
|
+
* fullName: "my-org/repo",
|
|
33
|
+
* });
|
|
34
|
+
* const repoEnvironment = new github.RepositoryEnvironment("repoEnvironment", {
|
|
35
|
+
* repository: repo.then(repo => repo.name),
|
|
36
|
+
* environment: "example_environment",
|
|
37
|
+
* });
|
|
38
|
+
* const testSecret = new github.ActionsEnvironmentSecret("testSecret", {
|
|
39
|
+
* repository: repo.then(repo => repo.name),
|
|
40
|
+
* environment: repoEnvironment.environment,
|
|
41
|
+
* secretName: "test_secret_name",
|
|
42
|
+
* plaintextValue: `%s`,
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
9
46
|
* ## Import
|
|
10
47
|
*
|
|
11
48
|
* This resource can be imported using an ID made up of the secret name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsEnvironmentSecret.js","sourceRoot":"","sources":["../actionsEnvironmentSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAiE/D,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,C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SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;IAjGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;;AA1BL,4DAmGC;AArFG,gBAAgB;AACO,qCAAY,GAAG,gEAAgE,CAAC"}
|
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as github from "@pulumi/github";
|
|
8
|
+
*
|
|
9
|
+
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
10
|
+
* secretName: "example_secret_name",
|
|
11
|
+
* visibility: "private",
|
|
12
|
+
* plaintextValue: _var.some_secret_string,
|
|
13
|
+
* });
|
|
14
|
+
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
15
|
+
* secretName: "example_secret_name",
|
|
16
|
+
* visibility: "private",
|
|
17
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as github from "@pulumi/github";
|
|
24
|
+
*
|
|
25
|
+
* const repo = github.getRepository({
|
|
26
|
+
* fullName: "my-org/repo",
|
|
27
|
+
* });
|
|
28
|
+
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
29
|
+
* secretName: "example_secret_name",
|
|
30
|
+
* visibility: "selected",
|
|
31
|
+
* plaintextValue: _var.some_secret_string,
|
|
32
|
+
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
33
|
+
* });
|
|
34
|
+
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
35
|
+
* secretName: "example_secret_name",
|
|
36
|
+
* visibility: "selected",
|
|
37
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
38
|
+
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
3
42
|
* ## Import
|
|
4
43
|
*
|
|
5
44
|
* This resource can be imported using an ID made up of the secret name
|
|
@@ -6,6 +6,45 @@ exports.ActionsOrganizationSecret = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as github from "@pulumi/github";
|
|
14
|
+
*
|
|
15
|
+
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
16
|
+
* secretName: "example_secret_name",
|
|
17
|
+
* visibility: "private",
|
|
18
|
+
* plaintextValue: _var.some_secret_string,
|
|
19
|
+
* });
|
|
20
|
+
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
21
|
+
* secretName: "example_secret_name",
|
|
22
|
+
* visibility: "private",
|
|
23
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ```typescript
|
|
28
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
29
|
+
* import * as github from "@pulumi/github";
|
|
30
|
+
*
|
|
31
|
+
* const repo = github.getRepository({
|
|
32
|
+
* fullName: "my-org/repo",
|
|
33
|
+
* });
|
|
34
|
+
* const exampleSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretActionsOrganizationSecret", {
|
|
35
|
+
* secretName: "example_secret_name",
|
|
36
|
+
* visibility: "selected",
|
|
37
|
+
* plaintextValue: _var.some_secret_string,
|
|
38
|
+
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
39
|
+
* });
|
|
40
|
+
* const exampleSecretIndex_actionsOrganizationSecretActionsOrganizationSecret = new github.ActionsOrganizationSecret("exampleSecretIndex/actionsOrganizationSecretActionsOrganizationSecret", {
|
|
41
|
+
* secretName: "example_secret_name",
|
|
42
|
+
* visibility: "selected",
|
|
43
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
44
|
+
* selectedRepositoryIds: [repo.then(repo => repo.repoId)],
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
9
48
|
* ## Import
|
|
10
49
|
*
|
|
11
50
|
* This resource can be imported using an ID made up of the secret name
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"actionsOrganizationSecret.js","sourceRoot":"","sources":["../actionsOrganizationSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAkEhE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAA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AAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;IA/FD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DAiGC;AAnFG,gBAAgB;AACO,sCAAY,GAAG,kEAAkE,CAAC"}
|
package/actionsSecret.d.ts
CHANGED
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as github from "@pulumi/github";
|
|
8
|
+
*
|
|
9
|
+
* const examplePublicKey = github.getActionsPublicKey({
|
|
10
|
+
* repository: "example_repository",
|
|
11
|
+
* });
|
|
12
|
+
* const exampleSecretActionsSecret = new github.ActionsSecret("exampleSecretActionsSecret", {
|
|
13
|
+
* repository: "example_repository",
|
|
14
|
+
* secretName: "example_secret_name",
|
|
15
|
+
* plaintextValue: _var.some_secret_string,
|
|
16
|
+
* });
|
|
17
|
+
* const exampleSecretIndex_actionsSecretActionsSecret = new github.ActionsSecret("exampleSecretIndex/actionsSecretActionsSecret", {
|
|
18
|
+
* repository: "example_repository",
|
|
19
|
+
* secretName: "example_secret_name",
|
|
20
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
2
24
|
export declare class ActionsSecret extends pulumi.CustomResource {
|
|
3
25
|
/**
|
|
4
26
|
* Get an existing ActionsSecret resource's state with the given name, ID, and optional extra
|
package/actionsSecret.js
CHANGED
|
@@ -5,6 +5,28 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.ActionsSecret = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as github from "@pulumi/github";
|
|
14
|
+
*
|
|
15
|
+
* const examplePublicKey = github.getActionsPublicKey({
|
|
16
|
+
* repository: "example_repository",
|
|
17
|
+
* });
|
|
18
|
+
* const exampleSecretActionsSecret = new github.ActionsSecret("exampleSecretActionsSecret", {
|
|
19
|
+
* repository: "example_repository",
|
|
20
|
+
* secretName: "example_secret_name",
|
|
21
|
+
* plaintextValue: _var.some_secret_string,
|
|
22
|
+
* });
|
|
23
|
+
* const exampleSecretIndex_actionsSecretActionsSecret = new github.ActionsSecret("exampleSecretIndex/actionsSecretActionsSecret", {
|
|
24
|
+
* repository: "example_repository",
|
|
25
|
+
* secretName: "example_secret_name",
|
|
26
|
+
* encryptedValue: _var.some_encrypted_secret_string,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
8
30
|
class ActionsSecret extends pulumi.CustomResource {
|
|
9
31
|
constructor(name, argsOrState, opts) {
|
|
10
32
|
let resourceInputs = {};
|
package/actionsSecret.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actionsSecret.js","sourceRoot":"","sources":["../actionsSecret.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IA6DpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;a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AAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAxFD;;;;;;;;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,sCA0FC;AA5EG,gBAAgB;AACO,0BAAY,GAAG,0CAA0C,CAAC"}
|
package/branchProtectionV3.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ import { input as inputs, output as outputs } from "./types";
|
|
|
63
63
|
* GitHub Branch Protection can be imported using an ID made up of `repository:branch`, e.g.
|
|
64
64
|
*
|
|
65
65
|
* ```sh
|
|
66
|
-
* $ pulumi import github:index/branchProtectionV3:BranchProtectionV3
|
|
66
|
+
* $ pulumi import github:index/branchProtectionV3:BranchProtectionV3 terraform terraform:main
|
|
67
67
|
* ```
|
|
68
68
|
*/
|
|
69
69
|
export declare class BranchProtectionV3 extends pulumi.CustomResource {
|
package/branchProtectionV3.js
CHANGED
|
@@ -68,7 +68,7 @@ const utilities = require("./utilities");
|
|
|
68
68
|
* GitHub Branch Protection can be imported using an ID made up of `repository:branch`, e.g.
|
|
69
69
|
*
|
|
70
70
|
* ```sh
|
|
71
|
-
* $ pulumi import github:index/branchProtectionV3:BranchProtectionV3
|
|
71
|
+
* $ pulumi import github:index/branchProtectionV3:BranchProtectionV3 terraform terraform:main
|
|
72
72
|
* ```
|
|
73
73
|
*/
|
|
74
74
|
class BranchProtectionV3 extends pulumi.CustomResource {
|
package/config/vars.d.ts
CHANGED
|
@@ -20,6 +20,10 @@ export declare const organization: string | undefined;
|
|
|
20
20
|
* The GitHub owner name to manage. Use this field instead of `organization` when managing individual accounts.
|
|
21
21
|
*/
|
|
22
22
|
export declare const owner: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Amount of time in milliseconds to sleep in between non-write requests to GitHub API. Defaults to 0ms if not set.
|
|
25
|
+
*/
|
|
26
|
+
export declare const readDelayMs: number | undefined;
|
|
23
27
|
/**
|
|
24
28
|
* The OAuth token used to connect to GitHub. Anonymous mode is enabled if both `token` and `app_auth` are not set.
|
|
25
29
|
*/
|
package/config/vars.js
CHANGED
|
@@ -36,6 +36,12 @@ Object.defineProperty(exports, "owner", {
|
|
|
36
36
|
},
|
|
37
37
|
enumerable: true,
|
|
38
38
|
});
|
|
39
|
+
Object.defineProperty(exports, "readDelayMs", {
|
|
40
|
+
get() {
|
|
41
|
+
return __config.getObject("readDelayMs");
|
|
42
|
+
},
|
|
43
|
+
enumerable: true,
|
|
44
|
+
});
|
|
39
45
|
Object.defineProperty(exports, "token", {
|
|
40
46
|
get() {
|
|
41
47
|
return __config.get("token");
|
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;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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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/getOrganization.d.ts
CHANGED
package/getOrganization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;
|
|
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,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0CASC;AAgDD,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"}
|
package/getRef.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve information about a repository ref.
|
|
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 = pulumi.output(github.getRef({
|
|
12
|
+
* ref: "heads/development",
|
|
13
|
+
* repository: "example",
|
|
14
|
+
* }));
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getRef(args: GetRefArgs, opts?: pulumi.InvokeOptions): Promise<GetRefResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getRef.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetRefArgs {
|
|
22
|
+
branch: string;
|
|
23
|
+
/**
|
|
24
|
+
* The GitHub repository name.
|
|
25
|
+
*/
|
|
26
|
+
repository: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* A collection of values returned by getRef.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetRefResult {
|
|
32
|
+
readonly branch: string;
|
|
33
|
+
/**
|
|
34
|
+
* An etag representing the ref.
|
|
35
|
+
*/
|
|
36
|
+
readonly etag: string;
|
|
37
|
+
/**
|
|
38
|
+
* The provider-assigned unique ID for this managed resource.
|
|
39
|
+
*/
|
|
40
|
+
readonly id: string;
|
|
41
|
+
readonly ref: string;
|
|
42
|
+
readonly repository: string;
|
|
43
|
+
/**
|
|
44
|
+
* A string storing the reference's `HEAD` commit's SHA1.
|
|
45
|
+
*/
|
|
46
|
+
readonly sha: string;
|
|
47
|
+
}
|
|
48
|
+
export declare function getRefOutput(args: GetRefOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRefResult>;
|
|
49
|
+
/**
|
|
50
|
+
* A collection of arguments for invoking getRef.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetRefOutputArgs {
|
|
53
|
+
branch: pulumi.Input<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The GitHub repository name.
|
|
56
|
+
*/
|
|
57
|
+
repository: pulumi.Input<string>;
|
|
58
|
+
}
|
package/getRef.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
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.getRefOutput = exports.getRef = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about a repository ref.
|
|
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 = pulumi.output(github.getRef({
|
|
18
|
+
* ref: "heads/development",
|
|
19
|
+
* repository: "example",
|
|
20
|
+
* }));
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getRef(args, opts) {
|
|
24
|
+
if (!opts) {
|
|
25
|
+
opts = {};
|
|
26
|
+
}
|
|
27
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
28
|
+
return pulumi.runtime.invoke("github:index/getRef:getRef", {
|
|
29
|
+
"branch": args.branch,
|
|
30
|
+
"repository": args.repository,
|
|
31
|
+
}, opts);
|
|
32
|
+
}
|
|
33
|
+
exports.getRef = getRef;
|
|
34
|
+
function getRefOutput(args, opts) {
|
|
35
|
+
return pulumi.output(args).apply(a => getRef(a, opts));
|
|
36
|
+
}
|
|
37
|
+
exports.getRefOutput = getRefOutput;
|
|
38
|
+
//# sourceMappingURL=getRef.js.map
|
package/getRef.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRef.js","sourceRoot":"","sources":["../getRef.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wBAUC;AAkCD,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1D,CAAC;AAFD,oCAEC"}
|
package/getTree.d.ts
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
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
|
+
*/
|
|
27
|
+
export declare function getTree(args: GetTreeArgs, opts?: pulumi.InvokeOptions): Promise<GetTreeResult>;
|
|
28
|
+
/**
|
|
29
|
+
* A collection of arguments for invoking getTree.
|
|
30
|
+
*/
|
|
31
|
+
export interface GetTreeArgs {
|
|
32
|
+
/**
|
|
33
|
+
* Setting this parameter to `true` returns the objects or subtrees referenced by the tree specified in `treeSha`.
|
|
34
|
+
*/
|
|
35
|
+
recursive?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* The name of the repository.
|
|
38
|
+
*/
|
|
39
|
+
repository: string;
|
|
40
|
+
/**
|
|
41
|
+
* The SHA1 value for the tree.
|
|
42
|
+
*/
|
|
43
|
+
treeSha: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A collection of values returned by getTree.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetTreeResult {
|
|
49
|
+
/**
|
|
50
|
+
* Objects (of `path`, `mode`, `type`, `size`, and `sha`) specifying a tree structure.
|
|
51
|
+
*/
|
|
52
|
+
readonly entries: outputs.GetTreeEntry[];
|
|
53
|
+
/**
|
|
54
|
+
* The provider-assigned unique ID for this managed resource.
|
|
55
|
+
*/
|
|
56
|
+
readonly id: string;
|
|
57
|
+
readonly recursive?: boolean;
|
|
58
|
+
readonly repository: string;
|
|
59
|
+
readonly treeSha: string;
|
|
60
|
+
}
|
|
61
|
+
export declare function getTreeOutput(args: GetTreeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTreeResult>;
|
|
62
|
+
/**
|
|
63
|
+
* A collection of arguments for invoking getTree.
|
|
64
|
+
*/
|
|
65
|
+
export interface GetTreeOutputArgs {
|
|
66
|
+
/**
|
|
67
|
+
* Setting this parameter to `true` returns the objects or subtrees referenced by the tree specified in `treeSha`.
|
|
68
|
+
*/
|
|
69
|
+
recursive?: pulumi.Input<boolean>;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the repository.
|
|
72
|
+
*/
|
|
73
|
+
repository: pulumi.Input<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The SHA1 value for the tree.
|
|
76
|
+
*/
|
|
77
|
+
treeSha: pulumi.Input<string>;
|
|
78
|
+
}
|
package/getTree.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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.getTreeOutput = exports.getTree = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
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
|
+
*/
|
|
32
|
+
function getTree(args, opts) {
|
|
33
|
+
if (!opts) {
|
|
34
|
+
opts = {};
|
|
35
|
+
}
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
37
|
+
return pulumi.runtime.invoke("github:index/getTree:getTree", {
|
|
38
|
+
"recursive": args.recursive,
|
|
39
|
+
"repository": args.repository,
|
|
40
|
+
"treeSha": args.treeSha,
|
|
41
|
+
}, opts);
|
|
42
|
+
}
|
|
43
|
+
exports.getTree = getTree;
|
|
44
|
+
function getTreeOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply(a => getTree(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getTreeOutput = getTreeOutput;
|
|
48
|
+
//# sourceMappingURL=getTree.js.map
|
package/getTree.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTree.js","sourceRoot":"","sources":["../getTree.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,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;AAXD,0BAWC;AAqCD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
package/getUser.d.ts
CHANGED
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;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;AAuGD,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
|
package/getUsers.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
* ],
|
|
18
18
|
* }));
|
|
19
19
|
*
|
|
20
|
-
* export const validUsers =
|
|
21
|
-
* export const invalidUsers =
|
|
20
|
+
* export const validUsers = example.logins;
|
|
21
|
+
* export const invalidUsers = example.unknownLogins;
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
export declare function getUsers(args: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
package/getUsers.js
CHANGED
|
@@ -23,8 +23,8 @@ const utilities = require("./utilities");
|
|
|
23
23
|
* ],
|
|
24
24
|
* }));
|
|
25
25
|
*
|
|
26
|
-
* export const validUsers =
|
|
27
|
-
* export const invalidUsers =
|
|
26
|
+
* export const validUsers = example.logins;
|
|
27
|
+
* export const invalidUsers = example.unknownLogins;
|
|
28
28
|
* ```
|
|
29
29
|
*/
|
|
30
30
|
function getUsers(args, opts) {
|
package/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from "./getMembership";
|
|
|
17
17
|
export * from "./getOrganization";
|
|
18
18
|
export * from "./getOrganizationTeamSyncGroups";
|
|
19
19
|
export * from "./getOrganizationTeams";
|
|
20
|
+
export * from "./getRef";
|
|
20
21
|
export * from "./getRelease";
|
|
21
22
|
export * from "./getRepositories";
|
|
22
23
|
export * from "./getRepository";
|
|
@@ -25,8 +26,10 @@ export * from "./getRepositoryMilestone";
|
|
|
25
26
|
export * from "./getRepositoryPullRequest";
|
|
26
27
|
export * from "./getRepositoryPullRequests";
|
|
27
28
|
export * from "./getTeam";
|
|
29
|
+
export * from "./getTree";
|
|
28
30
|
export * from "./getUser";
|
|
29
31
|
export * from "./getUsers";
|
|
32
|
+
export * from "./issue";
|
|
30
33
|
export * from "./issueLabel";
|
|
31
34
|
export * from "./membership";
|
|
32
35
|
export * from "./organizationBlock";
|