@kilic.dev/pulumi-k8s-crds 1.0.0
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 +1 -0
- package/dist/argoproj/index.d.ts +2 -0
- package/dist/argoproj/index.js +5 -0
- package/dist/argoproj/v1alpha1/appProject.d.ts +65 -0
- package/dist/argoproj/v1alpha1/appProject.js +75 -0
- package/dist/argoproj/v1alpha1/application.d.ts +68 -0
- package/dist/argoproj/v1alpha1/application.js +76 -0
- package/dist/argoproj/v1alpha1/applicationSet.d.ts +45 -0
- package/dist/argoproj/v1alpha1/applicationSet.js +61 -0
- package/dist/argoproj/v1alpha1/index.d.ts +9 -0
- package/dist/argoproj/v1alpha1/index.js +26 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +20 -0
- package/dist/meta/v1.d.ts +2 -0
- package/dist/meta/v1.js +1 -0
- package/dist/postgresql/index.d.ts +2 -0
- package/dist/postgresql/index.js +5 -0
- package/dist/postgresql/v1/backup.d.ts +66 -0
- package/dist/postgresql/v1/backup.js +74 -0
- package/dist/postgresql/v1/cluster.d.ts +66 -0
- package/dist/postgresql/v1/cluster.js +74 -0
- package/dist/postgresql/v1/clusterImageCatalog.d.ts +54 -0
- package/dist/postgresql/v1/clusterImageCatalog.js +65 -0
- package/dist/postgresql/v1/imageCatalog.d.ts +54 -0
- package/dist/postgresql/v1/imageCatalog.js +65 -0
- package/dist/postgresql/v1/index.d.ts +18 -0
- package/dist/postgresql/v1/index.js +38 -0
- package/dist/postgresql/v1/pooler.d.ts +66 -0
- package/dist/postgresql/v1/pooler.js +74 -0
- package/dist/postgresql/v1/scheduledBackup.d.ts +66 -0
- package/dist/postgresql/v1/scheduledBackup.js +74 -0
- package/dist/provider.d.ts +23 -0
- package/dist/provider.js +33 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +6 -0
- package/dist/types/input.d.ts +28919 -0
- package/dist/types/input.js +990 -0
- package/dist/types/output.d.ts +28918 -0
- package/dist/types/output.js +989 -0
- package/dist/utilities.d.ts +12 -0
- package/dist/utilities.js +80 -0
- package/package.json +56 -0
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
4
|
+
import * as inputs from "../../types/input";
|
|
5
|
+
import * as utilities from "../../utilities";
|
|
6
|
+
/**
|
|
7
|
+
* ScheduledBackup is the Schema for the scheduledbackups API
|
|
8
|
+
*/
|
|
9
|
+
export class ScheduledBackup extends pulumi.CustomResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get an existing ScheduledBackup resource's state with the given name, ID, and optional extra
|
|
12
|
+
* properties used to qualify the lookup.
|
|
13
|
+
*
|
|
14
|
+
* @param name The _unique_ name of the resulting resource.
|
|
15
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name, id, opts) {
|
|
19
|
+
return new ScheduledBackup(name, undefined, { ...opts, id: id });
|
|
20
|
+
}
|
|
21
|
+
/** @internal */
|
|
22
|
+
static __pulumiType = 'kubernetes:postgresql.cnpg.io/v1:ScheduledBackup';
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of ScheduledBackup. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === ScheduledBackup.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
apiVersion;
|
|
34
|
+
kind;
|
|
35
|
+
metadata;
|
|
36
|
+
/**
|
|
37
|
+
* Specification of the desired behavior of the ScheduledBackup.
|
|
38
|
+
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
39
|
+
*/
|
|
40
|
+
spec;
|
|
41
|
+
/**
|
|
42
|
+
* Most recently observed status of the ScheduledBackup. This data may not be up
|
|
43
|
+
* to date. Populated by the system. Read-only.
|
|
44
|
+
* More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
45
|
+
*/
|
|
46
|
+
status;
|
|
47
|
+
/**
|
|
48
|
+
* Create a ScheduledBackup resource with the given unique name, arguments, and options.
|
|
49
|
+
*
|
|
50
|
+
* @param name The _unique_ name of the resource.
|
|
51
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
52
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
53
|
+
*/
|
|
54
|
+
constructor(name, args, opts) {
|
|
55
|
+
let resourceInputs = {};
|
|
56
|
+
opts = opts || {};
|
|
57
|
+
if (!opts.id) {
|
|
58
|
+
resourceInputs["apiVersion"] = "postgresql.cnpg.io/v1";
|
|
59
|
+
resourceInputs["kind"] = "ScheduledBackup";
|
|
60
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
61
|
+
resourceInputs["spec"] = args ? (args.spec ? pulumi.output(args.spec).apply(inputs.postgresql.v1.scheduledBackupSpecArgsProvideDefaults) : undefined) : undefined;
|
|
62
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(ScheduledBackup.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
3
|
+
/** @internal */
|
|
4
|
+
static readonly __pulumiType = "pulumi-k8s-crds";
|
|
5
|
+
/**
|
|
6
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
7
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
8
|
+
*/
|
|
9
|
+
static isInstance(obj: any): obj is Provider;
|
|
10
|
+
/**
|
|
11
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resource.
|
|
14
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
15
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
16
|
+
*/
|
|
17
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The set of arguments for constructing a Provider resource.
|
|
21
|
+
*/
|
|
22
|
+
export interface ProviderArgs {
|
|
23
|
+
}
|
package/dist/provider.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
4
|
+
import * as utilities from "./utilities";
|
|
5
|
+
export class Provider extends pulumi.ProviderResource {
|
|
6
|
+
/** @internal */
|
|
7
|
+
static __pulumiType = 'pulumi-k8s-crds';
|
|
8
|
+
/**
|
|
9
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
10
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
11
|
+
*/
|
|
12
|
+
static isInstance(obj) {
|
|
13
|
+
if (obj === undefined || obj === null) {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
20
|
+
*
|
|
21
|
+
* @param name The _unique_ name of the resource.
|
|
22
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
23
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
24
|
+
*/
|
|
25
|
+
constructor(name, args, opts) {
|
|
26
|
+
let resourceInputs = {};
|
|
27
|
+
opts = opts || {};
|
|
28
|
+
{
|
|
29
|
+
}
|
|
30
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
31
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
// Export sub-modules:
|
|
4
|
+
import * as input from "./input";
|
|
5
|
+
import * as output from "./output";
|
|
6
|
+
export { input, output, };
|