Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProvider ¶
func GetProvider(sdkProvider *schema.Provider, fwProvider fwprovider.Provider, generationProvider bool) (*ujconfig.Provider, error)
GetProvider returns the cluster-scoped provider configuration. sdkProvider and fwProvider are the in-process Terraform providers the resources are reconciled with. terraformPluginSDKExternalNameConfigs and terraformPluginFrameworkExternalNameConfigs assign each resource to one of them, and upjet panics when a framework resource is missing from fwProvider or, outside code generation, a plugin SDK resource is missing from sdkProvider. generationProvider selects the code generation flavour: the plugin SDK resources are then described by the JSON schema instead of the live Go schema (see codegenSDKProvider) and the schema-mutating configurators in codegen.go run.
func GetProviderNamespaced ¶
func GetProviderNamespaced(sdkProvider *schema.Provider, fwProvider fwprovider.Provider, generationProvider bool) (*ujconfig.Provider, error)
GetProviderNamespaced returns the namespaced provider configuration. See GetProvider for the arguments.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package common holds resource configuration helpers shared by the cluster-scoped and the namespaced configurators.
|
Package common holds resource configuration helpers shared by the cluster-scoped and the namespaced configurators. |
|
Package templates holds the code generation templates that override the upjet defaults.
|
Package templates holds the code generation templates that override the upjet defaults. |