config

package
v2.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddress

func GetAddress(ctx *pulumi.Context) string

URL of the root of the target Nomad agent.

func GetCaFile

func GetCaFile(ctx *pulumi.Context) string

A path to a PEM-encoded certificate authority used to verify the remote agent's certificate.

func GetCaPem

func GetCaPem(ctx *pulumi.Context) string

PEM-encoded certificate authority used to verify the remote agent's certificate.

func GetCertFile

func GetCertFile(ctx *pulumi.Context) string

A path to a PEM-encoded certificate provided to the remote agent; requires use of keyFile or key_pem.

func GetCertPem

func GetCertPem(ctx *pulumi.Context) string

PEM-encoded certificate provided to the remote agent; requires use of keyFile or key_pem.

func GetConsulToken

func GetConsulToken(ctx *pulumi.Context) string

Consul token to validate Consul Connect Service Identity policies specified in the job file.

func GetHeaders

func GetHeaders(ctx *pulumi.Context) string

The headers to send with each Nomad request.

func GetHttpAuth

func GetHttpAuth(ctx *pulumi.Context) string

HTTP basic auth configuration.

func GetIgnoreEnvVars

func GetIgnoreEnvVars(ctx *pulumi.Context) string

A set of environment variables that are ignored by the provider when configuring the Nomad API client.

func GetKeyFile

func GetKeyFile(ctx *pulumi.Context) string

A path to a PEM-encoded private key, required if certFile or certPem is specified.

func GetKeyPem

func GetKeyPem(ctx *pulumi.Context) string

PEM-encoded private key, required if certFile or certPem is specified.

func GetRegion

func GetRegion(ctx *pulumi.Context) string

Region of the target Nomad agent.

func GetSecretId

func GetSecretId(ctx *pulumi.Context) string

ACL token secret for API requests.

func GetSkipVerify

func GetSkipVerify(ctx *pulumi.Context) bool

Skip TLS verification on client side.

func GetVaultToken

func GetVaultToken(ctx *pulumi.Context) string

Vault token if policies are specified in the job file.

Types

type Headers

type Headers struct {
	// The header name
	Name string `pulumi:"name"`
	// The header value
	Value string `pulumi:"value"`
}

type HeadersArgs

type HeadersArgs struct {
	// The header name
	Name pulumi.StringInput `pulumi:"name"`
	// The header value
	Value pulumi.StringInput `pulumi:"value"`
}

func (HeadersArgs) ElementType

func (HeadersArgs) ElementType() reflect.Type

func (HeadersArgs) ToHeadersOutput

func (i HeadersArgs) ToHeadersOutput() HeadersOutput

func (HeadersArgs) ToHeadersOutputWithContext

func (i HeadersArgs) ToHeadersOutputWithContext(ctx context.Context) HeadersOutput

type HeadersArray

type HeadersArray []HeadersInput

func (HeadersArray) ElementType

func (HeadersArray) ElementType() reflect.Type

func (HeadersArray) ToHeadersArrayOutput

func (i HeadersArray) ToHeadersArrayOutput() HeadersArrayOutput

func (HeadersArray) ToHeadersArrayOutputWithContext

func (i HeadersArray) ToHeadersArrayOutputWithContext(ctx context.Context) HeadersArrayOutput

type HeadersArrayInput

type HeadersArrayInput interface {
	pulumi.Input

	ToHeadersArrayOutput() HeadersArrayOutput
	ToHeadersArrayOutputWithContext(context.Context) HeadersArrayOutput
}

HeadersArrayInput is an input type that accepts HeadersArray and HeadersArrayOutput values. You can construct a concrete instance of `HeadersArrayInput` via:

HeadersArray{ HeadersArgs{...} }

type HeadersArrayOutput

type HeadersArrayOutput struct{ *pulumi.OutputState }

func (HeadersArrayOutput) ElementType

func (HeadersArrayOutput) ElementType() reflect.Type

func (HeadersArrayOutput) Index

func (HeadersArrayOutput) ToHeadersArrayOutput

func (o HeadersArrayOutput) ToHeadersArrayOutput() HeadersArrayOutput

func (HeadersArrayOutput) ToHeadersArrayOutputWithContext

func (o HeadersArrayOutput) ToHeadersArrayOutputWithContext(ctx context.Context) HeadersArrayOutput

type HeadersInput

type HeadersInput interface {
	pulumi.Input

	ToHeadersOutput() HeadersOutput
	ToHeadersOutputWithContext(context.Context) HeadersOutput
}

HeadersInput is an input type that accepts HeadersArgs and HeadersOutput values. You can construct a concrete instance of `HeadersInput` via:

HeadersArgs{...}

type HeadersOutput

type HeadersOutput struct{ *pulumi.OutputState }

func (HeadersOutput) ElementType

func (HeadersOutput) ElementType() reflect.Type

func (HeadersOutput) Name

The header name

func (HeadersOutput) ToHeadersOutput

func (o HeadersOutput) ToHeadersOutput() HeadersOutput

func (HeadersOutput) ToHeadersOutputWithContext

func (o HeadersOutput) ToHeadersOutputWithContext(ctx context.Context) HeadersOutput

func (HeadersOutput) Value

func (o HeadersOutput) Value() pulumi.StringOutput

The header value

Jump to

Keyboard shortcuts

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