@cloudyskysoftware/pulumi-render 0.0.46 → 0.1.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 +25 -181
- package/index.d.ts +3 -2
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/owners/getOwner.js +2 -5
- package/owners/getOwner.js.map +1 -1
- package/owners/index.d.ts +1 -0
- package/owners/index.js +3 -2
- package/owners/index.js.map +1 -1
- package/owners/listOwners.d.ts +1 -0
- package/owners/listOwners.js +6 -5
- package/owners/listOwners.js.map +1 -1
- package/package.json +4 -14
- package/package.json.bak +28 -0
- package/provider.js +10 -10
- package/provider.js.map +1 -1
- package/registrycredentials/getRegistryCredential.d.ts +9 -0
- package/registrycredentials/getRegistryCredential.js +18 -0
- package/registrycredentials/getRegistryCredential.js.map +1 -0
- package/registrycredentials/index.d.ts +9 -0
- package/registrycredentials/index.js +28 -0
- package/registrycredentials/index.js.map +1 -0
- package/registrycredentials/listRegistryCredentials.d.ts +9 -0
- package/registrycredentials/listRegistryCredentials.js +18 -0
- package/registrycredentials/listRegistryCredentials.js.map +1 -0
- package/registrycredentials/registryCredential.d.ts +40 -0
- package/registrycredentials/registryCredential.js +61 -0
- package/registrycredentials/registryCredential.js.map +1 -0
- package/services/autoScaling.d.ts +56 -0
- package/services/autoScaling.js +60 -0
- package/services/autoScaling.js.map +1 -0
- package/services/backgroundWorker.js +21 -21
- package/services/backgroundWorker.js.map +1 -1
- package/services/cronJob.js +21 -21
- package/services/cronJob.js.map +1 -1
- package/services/{customDomain.d.ts → customDomains.d.ts} +10 -10
- package/services/{customDomain.js → customDomains.js} +28 -31
- package/services/customDomains.js.map +1 -0
- package/services/{deploy.d.ts → deploys.d.ts} +9 -9
- package/services/{deploy.js → deploys.js} +28 -28
- package/services/deploys.js.map +1 -0
- package/services/{envVar.d.ts → envVars.d.ts} +9 -9
- package/services/{envVar.js → envVars.js} +28 -28
- package/services/envVars.js.map +1 -0
- package/services/getBackgroundWorker.js +2 -5
- package/services/getBackgroundWorker.js.map +1 -1
- package/services/getCronJob.js +2 -5
- package/services/getCronJob.js.map +1 -1
- package/services/getCustomDomain.js +2 -5
- package/services/getCustomDomain.js.map +1 -1
- package/services/getDeploy.js +2 -5
- package/services/getDeploy.js.map +1 -1
- package/services/getJob.js +2 -5
- package/services/getJob.js.map +1 -1
- package/services/getPrivateService.js +2 -5
- package/services/getPrivateService.js.map +1 -1
- package/services/getStaticSite.js +2 -5
- package/services/getStaticSite.js.map +1 -1
- package/services/getWebService.js +2 -5
- package/services/getWebService.js.map +1 -1
- package/services/index.d.ts +29 -25
- package/services/index.js +29 -24
- package/services/index.js.map +1 -1
- package/services/{job.d.ts → jobs.d.ts} +9 -9
- package/services/{job.js → jobs.js} +28 -28
- package/services/jobs.js.map +1 -0
- package/services/listCustomDomains.js +2 -5
- package/services/listCustomDomains.js.map +1 -1
- package/services/listDeploys.js +2 -5
- package/services/listDeploys.js.map +1 -1
- package/services/listEnvVars.js +2 -5
- package/services/listEnvVars.js.map +1 -1
- package/services/listHeaders.d.ts +19 -0
- package/services/listHeaders.js +19 -0
- package/services/listHeaders.js.map +1 -0
- package/services/listJobs.js +2 -5
- package/services/listJobs.js.map +1 -1
- package/services/listRoutes.d.ts +19 -0
- package/services/listRoutes.js +19 -0
- package/services/listRoutes.js.map +1 -0
- package/services/listServices.d.ts +1 -0
- package/services/listServices.js +6 -5
- package/services/listServices.js.map +1 -1
- package/services/privateService.js +21 -21
- package/services/privateService.js.map +1 -1
- package/services/scale.js +21 -21
- package/services/scale.js.map +1 -1
- package/services/staticSite.js +21 -21
- package/services/staticSite.js.map +1 -1
- package/services/suspend.js +18 -18
- package/services/suspend.js.map +1 -1
- package/services/webService.js +21 -21
- package/services/webService.js.map +1 -1
- package/types/enums/owners/index.d.ts +1 -1
- package/types/enums/services/index.d.ts +28 -28
- package/types/input.d.ts +13 -0
- package/types/input.js.map +1 -1
- package/types/output.d.ts +25 -0
- package/types/output.js.map +1 -1
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/scripts/install-pulumi-plugin.js +0 -26
- package/services/customDomain.js.map +0 -1
- package/services/deploy.js.map +0 -1
- package/services/envVar.js.map +0 -1
- package/services/job.js.map +0 -1
- package/services/listServiceHeaders.d.ts +0 -19
- package/services/listServiceHeaders.js +0 -22
- package/services/listServiceHeaders.js.map +0 -1
- package/services/listStaticSiteRoutes.d.ts +0 -19
- package/services/listStaticSiteRoutes.js +0 -22
- package/services/listStaticSiteRoutes.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,197 +1,41 @@
|
|
|
1
|
-
# Pulumi Native Provider for Render
|
|
1
|
+
# Pulumi Native Provider for Render (Preview)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[Render](https://render.com/) is a unified cloud to build and run all your apps and websites with free TLS certificates, a global CDN, DDoS protection, private networks, and auto deploys from Git.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
> This provider was generated using [`pulschema`](https://github.com/cloudy-sky-software/pulschema) and [`pulumi-provider-framework`](https://github.com/cloudy-sky-software/pulumi-provider-framework).
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Package SDKs
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- Node.js: https://www.npmjs.com/package/@cloudyskysoftware/pulumi-render
|
|
10
|
+
- Python: https://pypi.org/project/pulumi-render/
|
|
11
|
+
- .NET: https://www.nuget.org/packages/Pulumi.Render
|
|
12
|
+
- Go: `import github.com/cloudyskysoftware/pulumi-render/sdk/go/render`
|
|
10
13
|
|
|
11
|
-
|
|
14
|
+
## Using The Provider
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
- holds the lifecycle logic for these cloud resources
|
|
16
|
-
- holds a pulumi JSON schema that describes the provider
|
|
17
|
-
- provides language-specific SDKs so resources can be created in whichever language you prefer
|
|
16
|
+
You'll need an API key. Follow Render's [docs](https://render.com/docs/api#getting-started) for creating one.
|
|
17
|
+
Then set the API key as a secret with `pulumi config set --secret render:apiKey`.
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
to [Terraform based providers](https://github.com/pulumi/pulumi-tf-provider-boilerplate).
|
|
19
|
+
## Preview Status
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
See [`cloudy-sky-software/pulumi-render#100`](https://github.com/cloudy-sky-software/pulumi-render/issues/100).
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
In the future, we will add instruction for providers published and maintained by the Pulumi community, referred to as "third-party" providers.
|
|
23
|
+
## Releasing A New Version
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
It implements a random number generator that you can [build and test out for yourself](#test-against-the-example) and then replace the Random code with code specific to your provider.
|
|
25
|
+
:info: Switch to the `main` branch first and get the latest `git pull origin main && git fetch`. Check what the last release tag was.
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
* [`pulumictl`](https://github.com/pulumi/pulumictl#installation)
|
|
36
|
-
* [Go 1.17](https://golang.org/dl/) or 1.latest
|
|
37
|
-
* [NodeJS](https://nodejs.org/en/) 14.x. We recommend using [nvm](https://github.com/nvm-sh/nvm) to manage NodeJS installations.
|
|
38
|
-
* [Yarn](https://yarnpkg.com/)
|
|
39
|
-
* [TypeScript](https://www.typescriptlang.org/)
|
|
40
|
-
* [Python](https://www.python.org/downloads/) (called as `python3`). For recent versions of MacOS, the system-installed version is fine.
|
|
41
|
-
* [.NET](https://dotnet.microsoft.com/download)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Creating and Initializing the Repository
|
|
45
|
-
|
|
46
|
-
Pulumi offers this repository as a [GitHub template repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) for convenience. From this repository:
|
|
47
|
-
|
|
48
|
-
1. Click "Use this template".
|
|
49
|
-
1. Set the following options:
|
|
50
|
-
* Owner: pulumi
|
|
51
|
-
* Repository name: pulumi-xyz-native (replace "xyz" with the name of your provider)
|
|
52
|
-
* Description: Pulumi provider for xyz
|
|
53
|
-
* Repository type: Public
|
|
54
|
-
1. Clone the generated repository.
|
|
55
|
-
|
|
56
|
-
From the templated repository:
|
|
57
|
-
|
|
58
|
-
1. Search-replace `xyz` with the name of your desired provider.
|
|
59
|
-
|
|
60
|
-
#### Build the provider and install the plugin
|
|
27
|
+
1. Regular releases should just increment the patch version unless a minor or a major (breaking changes) version bump is warranted.
|
|
28
|
+
1. Update the `CHANGELOG.md` with notes about what will be included in this release.
|
|
29
|
+
1. Commit the changelog with `git commit -am "vX.Y.Z"` or something similar and push `git push origin main`.
|
|
30
|
+
1. Tag the commit with the release version by running
|
|
61
31
|
|
|
62
32
|
```bash
|
|
63
|
-
|
|
33
|
+
git tag vX.Y.Z
|
|
34
|
+
git tag sdk/vX.Y.Z
|
|
64
35
|
```
|
|
65
|
-
|
|
66
|
-
This will:
|
|
67
|
-
|
|
68
|
-
1. Create the SDK codegen binary and place it in a `./bin` folder (gitignored)
|
|
69
|
-
2. Create the provider binary and place it in the `./bin` folder (gitignored)
|
|
70
|
-
3. Generate the dotnet, Go, Node, and Python SDKs and place them in the `./sdk` folder
|
|
71
|
-
4. Install the provider on your machine.
|
|
72
|
-
|
|
73
|
-
#### Test against the example
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
$ cd examples/simple
|
|
77
|
-
$ yarn link @pulumi/xyz
|
|
78
|
-
$ yarn install
|
|
79
|
-
$ pulumi stack init test
|
|
80
|
-
$ pulumi up
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
Now that you have completed all of the above steps, you have a working provider that generates a random string for you.
|
|
84
|
-
|
|
85
|
-
#### A brief repository overview
|
|
86
|
-
|
|
87
|
-
You now have:
|
|
88
|
-
|
|
89
|
-
1. A `provider/` folder containing the building and implementation logic
|
|
90
|
-
1. `cmd/`
|
|
91
|
-
1. `pulumi-gen-xyz/` - generates language SDKs from the schema
|
|
92
|
-
2. `pulumi-resource-xyz/` - holds the package schema, injects the package version, and starts the gRPC server
|
|
93
|
-
2. `pkg`
|
|
94
|
-
1. `provider` - holds the gRPC methods (and for now, the sample implementation logic) required by the Pulumi engine
|
|
95
|
-
2. `version` - semver package to be consumed by build processes
|
|
96
|
-
2. `deployment-templates` - a set of files to help you around deployment and publication
|
|
97
|
-
3. `sdk` - holds the generated code libraries created by `pulumi-gen-xyz/main.go`
|
|
98
|
-
4. `examples` a folder of Pulumi programs to try locally and/or use in CI.
|
|
99
|
-
5. A `Makefile` and this `README`.
|
|
100
|
-
|
|
101
|
-
### Writing the schema
|
|
102
|
-
|
|
103
|
-
The [JSON schema file](https://www.pulumi.com/docs/guides/pulumi-packages/schema) is used by `pulumi-gen-xyz` to create language-specific SDKs.
|
|
104
|
-
It is, therefore, a central requirement for any resource provider.
|
|
105
|
-
Provider schemas can be handwritten, or alternatively machine-generated by combining API specification with pulumi-specific logic.
|
|
106
|
-
|
|
107
|
-
When writing the schema by hand, it is helpful to associate the JSON schema in your IDE for completion or Intellisense features to work:
|
|
108
|
-
|
|
109
|
-
* Visual Studio Code: the easiest option is to [map the schema file](https://code.visualstudio.com/Docs/languages/json#_mapping-in-the-user-settings)
|
|
110
|
-
in your User Settings which enables it for all your provider projects:
|
|
111
|
-
```json
|
|
112
|
-
"json.schemas": [
|
|
113
|
-
{
|
|
114
|
-
"fileMatch": [
|
|
115
|
-
"/provider/cmd/pulumi-*/schema.json"
|
|
116
|
-
],
|
|
117
|
-
"url": "https://raw.githubusercontent.com/pulumi/pulumi/master/pkg/codegen/schema/pulumi.json"
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
This repository provides the [xyz example schema](./provider/cmd/pulumi-resource-xyz/schema.json) to get you started.
|
|
123
|
-
[The AWS Native Provider schema](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-resource-aws-native/schema.json) provides a much larger example.
|
|
124
|
-
Refer to the [package schema documentation](https://www.pulumi.com/docs/guides/pulumi-packages/schema/#pulumi-package-schema) for additional details when writing the schema.
|
|
125
|
-
|
|
126
|
-
### Implementing the gRPC methods
|
|
127
|
-
|
|
128
|
-
Once you have a schema that describes all the resources and metadata for your provider, you will need to implement the desired gRPC methods.
|
|
129
|
-
You will find a mostly blank implementation of these in `pkg/provider/provider.go`.
|
|
130
|
-
Note that these methods do not link 1:1 to the Pulumi CLI commands.
|
|
131
36
|
|
|
132
|
-
|
|
37
|
+
1. Push the tags.
|
|
133
38
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
```
|
|
137
|
-
// provider/pkg/provider.go
|
|
138
|
-
type xyzProvider struct {
|
|
139
|
-
host *provider.HostClient
|
|
140
|
-
name string
|
|
141
|
-
version string
|
|
142
|
-
schema []byte
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
func makeProvider(host *provider.HostClient, name, version string, pulumiSchema []byte) (pulumirpc.ResourceProviderServer, error) {
|
|
146
|
-
// Return the new provider
|
|
147
|
-
return &xyzProvider{
|
|
148
|
-
host: host,
|
|
149
|
-
name: name,
|
|
150
|
-
version: version,
|
|
151
|
-
schema: pulumiSchema,
|
|
152
|
-
}, nil
|
|
153
|
-
}
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
You need to provide the following methods:
|
|
157
|
-
|
|
158
|
-
1. Check - validates resource Inputs
|
|
159
|
-
2. Diff - calculates the differences between the actual and the desired state of a resource
|
|
160
|
-
3. Create - creates a new instance of a resource from an Input
|
|
161
|
-
4. Update - updates a resource in-place (i.e. without deleting/recreating)
|
|
162
|
-
5. Read - reads current inputs and state for a resource
|
|
163
|
-
6. Delete - deletes a resource and its corresponding state
|
|
164
|
-
|
|
165
|
-
[Resource lifecycle methods are documented here](https://pulumi-developer-docs.readthedocs.io/en/stable/providers/implementers-guide.html#custom-resource-lifecycle).
|
|
166
|
-
|
|
167
|
-
The following methods are necessary for every provider and are already implemented:
|
|
168
|
-
|
|
169
|
-
1. GetPluginInfo - returns generic information about this plugin, like its version
|
|
170
|
-
2. GetSchema - returns the Pulumi schema to the provider
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
#### Additional Methods
|
|
174
|
-
|
|
175
|
-
The [resource provider service](https://github.com/pulumi/pulumi/blob/master/sdk/proto/provider.proto) includes a few more gRPC methods that you may need to implement and can read more about.
|
|
176
|
-
|
|
177
|
-
### Build Examples
|
|
178
|
-
|
|
179
|
-
Create an example program using the resources defined in your provider, and place it in the `examples/` folder.
|
|
180
|
-
|
|
181
|
-
You can now repeat the steps for [build, install, and test](#test-against-the-example).
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## Documentation
|
|
185
|
-
|
|
186
|
-
Please [follow this guide to add documentation to your provider](https://www.pulumi.com/docs/guides/pulumi-packages/how-to-author/#write-documentation).
|
|
187
|
-
|
|
188
|
-
## Configuring CI and releases
|
|
189
|
-
|
|
190
|
-
1. Follow the instructions laid out in the [deployment templates](./deployment-templates/README-DEPLOYMENT.md).
|
|
191
|
-
|
|
192
|
-
## References
|
|
193
|
-
|
|
194
|
-
Other resources for learning about the Pulumi resource model:
|
|
195
|
-
* [Pulumi Kubernetes provider](https://github.com/pulumi/pulumi-kubernetes/blob/master/provider/pkg/provider/provider.go)
|
|
196
|
-
* [Pulumi Terraform Remote State provider](https://github.com/pulumi/pulumi-terraform/blob/master/provider/cmd/pulumi-resource-terraform/provider.go)
|
|
197
|
-
* [Dynamic Providers](https://www.pulumi.com/docs/intro/concepts/programming-model/#dynamicproviders)
|
|
39
|
+
```bash
|
|
40
|
+
git push --tags
|
|
41
|
+
```
|
package/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { ProviderArgs } from "./provider";
|
|
2
|
-
export
|
|
2
|
+
export type Provider = import("./provider").Provider;
|
|
3
3
|
export declare const Provider: typeof import("./provider").Provider;
|
|
4
4
|
import * as config from "./config";
|
|
5
5
|
import * as owners from "./owners";
|
|
6
|
+
import * as registrycredentials from "./registrycredentials";
|
|
6
7
|
import * as services from "./services";
|
|
7
8
|
import * as types from "./types";
|
|
8
|
-
export { config, owners, services, types, };
|
|
9
|
+
export { config, owners, registrycredentials, services, types, };
|
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
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.types = exports.services = exports.owners = exports.config = exports.Provider = void 0;
|
|
5
|
+
exports.types = exports.services = exports.registrycredentials = exports.owners = exports.config = exports.Provider = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
exports.Provider = null;
|
|
@@ -12,6 +12,8 @@ const config = require("./config");
|
|
|
12
12
|
exports.config = config;
|
|
13
13
|
const owners = require("./owners");
|
|
14
14
|
exports.owners = owners;
|
|
15
|
+
const registrycredentials = require("./registrycredentials");
|
|
16
|
+
exports.registrycredentials = registrycredentials;
|
|
15
17
|
const services = require("./services");
|
|
16
18
|
exports.services = services;
|
|
17
19
|
const types = require("./types");
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,mCAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,mCAAmC;AAO/B,wBAAM;AANV,mCAAmC;AAO/B,wBAAM;AANV,6DAA6D;AAOzD,kDAAmB;AANvB,uCAAuC;AAOnC,4BAAQ;AANZ,iCAAiC;AAO7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,QAAQ,EAAE;IAC7C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,yBAAyB,EAAE;YACpC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/owners/getOwner.js
CHANGED
|
@@ -6,17 +6,14 @@ exports.getOwnerOutput = exports.getOwner = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
function getOwner(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
10
|
return pulumi.runtime.invoke("render:owners:getOwner", {
|
|
14
11
|
"id": args.id,
|
|
15
12
|
}, opts);
|
|
16
13
|
}
|
|
17
14
|
exports.getOwner = getOwner;
|
|
18
15
|
function getOwnerOutput(args, opts) {
|
|
19
|
-
return pulumi.output(args).apply(a => getOwner(a, opts));
|
|
16
|
+
return pulumi.output(args).apply((a) => getOwner(a, opts));
|
|
20
17
|
}
|
|
21
18
|
exports.getOwnerOutput = getOwnerOutput;
|
|
22
19
|
//# sourceMappingURL=getOwner.js.map
|
package/owners/getOwner.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOwner.js","sourceRoot":"","sources":["../../owners/getOwner.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getOwner.js","sourceRoot":"","sources":["../../owners/getOwner.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wBAAwB,EAAE;QACnD,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAYD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/owners/index.d.ts
CHANGED
|
@@ -3,4 +3,5 @@ export declare const getOwner: typeof import("./getOwner").getOwner;
|
|
|
3
3
|
export declare const getOwnerOutput: typeof import("./getOwner").getOwnerOutput;
|
|
4
4
|
export { ListOwnersArgs, ListOwnersResult } from "./listOwners";
|
|
5
5
|
export declare const listOwners: typeof import("./listOwners").listOwners;
|
|
6
|
+
export declare const listOwnersOutput: typeof import("./listOwners").listOwnersOutput;
|
|
6
7
|
export * from "../types/enums/owners";
|
package/owners/index.js
CHANGED
|
@@ -16,13 +16,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.listOwners = exports.getOwnerOutput = exports.getOwner = void 0;
|
|
19
|
+
exports.listOwnersOutput = exports.listOwners = exports.getOwnerOutput = exports.getOwner = void 0;
|
|
20
20
|
const utilities = require("../utilities");
|
|
21
21
|
exports.getOwner = null;
|
|
22
22
|
exports.getOwnerOutput = null;
|
|
23
23
|
utilities.lazyLoad(exports, ["getOwner", "getOwnerOutput"], () => require("./getOwner"));
|
|
24
24
|
exports.listOwners = null;
|
|
25
|
-
|
|
25
|
+
exports.listOwnersOutput = null;
|
|
26
|
+
utilities.lazyLoad(exports, ["listOwners", "listOwnersOutput"], () => require("./listOwners"));
|
|
26
27
|
// Export enums:
|
|
27
28
|
__exportStar(require("../types/enums/owners"), exports);
|
|
28
29
|
//# sourceMappingURL=index.js.map
|
package/owners/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../owners/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,0CAA0C;AAI7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG3E,QAAA,UAAU,GAA6C,IAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../owners/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,0CAA0C;AAI7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC7D,QAAA,cAAc,GAA+C,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,EAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAG3E,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG9F,gBAAgB;AAChB,wDAAsC"}
|
package/owners/listOwners.d.ts
CHANGED
package/owners/listOwners.js
CHANGED
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by pulumigen. ***
|
|
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.listOwners = void 0;
|
|
5
|
+
exports.listOwnersOutput = exports.listOwners = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
function listOwners(args, opts) {
|
|
9
9
|
args = args || {};
|
|
10
|
-
|
|
11
|
-
opts = {};
|
|
12
|
-
}
|
|
13
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
11
|
return pulumi.runtime.invoke("render:owners:listOwners", {}, opts);
|
|
15
12
|
}
|
|
16
13
|
exports.listOwners = listOwners;
|
|
14
|
+
function listOwnersOutput(opts) {
|
|
15
|
+
return pulumi.output(listOwners(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listOwnersOutput = listOwnersOutput;
|
|
17
18
|
//# sourceMappingURL=listOwners.js.map
|
package/owners/listOwners.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listOwners.js","sourceRoot":"","sources":["../../owners/listOwners.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"listOwners.js","sourceRoot":"","sources":["../../owners/listOwners.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0BAA0B,EAAE,EACxD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAQD,SAAgB,gBAAgB,CAAC,IAA2B;IACxD,OAAO,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAA;AAC1C,CAAC;AAFD,4CAEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudyskysoftware/pulumi-render",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.1.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"render",
|
|
@@ -11,23 +11,13 @@
|
|
|
11
11
|
"repository": "https://github.com/cloudy-sky-software/pulumi-render",
|
|
12
12
|
"license": "Apache-2.0",
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "tsc"
|
|
15
|
-
"install": "node scripts/install-pulumi-plugin.js resource render v0.0.46"
|
|
14
|
+
"build": "tsc"
|
|
16
15
|
},
|
|
17
16
|
"dependencies": {
|
|
18
|
-
"@pulumi/pulumi": "^3.
|
|
19
|
-
"@types/glob": "^5.0.35",
|
|
20
|
-
"@types/node-fetch": "^2.1.4",
|
|
21
|
-
"@types/tmp": "^0.0.33",
|
|
22
|
-
"glob": "^7.1.2",
|
|
23
|
-
"node-fetch": "^2.3.0",
|
|
24
|
-
"shell-quote": "^1.6.1",
|
|
25
|
-
"tmp": "^0.0.33"
|
|
17
|
+
"@pulumi/pulumi": "^3.42.0"
|
|
26
18
|
},
|
|
27
19
|
"devDependencies": {
|
|
28
|
-
"@types/
|
|
29
|
-
"@types/shell-quote": "^1.6.0",
|
|
30
|
-
"mocha": "^5.2.0",
|
|
20
|
+
"@types/node": "^14",
|
|
31
21
|
"typescript": "^4.3.5"
|
|
32
22
|
},
|
|
33
23
|
"pulumi": {
|
package/package.json.bak
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cloudyskysoftware/pulumi-render",
|
|
3
|
+
"version": "${VERSION}",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"pulumi",
|
|
6
|
+
"render",
|
|
7
|
+
"category/cloud",
|
|
8
|
+
"kind/native"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://cloudysky.software",
|
|
11
|
+
"repository": "https://github.com/cloudy-sky-software/pulumi-render",
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc"
|
|
15
|
+
},
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@pulumi/pulumi": "^3.42.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^14",
|
|
21
|
+
"typescript": "^4.3.5"
|
|
22
|
+
},
|
|
23
|
+
"pulumi": {
|
|
24
|
+
"resource": true,
|
|
25
|
+
"name": "render",
|
|
26
|
+
"server": "github://api.github.com/cloudy-sky-software/pulumi-render"
|
|
27
|
+
}
|
|
28
|
+
}
|
package/provider.js
CHANGED
|
@@ -9,6 +9,16 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* The provider type for the render package.
|
|
10
10
|
*/
|
|
11
11
|
class Provider extends pulumi.ProviderResource {
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj) {
|
|
17
|
+
if (obj === undefined || obj === null) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
21
|
+
}
|
|
12
22
|
/**
|
|
13
23
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
14
24
|
*
|
|
@@ -26,16 +36,6 @@ class Provider extends pulumi.ProviderResource {
|
|
|
26
36
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
27
37
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
28
38
|
}
|
|
29
|
-
/**
|
|
30
|
-
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
31
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
-
*/
|
|
33
|
-
static isInstance(obj) {
|
|
34
|
-
if (obj === undefined || obj === null) {
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
38
|
-
}
|
|
39
39
|
}
|
|
40
40
|
exports.Provider = Provider;
|
|
41
41
|
/** @internal */
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,QAAQ,CAAC,GAAG,MAAA,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC;SAC3H;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA/BL,4BAgCC;AA/BG,gBAAgB;AACO,qBAAY,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function getRegistryCredential(args?: GetRegistryCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetRegistryCredentialResult>;
|
|
4
|
+
export interface GetRegistryCredentialArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface GetRegistryCredentialResult {
|
|
7
|
+
readonly items: outputs.registrycredentials.GetRegistryCredentialProperties;
|
|
8
|
+
}
|
|
9
|
+
export declare function getRegistryCredentialOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetRegistryCredentialResult>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
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.getRegistryCredentialOutput = exports.getRegistryCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getRegistryCredential(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:registrycredentials:getRegistryCredential", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.getRegistryCredential = getRegistryCredential;
|
|
14
|
+
function getRegistryCredentialOutput(opts) {
|
|
15
|
+
return pulumi.output(getRegistryCredential(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.getRegistryCredentialOutput = getRegistryCredentialOutput;
|
|
18
|
+
//# sourceMappingURL=getRegistryCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRegistryCredential.js","sourceRoot":"","sources":["../../registrycredentials/getRegistryCredential.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE,EAChF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAQD,SAAgB,2BAA2B,CAAC,IAA2B;IACnE,OAAO,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAA;AACrD,CAAC;AAFD,kEAEC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { GetRegistryCredentialArgs, GetRegistryCredentialResult } from "./getRegistryCredential";
|
|
2
|
+
export declare const getRegistryCredential: typeof import("./getRegistryCredential").getRegistryCredential;
|
|
3
|
+
export declare const getRegistryCredentialOutput: typeof import("./getRegistryCredential").getRegistryCredentialOutput;
|
|
4
|
+
export { ListRegistryCredentialsArgs, ListRegistryCredentialsResult } from "./listRegistryCredentials";
|
|
5
|
+
export declare const listRegistryCredentials: typeof import("./listRegistryCredentials").listRegistryCredentials;
|
|
6
|
+
export declare const listRegistryCredentialsOutput: typeof import("./listRegistryCredentials").listRegistryCredentialsOutput;
|
|
7
|
+
export { RegistryCredentialArgs } from "./registryCredential";
|
|
8
|
+
export type RegistryCredential = import("./registryCredential").RegistryCredential;
|
|
9
|
+
export declare const RegistryCredential: typeof import("./registryCredential").RegistryCredential;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
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.RegistryCredential = exports.listRegistryCredentialsOutput = exports.listRegistryCredentials = exports.getRegistryCredentialOutput = exports.getRegistryCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getRegistryCredential = null;
|
|
9
|
+
exports.getRegistryCredentialOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getRegistryCredential", "getRegistryCredentialOutput"], () => require("./getRegistryCredential"));
|
|
11
|
+
exports.listRegistryCredentials = null;
|
|
12
|
+
exports.listRegistryCredentialsOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["listRegistryCredentials", "listRegistryCredentialsOutput"], () => require("./listRegistryCredentials"));
|
|
14
|
+
exports.RegistryCredential = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["RegistryCredential"], () => require("./registryCredential"));
|
|
16
|
+
const _module = {
|
|
17
|
+
version: utilities.getVersion(),
|
|
18
|
+
construct: (name, type, urn) => {
|
|
19
|
+
switch (type) {
|
|
20
|
+
case "render:registrycredentials:RegistryCredential":
|
|
21
|
+
return new exports.RegistryCredential(name, undefined, { urn });
|
|
22
|
+
default:
|
|
23
|
+
throw new Error(`unknown resource type ${type}`);
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
pulumi.runtime.registerResourceModule("render", "registrycredentials", _module);
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../registrycredentials/index.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACpG,QAAA,2BAA2B,GAAyE,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,EAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGlH,QAAA,uBAAuB,GAAuE,IAAW,CAAC;AAC1G,QAAA,6BAA6B,GAA6E,IAAW,CAAC;AACnI,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,yBAAyB,EAAC,+BAA+B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,2BAA2B,CAAC,CAAC,CAAC;AAIxH,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAG3F,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,+CAA+C;gBAChD,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
export declare function listRegistryCredentials(args?: ListRegistryCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<ListRegistryCredentialsResult>;
|
|
4
|
+
export interface ListRegistryCredentialsArgs {
|
|
5
|
+
}
|
|
6
|
+
export interface ListRegistryCredentialsResult {
|
|
7
|
+
readonly items: outputs.registrycredentials.ListRegistryCredentialsItemProperties[];
|
|
8
|
+
}
|
|
9
|
+
export declare function listRegistryCredentialsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<ListRegistryCredentialsResult>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumigen. ***
|
|
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.listRegistryCredentialsOutput = exports.listRegistryCredentials = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function listRegistryCredentials(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("render:registrycredentials:listRegistryCredentials", {}, opts);
|
|
12
|
+
}
|
|
13
|
+
exports.listRegistryCredentials = listRegistryCredentials;
|
|
14
|
+
function listRegistryCredentialsOutput(opts) {
|
|
15
|
+
return pulumi.output(listRegistryCredentials(opts));
|
|
16
|
+
}
|
|
17
|
+
exports.listRegistryCredentialsOutput = listRegistryCredentialsOutput;
|
|
18
|
+
//# sourceMappingURL=listRegistryCredentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listRegistryCredentials.js","sourceRoot":"","sources":["../../registrycredentials/listRegistryCredentials.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE,EAClF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAQD,SAAgB,6BAA6B,CAAC,IAA2B;IACrE,OAAO,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC,CAAA;AACvD,CAAC;AAFD,sEAEC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class RegistryCredential extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing RegistryCredential resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
+
*/
|
|
11
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RegistryCredential;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of RegistryCredential. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj: any): obj is RegistryCredential;
|
|
17
|
+
readonly authToken: pulumi.Output<string | undefined>;
|
|
18
|
+
readonly name: pulumi.Output<string | undefined>;
|
|
19
|
+
readonly ownerId: pulumi.Output<string | undefined>;
|
|
20
|
+
readonly registry: pulumi.Output<string | undefined>;
|
|
21
|
+
readonly username: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* Create a RegistryCredential resource with the given unique name, arguments, and options.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resource.
|
|
26
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
27
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
28
|
+
*/
|
|
29
|
+
constructor(name: string, args?: RegistryCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The set of arguments for constructing a RegistryCredential resource.
|
|
33
|
+
*/
|
|
34
|
+
export interface RegistryCredentialArgs {
|
|
35
|
+
authToken?: pulumi.Input<string>;
|
|
36
|
+
name?: pulumi.Input<string>;
|
|
37
|
+
ownerId?: pulumi.Input<string>;
|
|
38
|
+
registry?: pulumi.Input<string>;
|
|
39
|
+
username?: pulumi.Input<string>;
|
|
40
|
+
}
|