-
Notifications
You must be signed in to change notification settings - Fork 1k
/
output.ts
37 lines (33 loc) 路 1.21 KB
/
output.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as utilities from "../utilities";
/**
* Options for tuning the Kubernetes client used by a Provider.
*/
export interface KubeClientSettings {
/**
* Maximum burst for throttle. Default value is 10.
*/
burst?: number;
/**
* Maximum queries per second (QPS) to the API server from this client. Default value is 5.
*/
qps?: number;
recTest?: outputs.KubeClientSettings;
}
/**
* kubeClientSettingsProvideDefaults sets the appropriate defaults for KubeClientSettings
*/
export function kubeClientSettingsProvideDefaults(val: KubeClientSettings): KubeClientSettings {
return {
...val,
burst: (val.burst) ?? utilities.getEnvNumber("PULUMI_K8S_CLIENT_BURST"),
qps: (val.qps) ?? utilities.getEnvNumber("PULUMI_K8S_CLIENT_QPS"),
recTest: (val.recTest ? outputs.kubeClientSettingsProvideDefaults(val.recTest) : undefined),
};
}
export * as mod1 from "./mod1";
export * as mod2 from "./mod2";