Documentation ¶
Overview ¶
package yaml2pcl provides a method to convert k8s yaml to PCL (pulumi schema)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDirectory ¶
ConvertDirectory returns a string conversion of the input directory with YAML manifests into PCL: sample below Output: resource foo "kubernetes:core/v1:Namespace" { apiVersion = "v1" kind = "Namespace" metadata = { name = "foo" } }
func ConvertFile ¶
ConvertFile returns a string conversion of the input YAML in a file into PCL: sample below Output: resource foo "kubernetes:core/v1:Namespace" { apiVersion = "v1" kind = "Namespace" metadata = { name = "foo" } }
Types ¶
Click to show internal directories.
Click to hide internal directories.