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 Convert ¶
Convert returns a string conversion of the input YAML as a byte array into PCL: sample below Output: resource foo "kubernetes:core/v1:Namespace" { apiVersion = "v1" kind = "Namespace" metadata = { name = "foo" } }
func ConvertDirectory ¶
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.