Documentation ¶
Index ¶
- func StarlarkIntToInt64(starInt starlark.Int) int64
- func StarlarkValueToGoMap(val starlark.Value) (map[string]string, error)
- func StarlarkValueToMap(v starlark.Value) (map[string]any, error)
- func StarlarkValueToUnstructured(v starlark.Value) (runtime.Unstructured, error)
- func UnstructuredToStarlarkValue(u runtime.Unstructured) (starlark.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StarlarkIntToInt64 ¶
StarlarkIntToInt64 converts a starlark.Int to a Go int64 safely.
func StarlarkValueToGoMap ¶
func StarlarkValueToUnstructured ¶
func StarlarkValueToUnstructured(v starlark.Value) (runtime.Unstructured, error)
Example usage: Create an unstructured.Unstructured from a starlark.Dict.
func UnstructuredToStarlarkValue ¶
func UnstructuredToStarlarkValue(u runtime.Unstructured) (starlark.Value, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.