package
0.9.5
Repository: https://github.com/shalb/cluster.dev.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CreateTokensForOutput create slice of tokens, from splitted by dot substrings of in.
InterfaceToCty convert go type to cty.Value(for hlc lib), using hack with JSON marshal/unmarshal.
IsInlineStruct looks at the json tag of the given StructField, to determine if it has been marked as "inline" e.g.
IsZero reports whether is considered the zero / empty / unset value fo the type.
No description provided by the author
No description provided by the author
NewObjectWalker returns a new ObjectWalker object dst is the hclwrite.Body where HCL blocks will be appended.
normalizeTerraformName converts the given string to snake case and optionally to singular form of the given word s is the string to normalize set toSingular to true to singularize the given word path is the full schema path to the named element Src: https://github.com/sl1pm4t/k2tf.
No description provided by the author
ReplaceStingMarkerInBody replace all substrings in TokenQuotedLit tokens to value as terraform expression.
No description provided by the author
ToTerraformResourceType converts a Kubernetes API Object Type name to the equivalent `terraform-provider-kubernetes` schema name.
No description provided by the author
WriteObject converts a Kubernetes runtime.Object to HCL.

# Structs

ObjectWalker implements reflectwalk.Walker interfaces It's used to "walk" the Kubernetes API Objects structure and generate an HCL document based on the values defined.