@heroku-cli/plugin-data-privatelink 1.3.2 → 1.3.3
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/lib/base.d.ts +1 -1
- package/lib/base.js +2 -2
- package/lib/commands/data/privatelink/access/add.js +1 -1
- package/lib/commands/data/privatelink/access/index.js +1 -1
- package/lib/commands/data/privatelink/access/remove.js +1 -1
- package/lib/commands/data/privatelink/create.js +1 -1
- package/lib/commands/data/privatelink/destroy.js +1 -1
- package/lib/commands/data/privatelink/index.js +1 -1
- package/lib/commands/data/privatelink/wait.js +1 -1
- package/lib/lib/fetcher.js +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/oclif.manifest.json +237 -154
- package/package.json +12 -16
- package/yarn.lock +2608 -3505
package/lib/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIClient, Command } from '@heroku-cli/command';
|
|
2
2
|
import { Config } from '@oclif/core';
|
|
3
|
-
export default abstract class extends Command {
|
|
3
|
+
export default abstract class BaseCommand extends Command {
|
|
4
4
|
shogun: APIClient;
|
|
5
5
|
constructor(argv: string[], config: Config);
|
|
6
6
|
}
|
package/lib/base.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const command_1 = require("@heroku-cli/command");
|
|
4
|
-
class
|
|
4
|
+
class BaseCommand extends command_1.Command {
|
|
5
5
|
constructor(argv, config) {
|
|
6
6
|
super(argv, config);
|
|
7
7
|
const client = new command_1.APIClient(this.config, {});
|
|
@@ -10,4 +10,4 @@ class default_1 extends command_1.Command {
|
|
|
10
10
|
this.shogun = client;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
exports.default =
|
|
13
|
+
exports.default = BaseCommand;
|
|
@@ -17,7 +17,6 @@ class Add extends base_1.default {
|
|
|
17
17
|
core_1.ux.action.stop();
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.default = Add;
|
|
21
20
|
Add.description = 'add one or more allowed AWS accounts to your privatelink endpoint';
|
|
22
21
|
Add.hiddenAliases = ['pg:privatelink:access:add', 'kafka:privatelink:access:add', 'redis:privatelink:access:add'];
|
|
23
22
|
Add.args = {
|
|
@@ -37,3 +36,4 @@ Add.examples = [
|
|
|
37
36
|
'$ heroku data:privatelink:access:add postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --app my-app',
|
|
38
37
|
'$ heroku data:privatelink:access:add postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --aws-account-id 123456789012:user/xyz --app my-app',
|
|
39
38
|
];
|
|
39
|
+
exports.default = Add;
|
|
@@ -24,7 +24,6 @@ class Index extends base_1.default {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
exports.default = Index;
|
|
28
27
|
Index.topic = 'data:privatelink:access';
|
|
29
28
|
Index.description = 'list all allowed accounts for your privatelink endpoint';
|
|
30
29
|
Index.hiddenAliases = ['pg:privatelink:access', 'kafka:privatelink:access', 'redis:privatelink:access'];
|
|
@@ -38,3 +37,4 @@ Index.flags = {
|
|
|
38
37
|
Index.examples = [
|
|
39
38
|
'$ heroku data:privatelink:access postgresql-sushi-12345 --app my-app',
|
|
40
39
|
];
|
|
40
|
+
exports.default = Index;
|
|
@@ -17,7 +17,6 @@ class Remove extends base_1.default {
|
|
|
17
17
|
core_1.ux.action.stop();
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
exports.default = Remove;
|
|
21
20
|
Remove.description = 'remove an allowed account from your privatelink endpoint';
|
|
22
21
|
Remove.hiddenAliases = ['pg:privatelink:access:remove', 'kafka:privatelink:access:remove', 'redis:privatelink:access:remove'];
|
|
23
22
|
Remove.args = {
|
|
@@ -37,3 +36,4 @@ Remove.examples = [
|
|
|
37
36
|
'$ heroku data:privatelink:access:remove postgresql-sushi-12345 --aws-account-id 123456789012:user/xyz --app my-app',
|
|
38
37
|
'$ heroku data:privatelink:access:remove postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --aws-account-id 123456789012:user/xyz --app my-app',
|
|
39
38
|
];
|
|
39
|
+
exports.default = Remove;
|
|
@@ -26,7 +26,6 @@ class Create extends base_1.default {
|
|
|
26
26
|
' to check the creation process.');
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
exports.default = Create;
|
|
30
29
|
Create.description = 'create a new privatelink endpoint for your database';
|
|
31
30
|
Create.hiddenAliases = ['pg:privatelink:create', 'kafka:privatelink:create', 'redis:privatelink:create'];
|
|
32
31
|
Create.args = {
|
|
@@ -46,3 +45,4 @@ Create.examples = [
|
|
|
46
45
|
'$ heroku data:privatelink:create postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --app my-app',
|
|
47
46
|
'$ heroku data:privatelink:create postgresql-sushi-12345 --aws-account-id 123456789012:user/abc --account-id 123456789012:user/xyz --app my-app',
|
|
48
47
|
];
|
|
48
|
+
exports.default = Create;
|
|
@@ -13,7 +13,6 @@ class Destroy extends base_1.default {
|
|
|
13
13
|
core_1.ux.action.stop();
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
exports.default = Destroy;
|
|
17
16
|
Destroy.description = 'destroy a privatelink endpoint for your database';
|
|
18
17
|
Destroy.hiddenAliases = ['pg:privatelink:destroy', 'kafka:privatelink:destroy', 'redis:privatelink:destroy'];
|
|
19
18
|
Destroy.args = {
|
|
@@ -26,3 +25,4 @@ Destroy.flags = {
|
|
|
26
25
|
Destroy.examples = [
|
|
27
26
|
'$ heroku data:privatelink:destroy postgresql-sushi-12345 --app my-app',
|
|
28
27
|
];
|
|
28
|
+
exports.default = Destroy;
|
|
@@ -55,7 +55,6 @@ class Index extends base_1.default {
|
|
|
55
55
|
return 'redis';
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
exports.default = Index;
|
|
59
58
|
Index.topic = 'data:privatelink';
|
|
60
59
|
Index.description = 'list all your privatelink endpoints';
|
|
61
60
|
Index.hiddenAliases = ['pg:privatelink', 'kafka:privatelink', 'redis:privatelink'];
|
|
@@ -69,3 +68,4 @@ Index.flags = {
|
|
|
69
68
|
Index.examples = [
|
|
70
69
|
'$ heroku data:privatelink postgresql-sushi-12345 --app my-app',
|
|
71
70
|
];
|
|
71
|
+
exports.default = Index;
|
|
@@ -18,7 +18,6 @@ class Wait extends base_1.default {
|
|
|
18
18
|
core_1.ux.action.stop();
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
exports.default = Wait;
|
|
22
21
|
Wait.description = 'wait for your privatelink endpoint to be provisioned';
|
|
23
22
|
Wait.hiddenAliases = ['pg:privatelink:wait', 'kafka:privatelink:wait', 'redis:privatelink:wait'];
|
|
24
23
|
Wait.args = {
|
|
@@ -31,3 +30,4 @@ Wait.flags = {
|
|
|
31
30
|
Wait.examples = [
|
|
32
31
|
'$ heroku data:privatelink:wait postgresql-sushi-12345 postgresql-sushi-12345 --app my-app',
|
|
33
32
|
];
|
|
33
|
+
exports.default = Wait;
|
package/lib/lib/fetcher.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = default_1;
|
|
3
4
|
const cli_ux_1 = require("cli-ux");
|
|
4
5
|
async function default_1(heroku, addon_attachment, app) {
|
|
5
6
|
const db = addon_attachment;
|
|
@@ -24,4 +25,3 @@ async function default_1(heroku, addon_attachment, app) {
|
|
|
24
25
|
cli_ux_1.cli.error('No addons found');
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
|
-
exports.default = default_1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/base.ts","../src/index.ts","../src/commands/data/privatelink/create.ts","../src/commands/data/privatelink/destroy.ts","../src/commands/data/privatelink/index.ts","../src/commands/data/privatelink/wait.ts","../src/commands/data/privatelink/access/add.ts","../src/commands/data/privatelink/access/index.ts","../src/commands/data/privatelink/access/remove.ts","../src/lib/fetcher.ts"],"version":"5.9.3"}
|