@codiac.io/codiac-cli 1.2.129 → 1.2.134

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.
Files changed (96) hide show
  1. package/README.md +3780 -3
  2. package/lib/commands/asset/create.js +26 -25
  3. package/lib/commands/asset/create.js.map +1 -1
  4. package/lib/commands/asset/probe/create.js +11 -11
  5. package/lib/commands/asset/probe/create.js.map +1 -1
  6. package/lib/k8s-command-base.d.ts +15 -25
  7. package/lib/k8s-command-base.js +20 -92
  8. package/lib/k8s-command-base.js.map +1 -1
  9. package/lib/relay/data/aws-regions.d.ts +6 -0
  10. package/lib/relay/data/aws-regions.js +32 -32
  11. package/lib/relay/data/aws-regions.js.map +1 -1
  12. package/lib/uilogic/cloud-resource-configurators/aws-k8s-versions.d.ts +11 -0
  13. package/lib/uilogic/cloud-resource-configurators/aws-k8s-versions.js +14 -13
  14. package/lib/uilogic/cloud-resource-configurators/aws-k8s-versions.js.map +1 -1
  15. package/lib/uilogic/cloud-resource-configurators/aws-node-types.d.ts +1 -33
  16. package/lib/uilogic/cloud-resource-configurators/aws-node-types.js +2 -3712
  17. package/lib/uilogic/cloud-resource-configurators/aws-node-types.js.map +1 -1
  18. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.d.ts +3 -3
  19. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js +6 -7
  20. package/lib/uilogic/cloud-resource-configurators/docker-hub-resource-configurator.js.map +1 -1
  21. package/lib/uilogic/enterprise-contextualizer.js +2 -0
  22. package/lib/uilogic/enterprise-contextualizer.js.map +1 -1
  23. package/oclif.manifest.json +8317 -1
  24. package/package.json +4 -3
  25. package/lib/api-clients/common/api-user-creds.d.ts +0 -7
  26. package/lib/api-clients/common/api-user-creds.js +0 -19
  27. package/lib/api-clients/common/api-user-creds.js.map +0 -1
  28. package/lib/api-clients/common/config-loader.d.ts +0 -6
  29. package/lib/api-clients/common/config-loader.js +0 -19
  30. package/lib/api-clients/common/config-loader.js.map +0 -1
  31. package/lib/api-clients/common/security/auth-constants.d.ts +0 -15
  32. package/lib/api-clients/common/security/auth-constants.js +0 -22
  33. package/lib/api-clients/common/security/auth-constants.js.map +0 -1
  34. package/lib/api-clients/common/security/i-auth-client.d.ts +0 -44
  35. package/lib/api-clients/common/security/i-auth-client.js +0 -3
  36. package/lib/api-clients/common/security/i-auth-client.js.map +0 -1
  37. package/lib/api-clients/common/security/rest-client-base-with-auth.d.ts +0 -84
  38. package/lib/api-clients/common/security/rest-client-base-with-auth.js +0 -361
  39. package/lib/api-clients/common/security/rest-client-base-with-auth.js.map +0 -1
  40. package/lib/api-clients/common/security/token-holder.d.ts +0 -13
  41. package/lib/api-clients/common/security/token-holder.js +0 -18
  42. package/lib/api-clients/common/security/token-holder.js.map +0 -1
  43. package/lib/api-clients/common/utils.d.ts +0 -23
  44. package/lib/api-clients/common/utils.js +0 -83
  45. package/lib/api-clients/common/utils.js.map +0 -1
  46. package/lib/api-clients/contracts/index.d.ts +0 -1
  47. package/lib/api-clients/contracts/index.js +0 -5
  48. package/lib/api-clients/contracts/index.js.map +0 -1
  49. package/lib/api-clients/gen/client-config.d.ts +0 -10
  50. package/lib/api-clients/gen/client-config.js +0 -29
  51. package/lib/api-clients/gen/client-config.js.map +0 -1
  52. package/lib/api-clients/gen/client.d.ts +0 -45
  53. package/lib/api-clients/gen/client.js +0 -331
  54. package/lib/api-clients/gen/client.js.map +0 -1
  55. package/lib/api-clients/gen/contracts.d.ts +0 -2529
  56. package/lib/api-clients/gen/contracts.js +0 -370
  57. package/lib/api-clients/gen/contracts.js.map +0 -1
  58. package/lib/api-clients/gen/endpoints.d.ts +0 -3
  59. package/lib/api-clients/gen/endpoints.js +0 -3150
  60. package/lib/api-clients/gen/endpoints.js.map +0 -1
  61. package/lib/api-clients/index.d.ts +0 -2
  62. package/lib/api-clients/index.js +0 -6
  63. package/lib/api-clients/index.js.map +0 -1
  64. package/lib/apis/codiac-api/common/security/rest-client-base-with-auth.d.ts +0 -84
  65. package/lib/apis/codiac-api/common/security/rest-client-base-with-auth.js +0 -361
  66. package/lib/apis/codiac-api/common/security/rest-client-base-with-auth.js.map +0 -1
  67. package/lib/apis/codiac-api/gen/endpoints.d.ts +0 -3
  68. package/lib/apis/codiac-api/gen/endpoints.js +0 -3150
  69. package/lib/apis/codiac-api/gen/endpoints.js.map +0 -1
  70. package/lib/apis/over-gen/temp-mods.d.ts +0 -33
  71. package/lib/apis/over-gen/temp-mods.js +0 -91
  72. package/lib/apis/over-gen/temp-mods.js.map +0 -1
  73. package/lib/uilogic/enterprise-contextualizer-machine-scope.d.ts +0 -69
  74. package/lib/uilogic/enterprise-contextualizer-machine-scope.js +0 -596
  75. package/lib/uilogic/enterprise-contextualizer-machine-scope.js.map +0 -1
  76. package/lib/uilogic/registry-configurator-factory.d.ts +0 -12
  77. package/lib/uilogic/registry-configurator-factory.js +0 -68
  78. package/lib/uilogic/registry-configurator-factory.js.map +0 -1
  79. package/lib/uilogic/registry-configurator.d.ts +0 -17
  80. package/lib/uilogic/registry-configurator.js +0 -145
  81. package/lib/uilogic/registry-configurator.js.map +0 -1
  82. package/lib/uilogic/registry-configurators/aws-registry-configurator.d.ts +0 -15
  83. package/lib/uilogic/registry-configurators/aws-registry-configurator.js +0 -67
  84. package/lib/uilogic/registry-configurators/aws-registry-configurator.js.map +0 -1
  85. package/lib/uilogic/registry-configurators/azure-registry-configurator.d.ts +0 -25
  86. package/lib/uilogic/registry-configurators/azure-registry-configurator.js +0 -72
  87. package/lib/uilogic/registry-configurators/azure-registry-configurator.js.map +0 -1
  88. package/lib/uilogic/registry-configurators/docker-hub-registry-configurator.d.ts +0 -18
  89. package/lib/uilogic/registry-configurators/docker-hub-registry-configurator.js +0 -55
  90. package/lib/uilogic/registry-configurators/docker-hub-registry-configurator.js.map +0 -1
  91. package/lib/uilogic/registry-configurators/helm-registry-configurator.d.ts +0 -16
  92. package/lib/uilogic/registry-configurators/helm-registry-configurator.js +0 -44
  93. package/lib/uilogic/registry-configurators/helm-registry-configurator.js.map +0 -1
  94. package/lib/uilogic/registry-configurators/unsupported-registry-configurator.d.ts +0 -17
  95. package/lib/uilogic/registry-configurators/unsupported-registry-configurator.js +0 -60
  96. package/lib/uilogic/registry-configurators/unsupported-registry-configurator.js.map +0 -1
@@ -1,15 +1,16 @@
1
1
  "use strict";
2
- // export type AwsK8sVersionSupport = { version: string, upstreamRelease: Date, eksRelease: Date, endOfSupport: Date };
3
- // /** (AS OF 25 Aug 2022) Pre-sorted, hard-coded list of Kubernetes versions currently supported by AWS.
4
- // *
5
- // * @see https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
6
- // */
7
- // export const AWS_K8S_VERSIONS: AwsK8sVersionSupport[] = [
8
- // { version: "1.23", upstreamRelease: new Date("December 7, 2021"), eksRelease: new Date("August 11, 2022"), endOfSupport: new Date("October 1, 2023") },
9
- // { version: "1.22", upstreamRelease: new Date("August 4, 2021"), eksRelease: new Date("April 4, 2022"), endOfSupport: new Date("May 1, 2023") },
10
- // { version: "1.21", upstreamRelease: new Date("April 8, 2021"), eksRelease: new Date("July 19, 2021"), endOfSupport: new Date("February 1, 2023") },
11
- // { version: "1.20", upstreamRelease: new Date("December 8, 2020"), eksRelease: new Date("May 18, 2021"), endOfSupport: new Date("November 1, 2022") },
12
- // { version: "1.19", upstreamRelease: new Date("August 26, 2020"), eksRelease: new Date("February 16, 2021"), endOfSupport: new Date("August 1, 2022") },
13
- // { version: "1.18", upstreamRelease: new Date("March 23, 2020"), eksRelease: new Date("October 13, 2020"), endOfSupport: new Date("March 31, 2022") }
14
- // ];
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AWS_K8S_VERSIONS = void 0;
4
+ /** (AS OF 25 Aug 2022) Pre-sorted, hard-coded list of Kubernetes versions currently supported by AWS.
5
+ *
6
+ * @see https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html
7
+ */
8
+ exports.AWS_K8S_VERSIONS = [
9
+ { version: "1.23", upstreamRelease: new Date("December 7, 2021"), eksRelease: new Date("August 11, 2022"), endOfSupport: new Date("October 1, 2023") },
10
+ { version: "1.22", upstreamRelease: new Date("August 4, 2021"), eksRelease: new Date("April 4, 2022"), endOfSupport: new Date("May 1, 2023") },
11
+ { version: "1.21", upstreamRelease: new Date("April 8, 2021"), eksRelease: new Date("July 19, 2021"), endOfSupport: new Date("February 1, 2023") },
12
+ { version: "1.20", upstreamRelease: new Date("December 8, 2020"), eksRelease: new Date("May 18, 2021"), endOfSupport: new Date("November 1, 2022") },
13
+ { version: "1.19", upstreamRelease: new Date("August 26, 2020"), eksRelease: new Date("February 16, 2021"), endOfSupport: new Date("August 1, 2022") },
14
+ { version: "1.18", upstreamRelease: new Date("March 23, 2020"), eksRelease: new Date("October 13, 2020"), endOfSupport: new Date("March 31, 2022") }
15
+ ];
15
16
  //# sourceMappingURL=aws-k8s-versions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"aws-k8s-versions.js","sourceRoot":"","sources":["../../../src/uilogic/cloud-resource-configurators/aws-k8s-versions.ts"],"names":[],"mappings":";AACA,uHAAuH;AAEvH,yGAAyG;AACzG,KAAK;AACL,oFAAoF;AACpF,KAAK;AACL,4DAA4D;AAC5D,4JAA4J;AAC5J,oJAAoJ;AACpJ,wJAAwJ;AACxJ,0JAA0J;AAC1J,4JAA4J;AAC5J,yJAAyJ;AACzJ,KAAK"}
1
+ {"version":3,"file":"aws-k8s-versions.js","sourceRoot":"","sources":["../../../src/uilogic/cloud-resource-configurators/aws-k8s-versions.ts"],"names":[],"mappings":";;;AAGA;;;EAGE;AACW,QAAA,gBAAgB,GAA2B;IACtD,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,IAAI,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,CAAC,iBAAiB,CAAC,EAAE,YAAY,EAAE,IAAI,IAAI,CAAC,iBAAiB,CAAC,EAAE;IACtJ,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,IAAI,CAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,CAAC,eAAe,CAAC,EAAE,YAAY,EAAE,IAAI,IAAI,CAAC,aAAa,CAAC,EAAE;IAC9I,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,IAAI,CAAC,eAAe,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,CAAC,eAAe,CAAC,EAAE,YAAY,EAAE,IAAI,IAAI,CAAC,kBAAkB,CAAC,EAAE;IAClJ,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,IAAI,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,CAAC,cAAc,CAAC,EAAE,YAAY,EAAE,IAAI,IAAI,CAAC,kBAAkB,CAAC,EAAE;IACpJ,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,IAAI,CAAC,iBAAiB,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,CAAC,mBAAmB,CAAC,EAAE,YAAY,EAAE,IAAI,IAAI,CAAC,gBAAgB,CAAC,EAAE;IACtJ,EAAE,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,IAAI,CAAC,gBAAgB,CAAC,EAAE,UAAU,EAAE,IAAI,IAAI,CAAC,kBAAkB,CAAC,EAAE,YAAY,EAAE,IAAI,IAAI,CAAC,gBAAgB,CAAC,EAAE;CACrJ,CAAC"}
@@ -1,37 +1,5 @@
1
1
  /** Hard-coded list of names of available node types in AWS (aka: InstanceTypes).
2
2
  *
3
- * @see [CPU cores and threads per CPU core per instance type](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html)
4
- * @see [Amazon EC2 Instance Types](https://aws.amazon.com/ec2/instance-types/?trk=36c6da98-7b20-48fa-8225-4784bced9843&[…]cid=AL!4422!3!536392622533!e!!g!!aws%20ec2%20instance%20types)
5
- * @see [Rules for specifying instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-cpu-options-rules.html)
3
+ * @see https://aws.amazon.com/ec2/instance-types/?trk=36c6da98-7b20-48fa-8225-4784bced9843&[…]cid=AL!4422!3!536392622533!e!!g!!aws%20ec2%20instance%20types
6
4
  */
7
5
  export declare const AWS_NODE_TYPES: string[];
8
- export declare enum AWS_NODE_CATEGORY_ENUM {
9
- "generalPurpose" = "generalPurpose",
10
- "computeOptimized" = "computeOptimized",
11
- "memoryOptimized" = "memoryOptimized",
12
- "acceleratedComputing" = "acceleratedComputing",
13
- "storageOptimized" = "storageOptimized"
14
- }
15
- /**
16
- * The number of vCPUs for the instance is the number of CPU cores multiplied by the threads per core.
17
- *
18
- * To specify a custom number of vCPUs, you must specify a valid number of CPU cores and threads per core for the instance type.
19
- *
20
- * You cannot exceed the default number of vCPUs for the instance.
21
- */
22
- export declare type AwsNodeSize = {
23
- "instanceType": string;
24
- "defaultvCpus": number;
25
- "defaultCpuCores": number;
26
- "defaultThreadsPerCore": number;
27
- /** Number or a numeric range */
28
- "validCpuCores": {
29
- min: number;
30
- max: number;
31
- } | number[];
32
- /** number or list of numbers */
33
- "validThreadsPerCore": number[];
34
- };
35
- export declare const awsNodeSizesByCategory: {
36
- [category: string]: AwsNodeSize[];
37
- };