Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
e2etest
command
Command e2etest fetches one of each resource type from a real Serval instance, runs direct generation to produce state + HCL, and writes the output to a workspace that can be verified with `tofu plan -refresh-only`.
|
Command e2etest fetches one of each resource type from a real Serval instance, runs direct generation to produce state + HCL, and writes the output to a workspace that can be verified with `tofu plan -refresh-only`. |
|
testgen
command
Command testgen exercises the pkg/export API by reading the directgen test fixtures, generating Terraform state + HCL via the direct generation pipeline, and writing the output to a test workspace directory.
|
Command testgen exercises the pkg/export API by reading the directgen test fixtures, generating Terraform state + HCL via the direct generation pipeline, and writing the output to a test workspace directory. |
|
cache
Package cache provides a simple prefetch-based caching layer for the Serval Terraform provider.
|
Package cache provides a simple prefetch-based caching layer for the Serval Terraform provider. |
|
directgen
Package directgen provides direct generation of Terraform state files and HCL configuration from raw API JSON, bypassing OpenTofu's import pipeline.
|
Package directgen provides direct generation of Terraform state files and HCL configuration from raw API JSON, bypassing OpenTofu's import pipeline. |
|
hclcodec
Package hclcodec provides reflection-based generation of HCL resource blocks from Terraform provider model structs.
|
Package hclcodec provides reflection-based generation of HCL resource blocks from Terraform provider model structs. |
|
statecodec
Package statecodec provides reflection-based serialization of Terraform provider model structs to the JSON attributes format used in terraform.tfstate files.
|
Package statecodec provides reflection-based serialization of Terraform provider model structs to the JSON attributes format used in terraform.tfstate files. |
|
pkg
|
|
|
export
Package export provides a public API for generating Terraform state files and HCL configuration directly from raw Serval API JSON responses.
|
Package export provides a public API for generating Terraform state files and HCL configuration directly from raw Serval API JSON responses. |
Click to show internal directories.
Click to hide internal directories.