Documentation ¶
Index ¶
- func GetCluster(ctx *pulumi.Context) string
- func GetContext(ctx *pulumi.Context) string
- func GetEnableDryRun(ctx *pulumi.Context) bool
- func GetKubeconfig(ctx *pulumi.Context) string
- func GetNamespace(ctx *pulumi.Context) string
- func GetRenderYamlToDirectory(ctx *pulumi.Context) string
- func GetSuppressDeprecationWarnings(ctx *pulumi.Context) bool
- func GetSuppressHelmHookWarnings(ctx *pulumi.Context) bool
- type KubeClientSettings
- type KubeClientSettingsArgs
- type KubeClientSettingsInput
- type KubeClientSettingsOutput
- func (o KubeClientSettingsOutput) Burst() pulumi.IntPtrOutput
- func (KubeClientSettingsOutput) ElementType() reflect.Type
- func (o KubeClientSettingsOutput) Qps() pulumi.Float64PtrOutput
- func (o KubeClientSettingsOutput) ToKubeClientSettingsOutput() KubeClientSettingsOutput
- func (o KubeClientSettingsOutput) ToKubeClientSettingsOutputWithContext(ctx context.Context) KubeClientSettingsOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCluster ¶
If present, the name of the kubeconfig cluster to use.
func GetContext ¶
If present, the name of the kubeconfig context to use.
func GetEnableDryRun ¶
BETA FEATURE - If present and set to true, enable server-side diff calculations. This feature is in developer preview, and is disabled by default.
This config can be specified in the following ways, using this precedence: 1. This `enableDryRun` parameter. 2. The `PULUMI_K8S_ENABLE_DRY_RUN` environment variable.
func GetKubeconfig ¶
The contents of a kubeconfig file or the path to a kubeconfig file. If this is set, this config will be used instead of $KUBECONFIG.
func GetNamespace ¶
If present, the default namespace to use. This flag is ignored for cluster-scoped resources.
A namespace can be specified in multiple places, and the precedence is as follows: 1. `.metadata.namespace` set on the resource. 2. This `namespace` parameter. 3. `namespace` set for the active context in the kubeconfig.
func GetRenderYamlToDirectory ¶
BETA FEATURE - If present, render resource manifests to this directory. In this mode, resources will not be created on a Kubernetes cluster, but the rendered manifests will be kept in sync with changes to the Pulumi program. This feature is in developer preview, and is disabled by default.
Note that some computed Outputs such as status fields will not be populated since the resources are not created on a Kubernetes cluster. These Output values will remain undefined, and may result in an error if they are referenced by other resources. Also note that any secret values used in these resources will be rendered in plaintext to the resulting YAML.
func GetSuppressDeprecationWarnings ¶
If present and set to true, suppress apiVersion deprecation warnings from the CLI.
This config can be specified in the following ways, using this precedence: 1. This `suppressDeprecationWarnings` parameter. 2. The `PULUMI_K8S_SUPPRESS_DEPRECATION_WARNINGS` environment variable.
func GetSuppressHelmHookWarnings ¶ added in v3.6.1
If present and set to true, suppress unsupported Helm hook warnings from the CLI.
This config can be specified in the following ways, using this precedence: 1. This `suppressHelmHookWarnings` parameter. 2. The `PULUMI_K8S_SUPPRESS_HELM_HOOK_WARNINGS` environment variable.
Types ¶
type KubeClientSettings ¶ added in v3.8.0
type KubeClientSettings struct { // Maximum burst for throttle. Default value is 10. Burst *int `pulumi:"burst"` // QPS indicates the maximum queries per second (QPS) to the API server from this client. Default value is 5. Qps *float64 `pulumi:"qps"` }
Options for tuning the Kubernetes client used by a Provider.
type KubeClientSettingsArgs ¶ added in v3.8.0
type KubeClientSettingsArgs struct { // Maximum burst for throttle. Default value is 10. Burst pulumi.IntPtrInput `pulumi:"burst"` // QPS indicates the maximum queries per second (QPS) to the API server from this client. Default value is 5. Qps pulumi.Float64PtrInput `pulumi:"qps"` }
Options for tuning the Kubernetes client used by a Provider.
func (KubeClientSettingsArgs) ElementType ¶ added in v3.8.0
func (KubeClientSettingsArgs) ElementType() reflect.Type
func (KubeClientSettingsArgs) ToKubeClientSettingsOutput ¶ added in v3.8.0
func (i KubeClientSettingsArgs) ToKubeClientSettingsOutput() KubeClientSettingsOutput
func (KubeClientSettingsArgs) ToKubeClientSettingsOutputWithContext ¶ added in v3.8.0
func (i KubeClientSettingsArgs) ToKubeClientSettingsOutputWithContext(ctx context.Context) KubeClientSettingsOutput
type KubeClientSettingsInput ¶ added in v3.8.0
type KubeClientSettingsInput interface { pulumi.Input ToKubeClientSettingsOutput() KubeClientSettingsOutput ToKubeClientSettingsOutputWithContext(context.Context) KubeClientSettingsOutput }
KubeClientSettingsInput is an input type that accepts KubeClientSettingsArgs and KubeClientSettingsOutput values. You can construct a concrete instance of `KubeClientSettingsInput` via:
KubeClientSettingsArgs{...}
type KubeClientSettingsOutput ¶ added in v3.8.0
type KubeClientSettingsOutput struct{ *pulumi.OutputState }
Options for tuning the Kubernetes client used by a Provider.
func (KubeClientSettingsOutput) Burst ¶ added in v3.8.0
func (o KubeClientSettingsOutput) Burst() pulumi.IntPtrOutput
Maximum burst for throttle. Default value is 10.
func (KubeClientSettingsOutput) ElementType ¶ added in v3.8.0
func (KubeClientSettingsOutput) ElementType() reflect.Type
func (KubeClientSettingsOutput) Qps ¶ added in v3.8.0
func (o KubeClientSettingsOutput) Qps() pulumi.Float64PtrOutput
QPS indicates the maximum queries per second (QPS) to the API server from this client. Default value is 5.
func (KubeClientSettingsOutput) ToKubeClientSettingsOutput ¶ added in v3.8.0
func (o KubeClientSettingsOutput) ToKubeClientSettingsOutput() KubeClientSettingsOutput
func (KubeClientSettingsOutput) ToKubeClientSettingsOutputWithContext ¶ added in v3.8.0
func (o KubeClientSettingsOutput) ToKubeClientSettingsOutputWithContext(ctx context.Context) KubeClientSettingsOutput