Documentation ¶
Overview ¶
Package mapper includes the types and methods for mapping provider, resource, and data source types (explorer package) from an OpenAPI specification into Provider Code Specification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSourceMapper ¶
type DataSourceMapper interface {
MapToIR(*slog.Logger) ([]datasource.DataSource, error)
}
func NewDataSourceMapper ¶
func NewDataSourceMapper(dataSources map[string]explorer.DataSource, cfg config.Config) DataSourceMapper
type ProviderMapper ¶
func NewProviderMapper ¶
func NewProviderMapper(exploredProvider explorer.Provider, cfg config.Config) ProviderMapper
type ResourceMapper ¶
func NewResourceMapper ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package attrmapper contains types and methods that provide an intermediate step between the OpenAPI schema types (libopenapi) and the Provider Code Specification types (terraform-plugin-codegen-spec).
|
Package attrmapper contains types and methods that provide an intermediate step between the OpenAPI schema types (libopenapi) and the Provider Code Specification types (terraform-plugin-codegen-spec). |
Package frameworkvalidators contains functionality for mapping validations onto specification that uses terraform-plugin-framework-validators.
|
Package frameworkvalidators contains functionality for mapping validations onto specification that uses terraform-plugin-framework-validators. |
Package oas contains the logic that determines how to map OpenAPI schemas to the intermediate attrmapper types.
|
Package oas contains the logic that determines how to map OpenAPI schemas to the intermediate attrmapper types. |
Click to show internal directories.
Click to hide internal directories.