config

package
v7.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCacheEnabled

func GetCacheEnabled(ctx *pulumi.Context) bool

func GetConfig

func GetConfig(ctx *pulumi.Context) string

func GetConfigSection

func GetConfigSection(ctx *pulumi.Context) string

The section of the edgerc file to use for configuration

func GetEdgerc

func GetEdgerc(ctx *pulumi.Context) string

func GetRequestLimit

func GetRequestLimit(ctx *pulumi.Context) int

The maximum number of API requests to be made per second (0 for no limit)

func GetRetryDisabled

func GetRetryDisabled(ctx *pulumi.Context) bool

Should the retries of API requests be disabled, default false

func GetRetryMax

func GetRetryMax(ctx *pulumi.Context) int

The maximum number retires of API requests, default 10

func GetRetryWaitMax

func GetRetryWaitMax(ctx *pulumi.Context) int

The maximum wait time in seconds between API requests retries, default is 30 sec

func GetRetryWaitMin

func GetRetryWaitMin(ctx *pulumi.Context) int

The minimum wait time in seconds between API requests retries, default is 1 sec

Types

type Config

type Config struct {
	AccessToken  string  `pulumi:"accessToken"`
	AccountKey   *string `pulumi:"accountKey"`
	ClientSecret string  `pulumi:"clientSecret"`
	ClientToken  string  `pulumi:"clientToken"`
	Host         string  `pulumi:"host"`
	MaxBody      *int    `pulumi:"maxBody"`
}

type ConfigArgs

type ConfigArgs struct {
	AccessToken  pulumi.StringInput    `pulumi:"accessToken"`
	AccountKey   pulumi.StringPtrInput `pulumi:"accountKey"`
	ClientSecret pulumi.StringInput    `pulumi:"clientSecret"`
	ClientToken  pulumi.StringInput    `pulumi:"clientToken"`
	Host         pulumi.StringInput    `pulumi:"host"`
	MaxBody      pulumi.IntPtrInput    `pulumi:"maxBody"`
}

func (ConfigArgs) ElementType

func (ConfigArgs) ElementType() reflect.Type

func (ConfigArgs) ToConfigOutput

func (i ConfigArgs) ToConfigOutput() ConfigOutput

func (ConfigArgs) ToConfigOutputWithContext

func (i ConfigArgs) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

type ConfigInput

type ConfigInput interface {
	pulumi.Input

	ToConfigOutput() ConfigOutput
	ToConfigOutputWithContext(context.Context) ConfigOutput
}

ConfigInput is an input type that accepts ConfigArgs and ConfigOutput values. You can construct a concrete instance of `ConfigInput` via:

ConfigArgs{...}

type ConfigOutput

type ConfigOutput struct{ *pulumi.OutputState }

func (ConfigOutput) AccessToken

func (o ConfigOutput) AccessToken() pulumi.StringOutput

func (ConfigOutput) AccountKey

func (o ConfigOutput) AccountKey() pulumi.StringPtrOutput

func (ConfigOutput) ClientSecret

func (o ConfigOutput) ClientSecret() pulumi.StringOutput

func (ConfigOutput) ClientToken

func (o ConfigOutput) ClientToken() pulumi.StringOutput

func (ConfigOutput) ElementType

func (ConfigOutput) ElementType() reflect.Type

func (ConfigOutput) Host

func (o ConfigOutput) Host() pulumi.StringOutput

func (ConfigOutput) MaxBody

func (o ConfigOutput) MaxBody() pulumi.IntPtrOutput

func (ConfigOutput) ToConfigOutput

func (o ConfigOutput) ToConfigOutput() ConfigOutput

func (ConfigOutput) ToConfigOutputWithContext

func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput

Jump to

Keyboard shortcuts

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