config

package
v5.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProxy

func GetProxy(ctx *pulumi.Context) string

Proxy used by resources and data sources that connect to external endpoints.

Types

type Proxy

type Proxy struct {
	// When `true` the provider will discover the proxy configuration from environment variables. This is based upon [`http.ProxyFromEnvironment`](https://pkg.go.dev/net/http#ProxyFromEnvironment) and it supports the same environment variables (default: `true`).
	FromEnv *bool `pulumi:"fromEnv"`
	// Password used for Basic authentication against the Proxy.
	Password *string `pulumi:"password"`
	// URL used to connect to the Proxy. Accepted schemes are: `http`, `https`, `socks5`.
	Url *string `pulumi:"url"`
	// Username (or Token) used for Basic authentication against the Proxy.
	Username *string `pulumi:"username"`
}

type ProxyArgs

type ProxyArgs struct {
	// When `true` the provider will discover the proxy configuration from environment variables. This is based upon [`http.ProxyFromEnvironment`](https://pkg.go.dev/net/http#ProxyFromEnvironment) and it supports the same environment variables (default: `true`).
	FromEnv pulumi.BoolPtrInput `pulumi:"fromEnv"`
	// Password used for Basic authentication against the Proxy.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// URL used to connect to the Proxy. Accepted schemes are: `http`, `https`, `socks5`.
	Url pulumi.StringPtrInput `pulumi:"url"`
	// Username (or Token) used for Basic authentication against the Proxy.
	Username pulumi.StringPtrInput `pulumi:"username"`
}

func (ProxyArgs) ElementType

func (ProxyArgs) ElementType() reflect.Type

func (ProxyArgs) ToProxyOutput

func (i ProxyArgs) ToProxyOutput() ProxyOutput

func (ProxyArgs) ToProxyOutputWithContext

func (i ProxyArgs) ToProxyOutputWithContext(ctx context.Context) ProxyOutput

type ProxyInput

type ProxyInput interface {
	pulumi.Input

	ToProxyOutput() ProxyOutput
	ToProxyOutputWithContext(context.Context) ProxyOutput
}

ProxyInput is an input type that accepts ProxyArgs and ProxyOutput values. You can construct a concrete instance of `ProxyInput` via:

ProxyArgs{...}

type ProxyOutput

type ProxyOutput struct{ *pulumi.OutputState }

func (ProxyOutput) ElementType

func (ProxyOutput) ElementType() reflect.Type

func (ProxyOutput) FromEnv

func (o ProxyOutput) FromEnv() pulumi.BoolPtrOutput

When `true` the provider will discover the proxy configuration from environment variables. This is based upon [`http.ProxyFromEnvironment`](https://pkg.go.dev/net/http#ProxyFromEnvironment) and it supports the same environment variables (default: `true`).

func (ProxyOutput) Password

func (o ProxyOutput) Password() pulumi.StringPtrOutput

Password used for Basic authentication against the Proxy.

func (ProxyOutput) ToProxyOutput

func (o ProxyOutput) ToProxyOutput() ProxyOutput

func (ProxyOutput) ToProxyOutputWithContext

func (o ProxyOutput) ToProxyOutputWithContext(ctx context.Context) ProxyOutput

func (ProxyOutput) Url

URL used to connect to the Proxy. Accepted schemes are: `http`, `https`, `socks5`.

func (ProxyOutput) Username

func (o ProxyOutput) Username() pulumi.StringPtrOutput

Username (or Token) used for Basic authentication against the Proxy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL