@three14/pulumi-argocd 1.1.0 → 1.2.0-alpha.1774122022

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.
@@ -0,0 +1,78 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Reads an existing ArgoCD application.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as argocd from "@three14/pulumi-argocd";
12
+ *
13
+ * const foo = argocd.getApplication({
14
+ * metadata: {
15
+ * name: "foo",
16
+ * namespace: "argocd",
17
+ * },
18
+ * });
19
+ * ```
20
+ */
21
+ export declare function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult>;
22
+ /**
23
+ * A collection of arguments for invoking getApplication.
24
+ */
25
+ export interface GetApplicationArgs {
26
+ /**
27
+ * Standard Kubernetes object metadata. For more info see the [Kubernetes reference](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata).
28
+ */
29
+ metadata: inputs.GetApplicationMetadata;
30
+ }
31
+ /**
32
+ * A collection of values returned by getApplication.
33
+ */
34
+ export interface GetApplicationResult {
35
+ /**
36
+ * ArgoCD application identifier
37
+ */
38
+ readonly id: string;
39
+ /**
40
+ * Standard Kubernetes object metadata. For more info see the [Kubernetes reference](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata).
41
+ */
42
+ readonly metadata: outputs.GetApplicationMetadata;
43
+ /**
44
+ * The application specification.
45
+ */
46
+ readonly spec: outputs.GetApplicationSpec;
47
+ /**
48
+ * Status information for the application.
49
+ */
50
+ readonly status: outputs.GetApplicationStatus;
51
+ }
52
+ /**
53
+ * Reads an existing ArgoCD application.
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as argocd from "@three14/pulumi-argocd";
60
+ *
61
+ * const foo = argocd.getApplication({
62
+ * metadata: {
63
+ * name: "foo",
64
+ * namespace: "argocd",
65
+ * },
66
+ * });
67
+ * ```
68
+ */
69
+ export declare function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult>;
70
+ /**
71
+ * A collection of arguments for invoking getApplication.
72
+ */
73
+ export interface GetApplicationOutputArgs {
74
+ /**
75
+ * Standard Kubernetes object metadata. For more info see the [Kubernetes reference](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata).
76
+ */
77
+ metadata: pulumi.Input<inputs.GetApplicationMetadataArgs>;
78
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.getApplicationOutput = exports.getApplication = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Reads an existing ArgoCD application.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as argocd from "@three14/pulumi-argocd";
16
+ *
17
+ * const foo = argocd.getApplication({
18
+ * metadata: {
19
+ * name: "foo",
20
+ * namespace: "argocd",
21
+ * },
22
+ * });
23
+ * ```
24
+ */
25
+ function getApplication(args, opts) {
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
27
+ return pulumi.runtime.invoke("argocd:index/getApplication:getApplication", {
28
+ "metadata": args.metadata,
29
+ }, opts);
30
+ }
31
+ exports.getApplication = getApplication;
32
+ /**
33
+ * Reads an existing ArgoCD application.
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as argocd from "@three14/pulumi-argocd";
40
+ *
41
+ * const foo = argocd.getApplication({
42
+ * metadata: {
43
+ * name: "foo",
44
+ * namespace: "argocd",
45
+ * },
46
+ * });
47
+ * ```
48
+ */
49
+ function getApplicationOutput(args, opts) {
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invokeOutput("argocd:index/getApplication:getApplication", {
52
+ "metadata": args.metadata,
53
+ }, opts);
54
+ }
55
+ exports.getApplicationOutput = getApplicationOutput;
56
+ //# sourceMappingURL=getApplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApplication.js","sourceRoot":"","sources":["../getApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAiCD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC"}
package/gpgKey.d.ts ADDED
@@ -0,0 +1,131 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Manages [GPG keys](https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/) within ArgoCD.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as argocd from "@three14/pulumi-argocd";
10
+ *
11
+ * const _this = new argocd.GpgKey("this", {publicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
12
+ *
13
+ * mQINBGSJdlcBEACnza+KvWLyKWUHJPhgs//HRL0EEmA/EcFKioBlrgPNYf/O7hNg
14
+ * KT3NDaNrD26pr+bOb4mfaqNNS9no8b9EP3C7Co3Wf2d4xpJ5/hlpIm3V652S5daZ
15
+ * I7ylVT8QOrhaqEnHH2hEcOfDaqjrYfrx3qiI8v7DmV6jfGi1tDUUgfJwiOyZk4q1
16
+ * jiPo5k4+XNp9mCtUAGyidLFcUqQ9XbHKgBwgAoxtIKNSbdPCGhsjgTHHhzswMH/Z
17
+ * DhhtcraqrfOhoP9lI4/zyCS+B9OfUy7BS/1SqWKIgdsjFIR+zHIOI69lh77+ZAVE
18
+ * MVYJBdFke5/g/tTPaQGuBqaIJ3d/Mi/ZlbTsoBcq5qam73uh7fcgBV5la6NeuNcR
19
+ * tvKMVl4DlnkJS8LBtElLEeHEylTCdNltrUFwshDKDBtq6ilTKCK14R6g4lkn8VcE
20
+ * 9xx7Mhdh77tp66FRZ6ge1E8EUEFwEeFhp240KRyaA5U1/kAarn8083zZ7d4+QObp
21
+ * L4KMqgrwLaxyPLgu0J/f946qLewV7XsbZRXE1jQa9Z7W5TEoJwjcC79DXe1wChc6
22
+ * cBfCtluDsnklwvldpKTEZU0q/hKE6Zt7NjLUyExV+5guoHllxoVxx7sh+jtKm/J+
23
+ * 5gh+B3xOTDxRV2XYIx1TM6U1iLxAqchzFec8dfkuTbs/5f++PrddvZfiUQARAQAB
24
+ * tD1BcmdvQ0QgVGVycmFmb3JtIFByb3ZpZGVyIDxmYWtldXNlckB1c2Vycy5ub3Jl
25
+ * cGx5LmdpdGh1Yi5jb20+iQJOBBMBCgA4FiEEvK9bNlncXDhFAk6kmtkpVUAdOI0F
26
+ * AmSJdlcCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQmtkpVUAdOI2FdA//
27
+ * YuFYsX6SUVgI4l68ZHE34jLTWU5R2ujB6luErcguAlLyDtrD3melva3V/ETc69/1
28
+ * 5o7Ayn3a7uz5lCEvUSLsCN+V2o3EjrA81pt8Zs+Z9WYeZE5F5DnKzq81PObdASB7
29
+ * Po2X0qLqqKIhpQxc/E7m26xmePCf82H36gtvPiEVmVA5yduk1lLG3aZtNIRCa4VK
30
+ * gmDjR8Se+OZeAw7JQCOeJB9/Y8oQ8nVkj1SWNIICaUwIXHtrj7r1z6XTDAEkGeBg
31
+ * HXW8IEhZDE1Nq3vQtZvgwftEoPT/Ff+8DwvL1JUov2ObQDolallzKaiiVfGZhPJZ
32
+ * 4PMtEPEmSL9QWJAG5jiBVC3BdVZtXBNkC1HqTCXwZc/wzp5O9MmMXmCrUFr4FfHu
33
+ * IZ560MNpp/SrtUrOahLmvuG0B+Ze96e2nm5ap5wkCDaQouOIqM7Lj+FGq64cu2B/
34
+ * oSsl7joBZQUYXv8meNOQssm6jArRLG2oFoiEdRqzd2/RjvvJliLN9OCNvV43f38h
35
+ * 8Ep8RDi9RiHhSKvwrvDD9x/JRm6zQUetjrctmjdIYp8k129LrD0Qr9ULXfphZdrv
36
+ * xga7/lyQLmukLu7Mxwp+ss2bY/wjT8mlT5P55kBpXXyYILhLsUESCHG6D8/Ov+vv
37
+ * OoZS+BSfe/0vc1aTfDKxj5wAx27a6z5o25X27feEl3U=
38
+ * =kqkH
39
+ * -----END PGP PUBLIC KEY BLOCK-----
40
+ * `});
41
+ * ```
42
+ *
43
+ * ## Import
44
+ *
45
+ * The `pulumi import` command can be used, for example:
46
+ *
47
+ * GPG Keys can be imported using the key ID.
48
+ *
49
+ * ```sh
50
+ * $ pulumi import argocd:index/gpgKey:GpgKey this 9AD92955401D388D
51
+ * ```
52
+ */
53
+ export declare class GpgKey extends pulumi.CustomResource {
54
+ /**
55
+ * Get an existing GpgKey resource's state with the given name, ID, and optional extra
56
+ * properties used to qualify the lookup.
57
+ *
58
+ * @param name The _unique_ name of the resulting resource.
59
+ * @param id The _unique_ provider ID of the resource to lookup.
60
+ * @param state Any extra arguments used during the lookup.
61
+ * @param opts Optional settings to control the behavior of the CustomResource.
62
+ */
63
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GpgKeyState, opts?: pulumi.CustomResourceOptions): GpgKey;
64
+ /**
65
+ * Returns true if the given object is an instance of GpgKey. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj: any): obj is GpgKey;
69
+ /**
70
+ * Fingerprint is the fingerprint of the key
71
+ */
72
+ readonly fingerprint: pulumi.Output<string>;
73
+ /**
74
+ * Owner holds the owner identification, e.g. a name and e-mail address
75
+ */
76
+ readonly owner: pulumi.Output<string>;
77
+ /**
78
+ * Raw key data of the GPG key to create
79
+ */
80
+ readonly publicKey: pulumi.Output<string>;
81
+ /**
82
+ * SubType holds the key's sub type (e.g. rsa4096)
83
+ */
84
+ readonly subType: pulumi.Output<string>;
85
+ /**
86
+ * Trust holds the level of trust assigned to this key
87
+ */
88
+ readonly trust: pulumi.Output<string>;
89
+ /**
90
+ * Create a GpgKey resource with the given unique name, arguments, and options.
91
+ *
92
+ * @param name The _unique_ name of the resource.
93
+ * @param args The arguments to use to populate this resource's properties.
94
+ * @param opts A bag of options that control this resource's behavior.
95
+ */
96
+ constructor(name: string, args: GpgKeyArgs, opts?: pulumi.CustomResourceOptions);
97
+ }
98
+ /**
99
+ * Input properties used for looking up and filtering GpgKey resources.
100
+ */
101
+ export interface GpgKeyState {
102
+ /**
103
+ * Fingerprint is the fingerprint of the key
104
+ */
105
+ fingerprint?: pulumi.Input<string>;
106
+ /**
107
+ * Owner holds the owner identification, e.g. a name and e-mail address
108
+ */
109
+ owner?: pulumi.Input<string>;
110
+ /**
111
+ * Raw key data of the GPG key to create
112
+ */
113
+ publicKey?: pulumi.Input<string>;
114
+ /**
115
+ * SubType holds the key's sub type (e.g. rsa4096)
116
+ */
117
+ subType?: pulumi.Input<string>;
118
+ /**
119
+ * Trust holds the level of trust assigned to this key
120
+ */
121
+ trust?: pulumi.Input<string>;
122
+ }
123
+ /**
124
+ * The set of arguments for constructing a GpgKey resource.
125
+ */
126
+ export interface GpgKeyArgs {
127
+ /**
128
+ * Raw key data of the GPG key to create
129
+ */
130
+ publicKey: pulumi.Input<string>;
131
+ }
package/gpgKey.js ADDED
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.GpgKey = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Manages [GPG keys](https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/) within ArgoCD.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as argocd from "@three14/pulumi-argocd";
16
+ *
17
+ * const _this = new argocd.GpgKey("this", {publicKey: `-----BEGIN PGP PUBLIC KEY BLOCK-----
18
+ *
19
+ * mQINBGSJdlcBEACnza+KvWLyKWUHJPhgs//HRL0EEmA/EcFKioBlrgPNYf/O7hNg
20
+ * KT3NDaNrD26pr+bOb4mfaqNNS9no8b9EP3C7Co3Wf2d4xpJ5/hlpIm3V652S5daZ
21
+ * I7ylVT8QOrhaqEnHH2hEcOfDaqjrYfrx3qiI8v7DmV6jfGi1tDUUgfJwiOyZk4q1
22
+ * jiPo5k4+XNp9mCtUAGyidLFcUqQ9XbHKgBwgAoxtIKNSbdPCGhsjgTHHhzswMH/Z
23
+ * DhhtcraqrfOh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BNkC1HqTCXwZc/wzp5O9MmMXmCrUFr4FfHu
39
+ * IZ560MNpp/SrtUrOahLmvuG0B+Ze96e2nm5ap5wkCDaQouOIqM7Lj+FGq64cu2B/
40
+ * oSsl7joBZQUYXv8meNOQssm6jArRLG2oFoiEdRqzd2/RjvvJliLN9OCNvV43f38h
41
+ * 8Ep8RDi9RiHhSKvwrvDD9x/JRm6zQUetjrctmjdIYp8k129LrD0Qr9ULXfphZdrv
42
+ * xga7/lyQLmukLu7Mxwp+ss2bY/wjT8mlT5P55kBpXXyYILhLsUESCHG6D8/Ov+vv
43
+ * OoZS+BSfe/0vc1aTfDKxj5wAx27a6z5o25X27feEl3U=
44
+ * =kqkH
45
+ * -----END PGP PUBLIC KEY BLOCK-----
46
+ * `});
47
+ * ```
48
+ *
49
+ * ## Import
50
+ *
51
+ * The `pulumi import` command can be used, for example:
52
+ *
53
+ * GPG Keys can be imported using the key ID.
54
+ *
55
+ * ```sh
56
+ * $ pulumi import argocd:index/gpgKey:GpgKey this 9AD92955401D388D
57
+ * ```
58
+ */
59
+ class GpgKey extends pulumi.CustomResource {
60
+ /**
61
+ * Get an existing GpgKey resource's state with the given name, ID, and optional extra
62
+ * properties used to qualify the lookup.
63
+ *
64
+ * @param name The _unique_ name of the resulting resource.
65
+ * @param id The _unique_ provider ID of the resource to lookup.
66
+ * @param state Any extra arguments used during the lookup.
67
+ * @param opts Optional settings to control the behavior of the CustomResource.
68
+ */
69
+ static get(name, id, state, opts) {
70
+ return new GpgKey(name, state, { ...opts, id: id });
71
+ }
72
+ /**
73
+ * Returns true if the given object is an instance of GpgKey. This is designed to work even
74
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
75
+ */
76
+ static isInstance(obj) {
77
+ if (obj === undefined || obj === null) {
78
+ return false;
79
+ }
80
+ return obj['__pulumiType'] === GpgKey.__pulumiType;
81
+ }
82
+ constructor(name, argsOrState, opts) {
83
+ let resourceInputs = {};
84
+ opts = opts || {};
85
+ if (opts.id) {
86
+ const state = argsOrState;
87
+ resourceInputs["fingerprint"] = state?.fingerprint;
88
+ resourceInputs["owner"] = state?.owner;
89
+ resourceInputs["publicKey"] = state?.publicKey;
90
+ resourceInputs["subType"] = state?.subType;
91
+ resourceInputs["trust"] = state?.trust;
92
+ }
93
+ else {
94
+ const args = argsOrState;
95
+ if (args?.publicKey === undefined && !opts.urn) {
96
+ throw new Error("Missing required property 'publicKey'");
97
+ }
98
+ resourceInputs["publicKey"] = args?.publicKey;
99
+ resourceInputs["fingerprint"] = undefined /*out*/;
100
+ resourceInputs["owner"] = undefined /*out*/;
101
+ resourceInputs["subType"] = undefined /*out*/;
102
+ resourceInputs["trust"] = undefined /*out*/;
103
+ }
104
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
105
+ super(GpgKey.__pulumiType, name, resourceInputs, opts);
106
+ }
107
+ }
108
+ exports.GpgKey = GpgKey;
109
+ /** @internal */
110
+ GpgKey.__pulumiType = 'argocd:index/gpgKey:GpgKey';
111
+ //# sourceMappingURL=gpgKey.js.map
package/gpgKey.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gpgKey.js","sourceRoot":"","sources":["../gpgKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,I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KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAhFL,wBAiFC;AAnEG,gBAAgB;AACO,mBAAY,GAAG,4BAA4B,CAAC"}
package/index.d.ts CHANGED
@@ -10,7 +10,28 @@ export declare const ApplicationSet: typeof import("./applicationSet").Applicati
10
10
  export { ClusterArgs, ClusterState } from "./cluster";
11
11
  export type Cluster = import("./cluster").Cluster;
12
12
  export declare const Cluster: typeof import("./cluster").Cluster;
13
+ export { GetApplicationArgs, GetApplicationResult, GetApplicationOutputArgs } from "./getApplication";
14
+ export declare const getApplication: typeof import("./getApplication").getApplication;
15
+ export declare const getApplicationOutput: typeof import("./getApplication").getApplicationOutput;
16
+ export { GpgKeyArgs, GpgKeyState } from "./gpgKey";
17
+ export type GpgKey = import("./gpgKey").GpgKey;
18
+ export declare const GpgKey: typeof import("./gpgKey").GpgKey;
19
+ export { ProjectArgs, ProjectState } from "./project";
20
+ export type Project = import("./project").Project;
21
+ export declare const Project: typeof import("./project").Project;
22
+ export { ProjectTokenArgs, ProjectTokenState } from "./projectToken";
23
+ export type ProjectToken = import("./projectToken").ProjectToken;
24
+ export declare const ProjectToken: typeof import("./projectToken").ProjectToken;
13
25
  export * from "./provider";
26
+ export { RepositoryArgs, RepositoryState } from "./repository";
27
+ export type Repository = import("./repository").Repository;
28
+ export declare const Repository: typeof import("./repository").Repository;
29
+ export { RepositoryCertificateArgs, RepositoryCertificateState } from "./repositoryCertificate";
30
+ export type RepositoryCertificate = import("./repositoryCertificate").RepositoryCertificate;
31
+ export declare const RepositoryCertificate: typeof import("./repositoryCertificate").RepositoryCertificate;
32
+ export { RepositoryCredentialsArgs, RepositoryCredentialsState } from "./repositoryCredentials";
33
+ export type RepositoryCredentials = import("./repositoryCredentials").RepositoryCredentials;
34
+ export declare const RepositoryCredentials: typeof import("./repositoryCredentials").RepositoryCredentials;
14
35
  import * as config from "./config";
15
36
  import * as types from "./types";
16
37
  export { config, types, };
package/index.js CHANGED
@@ -16,7 +16,7 @@ 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.types = exports.config = exports.Cluster = exports.ApplicationSet = exports.Application = exports.AccountToken = void 0;
19
+ exports.types = exports.config = exports.RepositoryCredentials = exports.RepositoryCertificate = exports.Repository = exports.ProjectToken = exports.Project = exports.GpgKey = exports.getApplicationOutput = exports.getApplication = exports.Cluster = exports.ApplicationSet = exports.Application = exports.AccountToken = void 0;
20
20
  const pulumi = require("@pulumi/pulumi");
21
21
  const utilities = require("./utilities");
22
22
  exports.AccountToken = null;
@@ -27,8 +27,23 @@ exports.ApplicationSet = null;
27
27
  utilities.lazyLoad(exports, ["ApplicationSet"], () => require("./applicationSet"));
28
28
  exports.Cluster = null;
29
29
  utilities.lazyLoad(exports, ["Cluster"], () => require("./cluster"));
30
+ exports.getApplication = null;
31
+ exports.getApplicationOutput = null;
32
+ utilities.lazyLoad(exports, ["getApplication", "getApplicationOutput"], () => require("./getApplication"));
33
+ exports.GpgKey = null;
34
+ utilities.lazyLoad(exports, ["GpgKey"], () => require("./gpgKey"));
35
+ exports.Project = null;
36
+ utilities.lazyLoad(exports, ["Project"], () => require("./project"));
37
+ exports.ProjectToken = null;
38
+ utilities.lazyLoad(exports, ["ProjectToken"], () => require("./projectToken"));
30
39
  __exportStar(require("./provider"), exports);
31
40
  const provider_1 = require("./provider");
41
+ exports.Repository = null;
42
+ utilities.lazyLoad(exports, ["Repository"], () => require("./repository"));
43
+ exports.RepositoryCertificate = null;
44
+ utilities.lazyLoad(exports, ["RepositoryCertificate"], () => require("./repositoryCertificate"));
45
+ exports.RepositoryCredentials = null;
46
+ utilities.lazyLoad(exports, ["RepositoryCredentials"], () => require("./repositoryCredentials"));
32
47
  // Export sub-modules:
33
48
  const config = require("./config");
34
49
  exports.config = config;
@@ -46,6 +61,18 @@ const _module = {
46
61
  return new exports.ApplicationSet(name, undefined, { urn });
47
62
  case "argocd:index/cluster:Cluster":
48
63
  return new exports.Cluster(name, undefined, { urn });
64
+ case "argocd:index/gpgKey:GpgKey":
65
+ return new exports.GpgKey(name, undefined, { urn });
66
+ case "argocd:index/project:Project":
67
+ return new exports.Project(name, undefined, { urn });
68
+ case "argocd:index/projectToken:ProjectToken":
69
+ return new exports.ProjectToken(name, undefined, { urn });
70
+ case "argocd:index/repository:Repository":
71
+ return new exports.Repository(name, undefined, { urn });
72
+ case "argocd:index/repositoryCertificate:RepositoryCertificate":
73
+ return new exports.RepositoryCertificate(name, undefined, { urn });
74
+ case "argocd:index/repositoryCredentials:RepositoryCredentials":
75
+ return new exports.RepositoryCredentials(name, undefined, { urn });
49
76
  default:
50
77
  throw new Error(`unknown resource type ${type}`);
51
78
  }
@@ -55,6 +82,12 @@ pulumi.runtime.registerResourceModule("argocd", "index/accountToken", _module);
55
82
  pulumi.runtime.registerResourceModule("argocd", "index/application", _module);
56
83
  pulumi.runtime.registerResourceModule("argocd", "index/applicationSet", _module);
57
84
  pulumi.runtime.registerResourceModule("argocd", "index/cluster", _module);
85
+ pulumi.runtime.registerResourceModule("argocd", "index/gpgKey", _module);
86
+ pulumi.runtime.registerResourceModule("argocd", "index/project", _module);
87
+ pulumi.runtime.registerResourceModule("argocd", "index/projectToken", _module);
88
+ pulumi.runtime.registerResourceModule("argocd", "index/repository", _module);
89
+ pulumi.runtime.registerResourceModule("argocd", "index/repositoryCertificate", _module);
90
+ pulumi.runtime.registerResourceModule("argocd", "index/repositoryCredentials", _module);
58
91
  pulumi.runtime.registerResourcePackage("argocd", {
59
92
  version: utilities.getVersion(),
60
93
  constructProvider: (name, type, urn) => {
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;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Q,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACvF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,QAAQ,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAA;AACvF,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,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@three14/pulumi-argocd",
3
- "version": "1.1.0",
3
+ "version": "1.2.0-alpha.1774122022",
4
4
  "description": "A Pulumi package for creating and managing Argo CD resources.",
5
5
  "keywords": [
6
6
  "argocd",
@@ -22,7 +22,7 @@
22
22
  "pulumi": {
23
23
  "resource": true,
24
24
  "name": "argocd",
25
- "version": "1.1.0",
25
+ "version": "1.2.0-alpha.1774122022",
26
26
  "server": "https://github.com/Three141/pulumi-argocd/releases/download/v${VERSION}/"
27
27
  }
28
28
  }