Documentation
¶
Overview ¶
Package tfgen renders deterministic Podplane-managed OpenTofu/Terraform files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteCluster ¶
func WriteCluster(configPath string, cfg *clusterconfig.ClusterConfig) error
WriteCluster writes managed Terraform files for a cluster config path.
func WriteFiles ¶
WriteFiles writes managed Terraform files with the Podplane header.
Types ¶
type File ¶
File is one managed Terraform file to write.
func GenerateCluster ¶
func GenerateCluster(configPath string, cfg *clusterconfig.ClusterConfig) ([]File, error)
GenerateCluster renders managed Terraform files for a cluster config path.
func GenerateOIDC ¶
func GenerateOIDC(cfg *oidcconfig.Config) ([]File, error)
GenerateOIDC renders managed Terraform files for an OIDC config.
Click to show internal directories.
Click to hide internal directories.