config

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 63 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{}/* 160 elements not displayed */

ExternalNameNotTestedConfigs contains no-tested configurations for this provider.

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

NoForkExternalNameConfigs 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) (*tjconfig.Provider, error)

GetProvider returns provider configuration

func NoForkResourceList added in v0.41.0

func NoForkResourceList() []string

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

func ResourceConfigurator added in v0.41.0

func ResourceConfigurator() config.ResourceOption

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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