config

package
v1.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLIReconciledExternalNameConfigs = map[string]config.ExternalName{}
View Source
var ExternalNameNotTestedConfigs = map[string]config.ExternalName{}/* 157 elements not displayed */

ExternalNameNotTestedConfigs contains no-tested configurations for this provider.

View Source
var ProviderConfiguration = Configurator{}

ProviderConfiguration is a global registry to be used by the resource providers to register their Config functions.

View Source
var TerraformPluginSDKExternalNameConfigs = map[string]config.ExternalName{}/* 734 elements not displayed */

TerraformPluginSDKExternalNameConfigs contains all external name configurations belonging to Terraform resources to be reconciled under the no-fork architecture for this provider.

Functions

func CLIReconciledResourceList added in v0.41.0

func CLIReconciledResourceList() []string

CLIReconciledResourceList returns the list of resources that have external name configured in ExternalNameConfigs table and to be reconciled under the TF CLI based architecture.

func GetProvider

func GetProvider(ctx context.Context, generationProvider bool) (*ujconfig.Provider, error)

GetProvider returns provider configuration

func ResourceConfigurator added in v0.41.0

func ResourceConfigurator() config.ResourceOption

ResourceConfigurator applies all external name configs listed in the table TerraformPluginSDKExternalNameConfigs and CLIReconciledExternalNameConfigs and sets the version of those resources to v1beta1. For those resource in TerraformPluginSDKExternalNameConfigs, it also sets config.Resource.UseNoForkClient to `true`.

func TerraformPluginSDKResourceList added in v0.42.1

func TerraformPluginSDKResourceList() []string

TerraformPluginSDKResourceList returns the list of resources that have external name configured in ExternalNameConfigs table and to be reconciled under the no-fork architecture.

Types

type Configurator added in v1.0.1

type Configurator []Configure

Configurator is a registry for provider Configs.

func (*Configurator) AddConfig added in v1.0.1

func (c *Configurator) AddConfig(conf Configure)

AddConfig adds a Config to the Configurator registry.

type Configure added in v1.0.1

type Configure func(provider *config.Provider)

Configure configures the specified Provider.

Jump to

Keyboard shortcuts

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